Lines Matching refs:protocol
838 __be16 protocol; member
854 __be16 protocol = skb->protocol; in efx_tso_check_protocol() local
857 protocol); in efx_tso_check_protocol()
858 if (protocol == htons(ETH_P_8021Q)) { in efx_tso_check_protocol()
860 protocol = veh->h_vlan_encapsulated_proto; in efx_tso_check_protocol()
863 if (protocol == htons(ETH_P_IP)) { in efx_tso_check_protocol()
864 EFX_BUG_ON_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP); in efx_tso_check_protocol()
866 EFX_BUG_ON_PARANOID(protocol != htons(ETH_P_IPV6)); in efx_tso_check_protocol()
873 return protocol; in efx_tso_check_protocol()
1026 if (st->protocol == htons(ETH_P_IP)) { in tso_start()
1184 if (st->protocol == htons(ETH_P_IP)) { in tso_start_new_packet()
1272 state.protocol = efx_tso_check_protocol(skb); in efx_enqueue_skb_tso()