Searched refs:eth_type (Results 1 – 9 of 9) sorted by relevance
| /freebsd-14.2/sys/dev/virtio/network/ |
| H A D | virtio_net.h | 268 switch (eth_type) { in virtio_net_rx_csum_by_offset() 312 switch (eth_type) { in virtio_net_rx_csum_by_parse() 360 "csum_offset=%d\n", __func__, eth_type, proto, in virtio_net_rx_csum_by_parse() 384 uint16_t eth_type; in virtio_net_rx_csum() local 393 eth_type = ntohs(eh->ether_type); in virtio_net_rx_csum() 394 if (eth_type == ETHERTYPE_VLAN) { in virtio_net_rx_csum() 397 eth_type = ntohs(evh->evl_proto); in virtio_net_rx_csum() 403 error = virtio_net_rx_csum_by_offset(m, eth_type, offset, hdr); in virtio_net_rx_csum() 405 error = virtio_net_rx_csum_by_parse(m, eth_type, offset, hdr); in virtio_net_rx_csum() 466 virtio_net_tx_offload_tso(if_t ifp, struct mbuf *m, int eth_type, in virtio_net_tx_offload_tso() argument [all …]
|
| H A D | if_vtnet.c | 2429 vtnet_txq_offload_tso(struct vtnet_txq *txq, struct mbuf *m, int eth_type, in vtnet_txq_offload_tso() argument 2447 hdr->gso_type = eth_type == ETHERTYPE_IP ? VIRTIO_NET_HDR_GSO_TCPV4 : in vtnet_txq_offload_tso()
|
| /freebsd-14.2/sys/dev/mlx5/mlx5_en/ |
| H A D | mlx5_en_tx.c | 181 uint16_t eth_type; in mlx5e_get_l2_header_size() local 190 eth_type = ntohs(eh->evl_proto); in mlx5e_get_l2_header_size() 197 switch (eth_type) { in mlx5e_get_l2_header_size() 243 uint16_t eth_type; in mlx5e_get_full_header_size() local 259 switch (eth_type) { in mlx5e_get_full_header_size() 361 uint16_t eth_type; in mlx5e_get_vxlan_header_size() local 380 eth_type = eh->evl_proto; in mlx5e_get_vxlan_header_size() 383 eth_type = eh->evl_encap_proto; in mlx5e_get_vxlan_header_size() 387 switch (eth_type) { in mlx5e_get_vxlan_header_size() 451 eth_type = eh->evl_proto; in mlx5e_get_vxlan_header_size() [all …]
|
| /freebsd-14.2/sys/dev/qlnx/qlnxe/ |
| H A D | ecore_iwarp.c | 2017 u16 eth_type; in ecore_iwarp_parse_rx_pkt() local 2021 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() 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() local 2510 eth_type = ntohs(ethh->h_proto); in ecore_iwarp_mpa_print_tcp_seq() 2511 if (eth_type == ETH_P_8021Q) { in ecore_iwarp_mpa_print_tcp_seq() 2521 if (eth_type == ETH_P_IP) { in ecore_iwarp_mpa_print_tcp_seq() [all …]
|
| /freebsd-14.2/sys/dev/mlx4/mlx4_en/ |
| H A D | mlx4_en_tx.c | 506 uint16_t eth_type; in mlx4_en_get_header_size() local 513 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()
|
| /freebsd-14.2/sys/netinet/ |
| H A D | tcp_lro.c | 234 uint16_t eth_type; in tcp_lro_low_level_parser() local 253 eth_type = eh->evl_proto; in tcp_lro_low_level_parser() 262 eth_type = eh->evl_encap_proto; in tcp_lro_low_level_parser() 269 switch (eth_type) { in tcp_lro_low_level_parser()
|
| /freebsd-14.2/tools/bus_space/examples/ |
| H A D | am79c900_diag.py | 299 pkt.eth_type = 0x0800
|
| /freebsd-14.2/sys/dev/cxgb/ |
| H A D | cxgb_sge.c | 1456 uint16_t eth_type; in t3_encap() local 1485 eth_type = eh->ether_type; in t3_encap() 1486 if (eth_type == htons(ETHERTYPE_VLAN)) { in t3_encap() 1491 eth_type = evh->evl_proto; in t3_encap() 1497 if (eth_type == htons(ETHERTYPE_IP)) { in t3_encap() 1502 } else if (eth_type == htons(ETHERTYPE_IPV6)) { in t3_encap()
|
| /freebsd-14.2/sys/dev/bnxt/bnxt_re/ |
| H A D | ib_verbs.c | 4263 u16 eth_type; in bnxt_re_is_loopback_packet() local 4276 eth_type = ntohs(eth_hdr->h_proto); in bnxt_re_is_loopback_packet() 4277 switch (eth_type) { in bnxt_re_is_loopback_packet() 4296 u16 eth_type; in bnxt_re_is_vlan_in_packet() local 4301 eth_type = ntohs(eth_hdr->h_proto); in bnxt_re_is_vlan_in_packet() 4302 if (eth_type == ETH_P_8021Q) { in bnxt_re_is_vlan_in_packet() 4307 (eth_type << in bnxt_re_is_vlan_in_packet()
|