ib_mac_rsp 2340 drivers/staging/qlge/qlge.h void ql_dump_ib_mac_rsp(struct ib_mac_iocb_rsp *ib_mac_rsp); ib_mac_rsp 2341 drivers/staging/qlge/qlge.h #define QL_DUMP_IB_MAC_RSP(ib_mac_rsp) ql_dump_ib_mac_rsp(ib_mac_rsp) ib_mac_rsp 2343 drivers/staging/qlge/qlge.h #define QL_DUMP_IB_MAC_RSP(ib_mac_rsp) ib_mac_rsp 1927 drivers/staging/qlge/qlge_dbg.c void ql_dump_ib_mac_rsp(struct ib_mac_iocb_rsp *ib_mac_rsp) ib_mac_rsp 1930 drivers/staging/qlge/qlge_dbg.c pr_err("opcode = 0x%x\n", ib_mac_rsp->opcode); ib_mac_rsp 1932 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_OI ? "OI " : "", ib_mac_rsp 1933 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_I ? "I " : "", ib_mac_rsp 1934 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_TE ? "TE " : "", ib_mac_rsp 1935 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_NU ? "NU " : "", ib_mac_rsp 1936 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_IE ? "IE " : "", ib_mac_rsp 1937 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_B ? "B " : ""); ib_mac_rsp 1939 drivers/staging/qlge/qlge_dbg.c if (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) ib_mac_rsp 1941 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 1943 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 1945 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 1949 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) ? "P " : "", ib_mac_rsp 1950 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_V) ? "V " : "", ib_mac_rsp 1951 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) ? "U " : "", ib_mac_rsp 1952 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) ? "T " : "", ib_mac_rsp 1953 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_FO) ? "FO " : ""); ib_mac_rsp 1955 drivers/staging/qlge/qlge_dbg.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) ib_mac_rsp 1957 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) == ib_mac_rsp 1959 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) == ib_mac_rsp 1961 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) == ib_mac_rsp 1963 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) == ib_mac_rsp 1965 drivers/staging/qlge/qlge_dbg.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) == ib_mac_rsp 1969 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_DS ? "DS " : "", ib_mac_rsp 1970 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_DL ? "DL " : ""); ib_mac_rsp 1972 drivers/staging/qlge/qlge_dbg.c if (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_RSS_MASK) ib_mac_rsp 1974 drivers/staging/qlge/qlge_dbg.c ((ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_RSS_MASK) == ib_mac_rsp 1976 drivers/staging/qlge/qlge_dbg.c ((ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_RSS_MASK) == ib_mac_rsp 1978 drivers/staging/qlge/qlge_dbg.c ((ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_RSS_MASK) == ib_mac_rsp 1980 drivers/staging/qlge/qlge_dbg.c ((ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_RSS_MASK) == ib_mac_rsp 1984 drivers/staging/qlge/qlge_dbg.c le32_to_cpu(ib_mac_rsp->data_len)); ib_mac_rsp 1986 drivers/staging/qlge/qlge_dbg.c (unsigned long long) le64_to_cpu(ib_mac_rsp->data_addr)); ib_mac_rsp 1987 drivers/staging/qlge/qlge_dbg.c if (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_RSS_MASK) ib_mac_rsp 1989 drivers/staging/qlge/qlge_dbg.c le32_to_cpu(ib_mac_rsp->rss)); ib_mac_rsp 1990 drivers/staging/qlge/qlge_dbg.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_V) ib_mac_rsp 1992 drivers/staging/qlge/qlge_dbg.c le16_to_cpu(ib_mac_rsp->vlan_id)); ib_mac_rsp 1995 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HV ? "HV " : "", ib_mac_rsp 1996 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HS ? "HS " : "", ib_mac_rsp 1997 drivers/staging/qlge/qlge_dbg.c ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HL ? "HL " : ""); ib_mac_rsp 1999 drivers/staging/qlge/qlge_dbg.c if (ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HV) { ib_mac_rsp 2001 drivers/staging/qlge/qlge_dbg.c le32_to_cpu(ib_mac_rsp->hdr_len)); ib_mac_rsp 2003 drivers/staging/qlge/qlge_dbg.c (unsigned long long) le64_to_cpu(ib_mac_rsp->hdr_addr)); ib_mac_rsp 1472 drivers/staging/qlge/qlge_main.c struct ib_mac_iocb_rsp *ib_mac_rsp, ib_mac_rsp 1479 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_V) { ib_mac_rsp 1493 drivers/staging/qlge/qlge_main.c struct ib_mac_iocb_rsp *ib_mac_rsp, ib_mac_rsp 1502 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { ib_mac_rsp 1503 drivers/staging/qlge/qlge_main.c ql_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); ib_mac_rsp 1540 drivers/staging/qlge/qlge_main.c struct ib_mac_iocb_rsp *ib_mac_rsp, ib_mac_rsp 1562 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { ib_mac_rsp 1563 drivers/staging/qlge/qlge_main.c ql_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); ib_mac_rsp 1568 drivers/staging/qlge/qlge_main.c ql_update_mac_hdr_len(qdev, ib_mac_rsp, addr, &hlen); ib_mac_rsp 1596 drivers/staging/qlge/qlge_main.c !(ib_mac_rsp->flags1 & IB_MAC_CSUM_ERR_MASK)) { ib_mac_rsp 1598 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) { ib_mac_rsp 1602 drivers/staging/qlge/qlge_main.c } else if ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) && ib_mac_rsp 1603 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_V4)) { ib_mac_rsp 1633 drivers/staging/qlge/qlge_main.c struct ib_mac_iocb_rsp *ib_mac_rsp, ib_mac_rsp 1665 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { ib_mac_rsp 1666 drivers/staging/qlge/qlge_main.c ql_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); ib_mac_rsp 1688 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) { ib_mac_rsp 1691 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 1693 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 1695 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 1698 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) ib_mac_rsp 1711 drivers/staging/qlge/qlge_main.c !(ib_mac_rsp->flags1 & IB_MAC_CSUM_ERR_MASK)) { ib_mac_rsp 1713 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) { ib_mac_rsp 1717 drivers/staging/qlge/qlge_main.c } else if ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) && ib_mac_rsp 1718 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_V4)) { ib_mac_rsp 1760 drivers/staging/qlge/qlge_main.c struct ib_mac_iocb_rsp *ib_mac_rsp) ib_mac_rsp 1765 drivers/staging/qlge/qlge_main.c u32 length = le32_to_cpu(ib_mac_rsp->data_len); ib_mac_rsp 1766 drivers/staging/qlge/qlge_main.c u32 hdr_len = le32_to_cpu(ib_mac_rsp->hdr_len); ib_mac_rsp 1772 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HV && ib_mac_rsp 1773 drivers/staging/qlge/qlge_main.c ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HS) { ib_mac_rsp 1799 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_DS) { ib_mac_rsp 1800 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HS) { ib_mac_rsp 1843 drivers/staging/qlge/qlge_main.c } else if (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_DL) { ib_mac_rsp 1844 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HS) { ib_mac_rsp 1892 drivers/staging/qlge/qlge_main.c ql_update_mac_hdr_len(qdev, ib_mac_rsp, ib_mac_rsp 1915 drivers/staging/qlge/qlge_main.c if (!(ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HS)) { ib_mac_rsp 1950 drivers/staging/qlge/qlge_main.c ql_update_mac_hdr_len(qdev, ib_mac_rsp, lbq_desc->p.pg_chunk.va, ib_mac_rsp 1960 drivers/staging/qlge/qlge_main.c struct ib_mac_iocb_rsp *ib_mac_rsp, ib_mac_rsp 1966 drivers/staging/qlge/qlge_main.c QL_DUMP_IB_MAC_RSP(ib_mac_rsp); ib_mac_rsp 1968 drivers/staging/qlge/qlge_main.c skb = ql_build_rx_skb(qdev, rx_ring, ib_mac_rsp); ib_mac_rsp 1977 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_ERR_MASK) { ib_mac_rsp 1978 drivers/staging/qlge/qlge_main.c ql_categorize_rx_err(qdev, ib_mac_rsp->flags2, rx_ring); ib_mac_rsp 2000 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) { ib_mac_rsp 2002 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 2004 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 2006 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags1 & IB_MAC_IOCB_RSP_M_MASK) == ib_mac_rsp 2010 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_P) { ib_mac_rsp 2022 drivers/staging/qlge/qlge_main.c !(ib_mac_rsp->flags1 & IB_MAC_CSUM_ERR_MASK)) { ib_mac_rsp 2024 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T) { ib_mac_rsp 2028 drivers/staging/qlge/qlge_main.c } else if ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_U) && ib_mac_rsp 2029 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_V4)) { ib_mac_rsp 2055 drivers/staging/qlge/qlge_main.c struct ib_mac_iocb_rsp *ib_mac_rsp) ib_mac_rsp 2057 drivers/staging/qlge/qlge_main.c u32 length = le32_to_cpu(ib_mac_rsp->data_len); ib_mac_rsp 2058 drivers/staging/qlge/qlge_main.c u16 vlan_id = ((ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_V) && ib_mac_rsp 2060 drivers/staging/qlge/qlge_main.c ((le16_to_cpu(ib_mac_rsp->vlan_id) & ib_mac_rsp 2063 drivers/staging/qlge/qlge_main.c QL_DUMP_IB_MAC_RSP(ib_mac_rsp); ib_mac_rsp 2065 drivers/staging/qlge/qlge_main.c if (ib_mac_rsp->flags4 & IB_MAC_IOCB_RSP_HV) { ib_mac_rsp 2069 drivers/staging/qlge/qlge_main.c ql_process_mac_split_rx_intr(qdev, rx_ring, ib_mac_rsp, ib_mac_rsp 2071 drivers/staging/qlge/qlge_main.c } else if (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_DS) { ib_mac_rsp 2076 drivers/staging/qlge/qlge_main.c ql_process_mac_rx_skb(qdev, rx_ring, ib_mac_rsp, ib_mac_rsp 2078 drivers/staging/qlge/qlge_main.c } else if ((ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_DL) && ib_mac_rsp 2079 drivers/staging/qlge/qlge_main.c !(ib_mac_rsp->flags1 & IB_MAC_CSUM_ERR_MASK) && ib_mac_rsp 2080 drivers/staging/qlge/qlge_main.c (ib_mac_rsp->flags2 & IB_MAC_IOCB_RSP_T)) { ib_mac_rsp 2084 drivers/staging/qlge/qlge_main.c ql_process_mac_rx_gro_page(qdev, rx_ring, ib_mac_rsp, ib_mac_rsp 2086 drivers/staging/qlge/qlge_main.c } else if (ib_mac_rsp->flags3 & IB_MAC_IOCB_RSP_DL) { ib_mac_rsp 2090 drivers/staging/qlge/qlge_main.c ql_process_mac_rx_page(qdev, rx_ring, ib_mac_rsp, ib_mac_rsp 2096 drivers/staging/qlge/qlge_main.c ql_process_mac_split_rx_intr(qdev, rx_ring, ib_mac_rsp,