| /dpdk/lib/net/ |
| H A D | rte_net.c | 259 proto = vh->eth_proto; in rte_net_get_ptype() 271 proto = vh->eth_proto; in rte_net_get_ptype() 409 proto = vh->eth_proto; in rte_net_get_ptype() 422 proto = vh->eth_proto; in rte_net_get_ptype()
|
| H A D | rte_ether.h | 286 rte_be16_t eth_proto; /**< Ethernet type of encapsulated frame. */ member
|
| /dpdk/drivers/net/qede/ |
| H A D | qede_filter.c | 350 *ether_type = rte_cpu_to_be_16(arfs->tuple.eth_proto); in qede_arfs_construct_pkt() 351 switch (arfs->tuple.eth_proto) { in qede_arfs_construct_pkt() 417 arfs->tuple.eth_proto); in qede_arfs_construct_pkt() 812 flow->entry.tuple.eth_proto = in qede_flow_parse_pattern() 830 flow->entry.tuple.eth_proto = in qede_flow_parse_pattern()
|
| H A D | qede_ethdev.h | 179 uint16_t eth_proto; member
|
| H A D | qede_rxtx.c | 1093 ethertype = rte_cpu_to_be_16(vlan_hdr->eth_proto); in qede_rx_cqe_to_pkt_type_outer()
|
| /dpdk/app/test-pmd/ |
| H A D | 5tswap.c | 138 proto = h.vlan->eth_proto; in pkt_burst_5tuple_swap()
|
| H A D | icmpecho.c | 328 eth_type = rte_be_to_cpu_16(vlan_h->eth_proto); in reply_to_icmp_echo_rqsts()
|
| H A D | csumonly.c | 168 info->ethertype = vlan_hdr->eth_proto; in parse_ethernet()
|
| /dpdk/examples/bond/ |
| H A D | main.c | 331 *proto = vlan_hdr->eth_proto; in get_vlan_offset() 336 *proto = vlan_hdr->eth_proto; in get_vlan_offset()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_npc.h | 100 uint16_t eth_proto; /**< Ethernet type of encapsulated frame. */ member
|
| /dpdk/lib/pipeline/ |
| H A D | rte_table_action.c | 642 d->vlan.eth_proto = rte_htons(ethertype); in encap_vlan_apply() 666 d->svlan.eth_proto = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_qinq_apply() 672 d->cvlan.eth_proto = rte_htons(ethertype); in encap_qinq_apply() 692 d->svlan.eth_proto = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_qinq_pppoe_apply() 698 d->cvlan.eth_proto = rte_htons(RTE_ETHER_TYPE_PPPOE_SESSION); in encap_qinq_pppoe_apply() 787 d->vlan.eth_proto = rte_htons(RTE_ETHER_TYPE_IPV4); in encap_vxlan_apply() 865 d->vlan.eth_proto = rte_htons(RTE_ETHER_TYPE_IPV6); in encap_vxlan_apply()
|
| /dpdk/drivers/net/enic/ |
| H A D | enic_flow.c | 571 arg->l2_proto_off = *off + offsetof(struct rte_vlan_hdr, eth_proto); in enic_copy_item_inner_vlan_v2() 718 vlan->eth_proto = mask->inner_type; in enic_copy_item_vlan_v2() 720 vlan->eth_proto = spec->inner_type; in enic_copy_item_vlan_v2()
|
| /dpdk/app/test/ |
| H A D | packet_burst_generator.c | 69 vhdr->eth_proto = rte_cpu_to_be_16(ether_type); in initialize_eth_header()
|
| H A D | test_link_bonding.c | 5004 vlan_pkt->eth_proto = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in test_alb_receive_vlan_reply() 5007 vlan_pkt->eth_proto = rte_cpu_to_be_16(RTE_ETHER_TYPE_ARP); in test_alb_receive_vlan_reply() 5034 if (vlan_pkt->eth_proto != rte_cpu_to_be_16( in test_alb_receive_vlan_reply() 5044 if (vlan_pkt->eth_proto != rte_cpu_to_be_16( in test_alb_receive_vlan_reply()
|
| H A D | test_bpf.c | 1047 dn->vlan_hdr.eth_proto = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in test_jump2_prepare() 1074 eth_type = vlan_hdr->eth_proto; in test_jump2_check()
|
| /dpdk/app/test-flow-perf/ |
| H A D | actions_gen.c | 565 vlan_hdr.eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV4); in add_vlan_header() 567 vlan_hdr.eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV6); in add_vlan_header()
|
| /dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_tx.c | 792 eth_type = rte_be_to_cpu_16(vlan_hdr->eth_proto); in hinic_analyze_tx_info() 821 eth_type = rte_be_to_cpu_16(vlan_hdr->eth_proto); in hinic_analyze_outer_ip_vxlan()
|
| /dpdk/lib/ethdev/ |
| H A D | rte_flow.h | 940 .hdr.eth_proto = RTE_BE16(0x0000),
|
| /dpdk/drivers/net/mlx5/ |
| H A D | mlx5_rx.c | 998 proto = h.vlan->eth_proto; in mlx5_lro_update_hdr()
|
| H A D | mlx5_flow_dv.c | 2843 vlan->eth_proto = rte_be_to_cpu_16(vlan_v->inner_type & in flow_dev_get_vlan_info_from_items() 4158 if (vlan && !vlan->eth_proto) in flow_dv_convert_encap_data() 4159 vlan->eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV4); in flow_dv_convert_encap_data() 4176 if (vlan && !vlan->eth_proto) in flow_dv_convert_encap_data() 4177 vlan->eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV6); in flow_dv_convert_encap_data() 4280 proto = RTE_BE16(vlan->eth_proto); in flow_dv_zero_encap_udp_csum() 4477 rte_cpu_to_be_32(((uint32_t)vlan->eth_proto) << 16 | in flow_dv_create_action_push_vlan() 13225 vlan.eth_proto = rte_be_to_cpu_16 in flow_dv_translate()
|
| /dpdk/drivers/net/bonding/ |
| H A D | rte_eth_bond_pmd.c | 47 *proto = vlan_hdr->eth_proto; in get_vlan_offset() 51 *proto = vlan_hdr->eth_proto; in get_vlan_offset()
|
| /dpdk/lib/eventdev/ |
| H A D | rte_event_eth_rx_adapter.c | 714 switch (vlan_hdr->eth_proto) { in rxa_mtoip()
|
| /dpdk/lib/vhost/ |
| H A D | virtio_net.c | 2227 ethertype = rte_be_to_cpu_16(vlan_hdr->eth_proto); in parse_headers()
|
| /dpdk/drivers/net/sfc/ |
| H A D | sfc_mae.c | 3463 offsetof(struct rte_vlan_hdr, eth_proto); in sfc_mae_rule_parse_action_vxlan_encap()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_rxtx.c | 3776 if (vh->eth_proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) in hns3_vld_vlan_chk()
|