Home
last modified time | relevance | path

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

/f-stack/dpdk/lib/librte_net/
H A Drte_net.c258 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 Drte_ether.h277 uint16_t eth_proto;/**< Ethernet type of encapsulated frame. */ member
/f-stack/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.c1096 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 D5tswap.c138 proto = h.vlan->eth_proto; in pkt_burst_5tuple_swap()
H A Dicmpecho.c329 eth_type = rte_be_to_cpu_16(vlan_h->eth_proto); in reply_to_icmp_echo_rqsts()
H A Dcsumonly.c162 info->ethertype = vlan_hdr->eth_proto; in parse_ethernet()
/f-stack/dpdk/examples/bond/
H A Dmain.c334 *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 Drte_table_action.c644 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 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()
/f-stack/dpdk/app/test-flow-perf/
H A Dactions_gen.c570 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 Dpacket_burst_generator.c68 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.c1019 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 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()
/f-stack/lib/
H A Dff_dpdk_if.c1174 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 Dmlx5_flow_dv.c2123 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 Dmlx5_rxtx.c1582 proto = h.vlan->eth_proto; in mlx5_lro_update_hdr()
/f-stack/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()
/f-stack/dpdk/lib/librte_eventdev/
H A Drte_event_eth_rx_adapter.c633 switch (vlan_hdr->eth_proto) { in rxa_mtoip()
/f-stack/dpdk/lib/librte_vhost/
H A Dvirtio_net.c1812 ethertype = rte_be_to_cpu_16(vlan_hdr->eth_proto); in parse_ethernet()
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_rxtx.c3269 if (vh->eth_proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) in hns3_vld_vlan_chk()