Lines Matching refs:pkt
1846 const struct cpl_rx_pkt *pkt) in do_gro() argument
1873 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in do_gro()
1876 if (unlikely(pkt->vlan_ex)) { in do_gro()
1877 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in do_gro()
1902 const struct cpl_rx_pkt *pkt; in t4_ethrx_handler() local
1912 pkt = (const struct cpl_rx_pkt *)rsp; in t4_ethrx_handler()
1913 csum_ok = pkt->csum_calc && !pkt->err_vec && in t4_ethrx_handler()
1915 if ((pkt->l2info & htonl(RXF_TCP_F)) && in t4_ethrx_handler()
1917 (q->netdev->features & NETIF_F_GRO) && csum_ok && !pkt->ip_frag) { in t4_ethrx_handler()
1918 do_gro(rxq, si, pkt); in t4_ethrx_handler()
1933 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in t4_ethrx_handler()
1942 if (csum_ok && (pkt->l2info & htonl(RXF_UDP_F | RXF_TCP_F))) { in t4_ethrx_handler()
1943 if (!pkt->ip_frag) { in t4_ethrx_handler()
1946 } else if (pkt->l2info & htonl(RXF_IP_F)) { in t4_ethrx_handler()
1947 __sum16 c = (__force __sum16)pkt->csum; in t4_ethrx_handler()
1958 if (!(pkt->l2info & cpu_to_be32(CPL_RX_PKT_FLAGS))) { in t4_ethrx_handler()
1959 if ((pkt->l2info & cpu_to_be32(RXF_FCOE_F)) && in t4_ethrx_handler()
1961 if (!(pkt->err_vec & cpu_to_be16(RXERR_CSUM_F))) in t4_ethrx_handler()
1970 if (unlikely(pkt->vlan_ex)) { in t4_ethrx_handler()
1971 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in t4_ethrx_handler()