Home
last modified time | relevance | path

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

12

/dpdk/lib/net/
H A Drte_ether.h296 #define RTE_ETHER_TYPE_VLAN 0x8100 /**< IEEE 802.1Q VLAN tagging. */ macro
330 if (eh->ether_type != rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) in rte_vlan_strip()
376 nh->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in rte_vlan_insert()
H A Drte_net.c249 if (proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) { in rte_net_get_ptype()
398 if (proto == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) { in rte_net_get_ptype()
/dpdk/drivers/net/octeontx/
H A Docteontx_ethdev_ops.c93 fltr_entry.vlan_tpid = RTE_ETHER_TYPE_VLAN; in octeontx_dev_vlan_filter_set()
159 fltr_entry.vlan_tpid = RTE_ETHER_TYPE_VLAN; in octeontx_dev_vlan_offload_fini()
/dpdk/drivers/net/ice/
H A Dice_dcf_vf_representor.c355 tpid != RTE_ETHER_TYPE_VLAN && in ice_dcf_vf_repr_vlan_tpid_set()
419 repr->outer_vlan_info.tpid = RTE_ETHER_TYPE_VLAN; in ice_dcf_vf_repr_init()
/dpdk/examples/bond/
H A Dmain.c326 if (rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN) == *proto) { in get_vlan_offset()
333 if (rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN) == *proto) { in get_vlan_offset()
407 if (ether_type == rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN)) in lcore_main()
/dpdk/app/test-pmd/
H A D5tswap.c136 while (proto == RTE_BE16(RTE_ETHER_TYPE_VLAN) || in pkt_burst_5tuple_swap()
H A Dicmpecho.c324 if (eth_type == RTE_ETHER_TYPE_VLAN) { in reply_to_icmp_echo_rqsts()
H A Dcsumonly.c163 while (info->ethertype == _htons(RTE_ETHER_TYPE_VLAN) || in parse_ethernet()
H A Dcmdline_flow.c7631 eth.type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in parse_vc_action_l2_encap()
7695 eth.type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in parse_vc_action_l2_decap()
7771 eth.type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in parse_vc_action_mplsogre_encap()
7866 eth.type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in parse_vc_action_mplsogre_decap()
7965 eth.type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in parse_vc_action_mplsoudp_encap()
8062 eth.type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in parse_vc_action_mplsoudp_decap()
10931 proto = RTE_ETHER_TYPE_VLAN; in cmd_set_raw_parsed()
/dpdk/drivers/net/bonding/
H A Drte_eth_bond_alb.c219 eth_h->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in bond_mode_alb_arp_upd()
/dpdk/drivers/net/cxgbe/
H A Dcxgbe_flow.c81 case RTE_ETHER_TYPE_VLAN: in cxgbe_tweak_filter_spec()
256 if (fs->val.ethtype != RTE_ETHER_TYPE_VLAN && in ch_rte_parsetype_vlan()
708 if (be16_to_cpu(pushvlan->ethertype) != RTE_ETHER_TYPE_VLAN) in ch_rte_parse_atype_switch()
/dpdk/app/test/
H A Dpacket_burst_generator.c67 eth_hdr->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in initialize_eth_header()
H A Dtest_link_bonding.c5001 RTE_ETHER_TYPE_VLAN, 0, 0); in test_alb_receive_vlan_reply()
5004 vlan_pkt->eth_proto = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in test_alb_receive_vlan_reply()
5035 RTE_ETHER_TYPE_VLAN)) { in test_alb_receive_vlan_reply()
/dpdk/lib/pipeline/
H A Drte_table_action.c636 d->ether.ether_type = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_vlan_apply()
666 d->svlan.eth_proto = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_qinq_apply()
686 d->ether.ether_type = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_qinq_pppoe_apply()
692 d->svlan.eth_proto = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_qinq_pppoe_apply()
781 d->ether.ether_type = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_vxlan_apply()
859 d->ether.ether_type = rte_htons(RTE_ETHER_TYPE_VLAN); in encap_vxlan_apply()
/dpdk/lib/pcapng/
H A Drte_pcapng.c440 if (pcapng_vlan_insert(mc, RTE_ETHER_TYPE_VLAN, in rte_pcapng_copy()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_tx.c789 if (eth_type == RTE_ETHER_TYPE_VLAN) { in hinic_analyze_tx_info()
819 if (eth_type == RTE_ETHER_TYPE_VLAN) { in hinic_analyze_outer_ip_vxlan()
/dpdk/drivers/net/mlx5/
H A Dmlx5_tx.h943 ((RTE_ETHER_TYPE_VLAN << 16) | in mlx5_tx_eseg_dmin()
1027 ((RTE_ETHER_TYPE_VLAN << 16) | in mlx5_tx_eseg_data()
1238 ((RTE_ETHER_TYPE_VLAN << 16) | in mlx5_tx_eseg_mdat()
1492 *(uint32_t *)pdst = rte_cpu_to_be_32((RTE_ETHER_TYPE_VLAN << 16) | in mlx5_tx_dseg_vlan()
H A Dmlx5_rx.c996 while (proto == RTE_BE16(RTE_ETHER_TYPE_VLAN) || in mlx5_lro_update_hdr()
/dpdk/drivers/net/qede/base/
H A Dbcm_osal.h339 #define ETHER_TYPE_VLAN RTE_ETHER_TYPE_VLAN
/dpdk/drivers/net/ngbe/
H A Dngbe_rxtx.c2682 uint16_t tpids[8] = {RTE_ETHER_TYPE_VLAN, RTE_ETHER_TYPE_QINQ, in ngbe_configure_port()
2697 NGBE_VLANCTL_TPID(RTE_ETHER_TYPE_VLAN)); in ngbe_configure_port()
2700 NGBE_DMATXCTRL_TPID(RTE_ETHER_TYPE_VLAN)); in ngbe_configure_port()
/dpdk/app/test-flow-perf/
H A Dactions_gen.c540 eth_hdr.ether_type = RTE_BE16(RTE_ETHER_TYPE_VLAN); in add_ether_header()
/dpdk/drivers/net/e1000/
H A Digb_ethdev.c1238 RTE_ETHER_TYPE_VLAN << 16 | RTE_ETHER_TYPE_VLAN); in eth_igb_start()
1666 RTE_ETHER_TYPE_VLAN << 16 | RTE_ETHER_TYPE_VLAN); in igb_hardware_init()
/dpdk/drivers/net/axgbe/
H A Daxgbe_ethdev.c1939 RTE_ETHER_TYPE_VLAN); in axgbe_vlan_offload_set()
1941 RTE_ETHER_TYPE_VLAN); in axgbe_vlan_offload_set()
/dpdk/drivers/net/enic/
H A Denic_flow.c574 eth_type_off, rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN), 2); in enic_copy_item_inner_vlan_v2()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_rxtx.c3677 uint16_t tpids[8] = {RTE_ETHER_TYPE_VLAN, RTE_ETHER_TYPE_QINQ, in txgbe_configure_port()
3692 TXGBE_VLANCTL_TPID(RTE_ETHER_TYPE_VLAN)); in txgbe_configure_port()
3695 TXGBE_DMATXCTRL_TPID(RTE_ETHER_TYPE_VLAN)); in txgbe_configure_port()

12