Lines Matching refs:protocol
837 __be16 protocol; member
853 __be16 protocol = skb->protocol; in efx_tso_check_protocol() local
856 protocol); in efx_tso_check_protocol()
857 if (protocol == htons(ETH_P_8021Q)) { in efx_tso_check_protocol()
859 protocol = veh->h_vlan_encapsulated_proto; in efx_tso_check_protocol()
862 if (protocol == htons(ETH_P_IP)) { in efx_tso_check_protocol()
863 EFX_BUG_ON_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP); in efx_tso_check_protocol()
865 EFX_BUG_ON_PARANOID(protocol != htons(ETH_P_IPV6)); in efx_tso_check_protocol()
872 return protocol; in efx_tso_check_protocol()
1025 if (st->protocol == htons(ETH_P_IP)) { in tso_start()
1183 if (st->protocol == htons(ETH_P_IP)) { in tso_start_new_packet()
1271 state.protocol = efx_tso_check_protocol(skb); in efx_enqueue_skb_tso()