Lines Matching refs:protocol
70 __be16 protocol; member
145 __be16 protocol = skb->protocol; in efx_tso_check_protocol() local
148 protocol); in efx_tso_check_protocol()
149 if (protocol == htons(ETH_P_8021Q)) { in efx_tso_check_protocol()
152 protocol = veh->h_vlan_encapsulated_proto; in efx_tso_check_protocol()
155 if (protocol == htons(ETH_P_IP)) { in efx_tso_check_protocol()
156 EFX_WARN_ON_ONCE_PARANOID(ip_hdr(skb)->protocol != IPPROTO_TCP); in efx_tso_check_protocol()
158 EFX_WARN_ON_ONCE_PARANOID(protocol != htons(ETH_P_IPV6)); in efx_tso_check_protocol()
165 return protocol; in efx_tso_check_protocol()
183 if (st->protocol == htons(ETH_P_IP)) { in tso_start()
376 state.protocol = efx_tso_check_protocol(skb); in efx_enqueue_skb_tso()