| /dpdk/lib/net/ |
| H A D | rte_ether.h | 296 #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 D | rte_net.c | 249 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 D | octeontx_ethdev_ops.c | 93 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 D | ice_dcf_vf_representor.c | 355 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 D | main.c | 326 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 D | 5tswap.c | 136 while (proto == RTE_BE16(RTE_ETHER_TYPE_VLAN) || in pkt_burst_5tuple_swap()
|
| H A D | icmpecho.c | 324 if (eth_type == RTE_ETHER_TYPE_VLAN) { in reply_to_icmp_echo_rqsts()
|
| H A D | csumonly.c | 163 while (info->ethertype == _htons(RTE_ETHER_TYPE_VLAN) || in parse_ethernet()
|
| H A D | cmdline_flow.c | 7631 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 D | rte_eth_bond_alb.c | 219 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 D | cxgbe_flow.c | 81 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 D | packet_burst_generator.c | 67 eth_hdr->ether_type = rte_cpu_to_be_16(RTE_ETHER_TYPE_VLAN); in initialize_eth_header()
|
| H A D | test_link_bonding.c | 5001 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 D | rte_table_action.c | 636 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 D | rte_pcapng.c | 440 if (pcapng_vlan_insert(mc, RTE_ETHER_TYPE_VLAN, in rte_pcapng_copy()
|
| /dpdk/drivers/net/hinic/ |
| H A D | hinic_pmd_tx.c | 789 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 D | mlx5_tx.h | 943 ((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 D | mlx5_rx.c | 996 while (proto == RTE_BE16(RTE_ETHER_TYPE_VLAN) || in mlx5_lro_update_hdr()
|
| /dpdk/drivers/net/qede/base/ |
| H A D | bcm_osal.h | 339 #define ETHER_TYPE_VLAN RTE_ETHER_TYPE_VLAN
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_rxtx.c | 2682 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 D | actions_gen.c | 540 eth_hdr.ether_type = RTE_BE16(RTE_ETHER_TYPE_VLAN); in add_ether_header()
|
| /dpdk/drivers/net/e1000/ |
| H A D | igb_ethdev.c | 1238 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 D | axgbe_ethdev.c | 1939 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 D | enic_flow.c | 574 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 D | txgbe_rxtx.c | 3677 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()
|