Home
last modified time | relevance | path

Searched refs:eth_proto (Results 1 – 25 of 25) sorted by relevance

/dpdk/lib/net/
H A Drte_net.c259 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 Drte_ether.h286 rte_be16_t eth_proto; /**< Ethernet type of encapsulated frame. */ member
/dpdk/drivers/net/qede/
H A Dqede_filter.c350 *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 Dqede_ethdev.h179 uint16_t eth_proto; member
H A Dqede_rxtx.c1093 ethertype = rte_cpu_to_be_16(vlan_hdr->eth_proto); in qede_rx_cqe_to_pkt_type_outer()
/dpdk/app/test-pmd/
H A D5tswap.c138 proto = h.vlan->eth_proto; in pkt_burst_5tuple_swap()
H A Dicmpecho.c328 eth_type = rte_be_to_cpu_16(vlan_h->eth_proto); in reply_to_icmp_echo_rqsts()
H A Dcsumonly.c168 info->ethertype = vlan_hdr->eth_proto; in parse_ethernet()
/dpdk/examples/bond/
H A Dmain.c331 *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 Droc_npc.h100 uint16_t eth_proto; /**< Ethernet type of encapsulated frame. */ member
/dpdk/lib/pipeline/
H A Drte_table_action.c642 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 Denic_flow.c571 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 Dpacket_burst_generator.c69 vhdr->eth_proto = rte_cpu_to_be_16(ether_type); in initialize_eth_header()
H A Dtest_link_bonding.c5004 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 Dtest_bpf.c1047 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 Dactions_gen.c565 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 Dhinic_pmd_tx.c792 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 Drte_flow.h940 .hdr.eth_proto = RTE_BE16(0x0000),
/dpdk/drivers/net/mlx5/
H A Dmlx5_rx.c998 proto = h.vlan->eth_proto; in mlx5_lro_update_hdr()
H A Dmlx5_flow_dv.c2843 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 Drte_eth_bond_pmd.c47 *proto = vlan_hdr->eth_proto; in get_vlan_offset()
51 *proto = vlan_hdr->eth_proto; in get_vlan_offset()
/dpdk/lib/eventdev/
H A Drte_event_eth_rx_adapter.c714 switch (vlan_hdr->eth_proto) { in rxa_mtoip()
/dpdk/lib/vhost/
H A Dvirtio_net.c2227 ethertype = rte_be_to_cpu_16(vlan_hdr->eth_proto); in parse_headers()
/dpdk/drivers/net/sfc/
H A Dsfc_mae.c3463 offsetof(struct rte_vlan_hdr, eth_proto); in sfc_mae_rule_parse_action_vxlan_encap()
/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c3776 if (vh->eth_proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) in hns3_vld_vlan_chk()