| /f-stack/dpdk/lib/librte_net/ |
| H A D | rte_net.c | 258 proto = vh->eth_proto; in rte_net_get_ptype() 270 proto = vh->eth_proto; in rte_net_get_ptype() 408 proto = vh->eth_proto; in rte_net_get_ptype() 421 proto = vh->eth_proto; in rte_net_get_ptype()
|
| H A D | rte_ether.h | 277 uint16_t eth_proto;/**< Ethernet type of encapsulated frame. */ member
|
| /f-stack/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 | 1096 ethertype = rte_cpu_to_be_16(vlan_hdr->eth_proto); in qede_rx_cqe_to_pkt_type_outer()
|
| /f-stack/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 | 329 eth_type = rte_be_to_cpu_16(vlan_h->eth_proto); in reply_to_icmp_echo_rqsts()
|
| H A D | csumonly.c | 162 info->ethertype = vlan_hdr->eth_proto; in parse_ethernet()
|
| /f-stack/dpdk/examples/bond/ |
| H A D | main.c | 334 *proto = vlan_hdr->eth_proto; in get_vlan_offset() 339 *proto = vlan_hdr->eth_proto; in get_vlan_offset()
|
| /f-stack/dpdk/lib/librte_pipeline/ |
| H A D | rte_table_action.c | 644 d->vlan.eth_proto = rte_htons(ethertype); in encap_vlan_apply() 668 d->svlan.eth_proto = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_qinq_apply() 674 d->cvlan.eth_proto = rte_htons(ethertype); in encap_qinq_apply() 694 d->svlan.eth_proto = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_qinq_pppoe_apply() 700 d->cvlan.eth_proto = rte_htons(RTE_ETHER_TYPE_PPPOE_SESSION); in encap_qinq_pppoe_apply() 789 d->vlan.eth_proto = rte_htons(RTE_ETHER_TYPE_IPV4); in encap_vxlan_apply() 867 d->vlan.eth_proto = rte_htons(RTE_ETHER_TYPE_IPV6); in encap_vxlan_apply()
|
| /f-stack/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()
|
| /f-stack/dpdk/app/test-flow-perf/ |
| H A D | actions_gen.c | 570 vlan_hdr.eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV4); in add_vlan_header() 572 vlan_hdr.eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV6); in add_vlan_header()
|
| /f-stack/dpdk/app/test/ |
| H A D | packet_burst_generator.c | 68 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 | 1019 dn->vlan_hdr.eth_proto = rte_cpu_to_be_16(RTE_ETHER_TYPE_IPV4); in test_jump2_prepare() 1046 eth_type = vlan_hdr->eth_proto; in test_jump2_check()
|
| /f-stack/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()
|
| /f-stack/lib/ |
| H A D | ff_dpdk_if.c | 1174 ether_type = rte_be_to_cpu_16(vlanhdr->eth_proto); in protocol_filter() 1306 vlanhdr->eth_proto = etherhdr->ether_type;
|
| /f-stack/dpdk/drivers/net/mlx5/ |
| H A D | mlx5_flow_dv.c | 2123 vlan->eth_proto = rte_be_to_cpu_16(vlan_v->inner_type & in flow_dev_get_vlan_info_from_items() 3256 if (vlan && !vlan->eth_proto) in flow_dv_convert_encap_data() 3257 vlan->eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV4); in flow_dv_convert_encap_data() 3274 if (vlan && !vlan->eth_proto) in flow_dv_convert_encap_data() 3275 vlan->eth_proto = RTE_BE16(RTE_ETHER_TYPE_IPV6); in flow_dv_convert_encap_data() 3378 proto = RTE_BE16(vlan->eth_proto); in flow_dv_zero_encap_udp_csum() 3575 rte_cpu_to_be_32(((uint32_t)vlan->eth_proto) << 16 | in flow_dv_create_action_push_vlan() 9918 vlan.eth_proto = rte_be_to_cpu_16 in flow_dv_translate()
|
| H A D | mlx5_rxtx.c | 1582 proto = h.vlan->eth_proto; in mlx5_lro_update_hdr()
|
| /f-stack/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()
|
| /f-stack/dpdk/lib/librte_eventdev/ |
| H A D | rte_event_eth_rx_adapter.c | 633 switch (vlan_hdr->eth_proto) { in rxa_mtoip()
|
| /f-stack/dpdk/lib/librte_vhost/ |
| H A D | virtio_net.c | 1812 ethertype = rte_be_to_cpu_16(vlan_hdr->eth_proto); in parse_ethernet()
|
| /f-stack/dpdk/drivers/net/hns3/ |
| H A D | hns3_rxtx.c | 3269 if (vh->eth_proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) in hns3_vld_vlan_chk()
|