Searched refs:eth_type (Results 1 – 11 of 11) sorted by relevance
182 uint16_t eth_type; in mlx5e_get_l2_header_size() 191 eth_type = ntohs(eh->evl_proto); in mlx5e_get_l2_header_size() 194 eth_type = ntohs(eh->evl_encap_proto); in mlx5e_get_l2_header_size() 198 switch (eth_type) { in mlx5e_get_l2_header_size() 244 uint16_t eth_type; in mlx5e_get_full_header_size() 253 eth_type = ntohs(eh->evl_proto); in mlx5e_get_full_header_size() 256 eth_type = ntohs(eh->evl_encap_proto); in mlx5e_get_full_header_size() 260 switch (eth_type) { in mlx5e_get_full_header_size() 362 uint16_t eth_type; in mlx5e_get_vxlan_header_size() 381 eth_type in mlx5e_get_vxlan_header_size() 181 uint16_t eth_type; mlx5e_get_l2_header_size() local 243 uint16_t eth_type; mlx5e_get_full_header_size() local 361 uint16_t eth_type; mlx5e_get_vxlan_header_size() local [all...]
32 __be16 eth_type; member
167 size_t r1042_eth_ofs = offsetof(struct rfc1042_hdr, eth_type); in ath12k_wow_convert_8023_to_80211()
466 virtio_net_tx_offload_tso(struct ifnet *ifp, struct mbuf *m, int eth_type, in virtio_net_tx_offload_tso() argument490 hdr->gso_type = eth_type == ETHERTYPE_IP ? VIRTIO_NET_HDR_GSO_TCPV4 : in virtio_net_tx_offload_tso()
2017 u16 eth_type; in ecore_iwarp_parse_rx_pkt() local2021 eth_type = ntohs(ethh->h_proto); in ecore_iwarp_parse_rx_pkt()2022 if (eth_type == ETH_P_8021Q) { in ecore_iwarp_parse_rx_pkt()2026 eth_type = ntohs(vethh->h_vlan_encapsulated_proto); in ecore_iwarp_parse_rx_pkt()2040 eth_type, ethh->h_source[0], ethh->h_source[1], in ecore_iwarp_parse_rx_pkt()2051 if (eth_type == ETH_P_IP) { in ecore_iwarp_parse_rx_pkt()2066 } else if (eth_type == ETH_P_IPV6) { in ecore_iwarp_parse_rx_pkt()2088 "Unexpected ethertype on ll2 %x\n", eth_type); in ecore_iwarp_parse_rx_pkt()2503 u16 eth_type; in ecore_iwarp_mpa_print_tcp_seq() local2510 eth_type = ntohs(ethh->h_proto); in ecore_iwarp_mpa_print_tcp_seq()[all …]
506 uint16_t eth_type; in mlx4_en_get_header_size() local513 eth_type = ntohs(eh->evl_proto); in mlx4_en_get_header_size()516 eth_type = ntohs(eh->evl_encap_proto); in mlx4_en_get_header_size()521 switch (eth_type) { in mlx4_en_get_header_size()
245 uint16_t eth_type; in tcp_lro_low_level_parser() local264 eth_type = eh->evl_proto; in tcp_lro_low_level_parser()273 eth_type = eh->evl_encap_proto; in tcp_lro_low_level_parser()280 switch (eth_type) { in tcp_lro_low_level_parser()
299 pkt.eth_type = 0x0800
1453 uint16_t eth_type; in t3_encap() local1482 eth_type = eh->ether_type; in t3_encap()1483 if (eth_type == htons(ETHERTYPE_VLAN)) { in t3_encap()1488 eth_type = evh->evl_proto; in t3_encap()1494 if (eth_type == htons(ETHERTYPE_IP)) { in t3_encap()1499 } else if (eth_type == htons(ETHERTYPE_IPV6)) { in t3_encap()
4250 u16 eth_type; in bnxt_re_is_loopback_packet() local4263 eth_type = ntohs(eth_hdr->h_proto); in bnxt_re_is_loopback_packet()4264 switch (eth_type) { in bnxt_re_is_loopback_packet()4283 u16 eth_type; in bnxt_re_is_vlan_in_packet() local4288 eth_type = ntohs(eth_hdr->h_proto); in bnxt_re_is_vlan_in_packet()4289 if (eth_type == ETH_P_8021Q) { in bnxt_re_is_vlan_in_packet()4294 (eth_type << in bnxt_re_is_vlan_in_packet()
2281 u16 eth_type = 0; in is_valid_ethertype() local2291 eth_type = ntohs(ib_spec->eth.val.ether_type); in is_valid_ethertype()2301 ipv4_spec_valid = (eth_type == ETH_P_IP) && in is_valid_ethertype()2303 ipv6_spec_valid = (eth_type == ETH_P_IPV6) && in is_valid_ethertype()