Lines Matching refs:pkt
1797 const struct cpl_rx_pkt *pkt) in do_gro() argument
1819 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in do_gro()
1822 if (unlikely(pkt->vlan_ex)) { in do_gro()
1823 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in do_gro()
1848 const struct cpl_rx_pkt *pkt; in t4_ethrx_handler() local
1860 pkt = (const struct cpl_rx_pkt *)rsp; in t4_ethrx_handler()
1861 csum_ok = pkt->csum_calc && !pkt->err_vec && in t4_ethrx_handler()
1863 if ((pkt->l2info & htonl(RXF_TCP_F)) && in t4_ethrx_handler()
1865 (q->netdev->features & NETIF_F_GRO) && csum_ok && !pkt->ip_frag) { in t4_ethrx_handler()
1866 do_gro(rxq, si, pkt); in t4_ethrx_handler()
1881 skb_set_hash(skb, (__force u32)pkt->rsshdr.hash_val, in t4_ethrx_handler()
1886 if (csum_ok && (pkt->l2info & htonl(RXF_UDP_F | RXF_TCP_F))) { in t4_ethrx_handler()
1887 if (!pkt->ip_frag) { in t4_ethrx_handler()
1890 } else if (pkt->l2info & htonl(RXF_IP_F)) { in t4_ethrx_handler()
1891 __sum16 c = (__force __sum16)pkt->csum; in t4_ethrx_handler()
1903 if (!(pkt->l2info & cpu_to_be32(CPL_RX_PKT_FLAGS))) { in t4_ethrx_handler()
1904 if ((pkt->l2info & cpu_to_be32(RXF_FCOE_F)) && in t4_ethrx_handler()
1906 if (!(pkt->err_vec & cpu_to_be16(RXERR_CSUM_F))) in t4_ethrx_handler()
1915 if (unlikely(pkt->vlan_ex)) { in t4_ethrx_handler()
1916 __vlan_hwaccel_put_tag(skb, htons(ETH_P_8021Q), ntohs(pkt->vlan)); in t4_ethrx_handler()