Home
last modified time | relevance | path

Searched refs:vlan_type (Results 1 – 19 of 19) sorted by relevance

/f-stack/dpdk/drivers/net/ice/base/
H A Dice_fdir.h171 __be16 vlan_type; /* VLAN ethertype */ member
/f-stack/dpdk/drivers/net/hns3/
H A Dhns3_ethdev.c410 hns3_vlan_tpid_configure(struct hns3_adapter *hns, enum rte_vlan_type vlan_type, in hns3_vlan_tpid_configure() argument
419 if ((vlan_type != ETH_VLAN_TYPE_INNER && in hns3_vlan_tpid_configure()
420 vlan_type != ETH_VLAN_TYPE_OUTER)) { in hns3_vlan_tpid_configure()
421 hns3_err(hw, "Unsupported vlan type, vlan_type =%d", vlan_type); in hns3_vlan_tpid_configure()
426 hns3_err(hw, "Unsupported vlan tpid, vlan_type =%d", vlan_type); in hns3_vlan_tpid_configure()
433 if (vlan_type == ETH_VLAN_TYPE_OUTER) { in hns3_vlan_tpid_configure()
436 } else if (vlan_type == ETH_VLAN_TYPE_INNER) { in hns3_vlan_tpid_configure()
464 hns3_vlan_tpid_set(struct rte_eth_dev *dev, enum rte_vlan_type vlan_type, in hns3_vlan_tpid_set() argument
472 ret = hns3_vlan_tpid_configure(hns, vlan_type, tpid); in hns3_vlan_tpid_set()
570 hns3_set_vlan_filter_ctrl(struct hns3_hw *hw, uint8_t vlan_type, in hns3_set_vlan_filter_ctrl() argument
[all …]
H A Dhns3_cmd.h498 uint8_t vlan_type; member
/f-stack/dpdk/drivers/net/octeontx2/
H A Dotx2_vlan.c784 tpid_cfg->vlan_type = NIX_VLAN_TYPE_OUTER; in otx2_nix_vlan_tpid_set()
786 tpid_cfg->vlan_type = NIX_VLAN_TYPE_INNER; in otx2_nix_vlan_tpid_set()
/f-stack/dpdk/drivers/net/atlantic/
H A Datl_ethdev.c60 enum rte_vlan_type vlan_type, uint16_t tpid);
1747 atl_vlan_tpid_set(struct rte_eth_dev *dev, enum rte_vlan_type vlan_type, in atl_vlan_tpid_set() argument
1755 switch (vlan_type) { in atl_vlan_tpid_set()
/f-stack/dpdk/drivers/net/igc/
H A Digc_ethdev.c247 enum rte_vlan_type vlan_type, uint16_t tpid);
2583 enum rte_vlan_type vlan_type, in eth_igc_vlan_tpid_set() argument
2590 if (vlan_type == ETH_VLAN_TYPE_OUTER) { in eth_igc_vlan_tpid_set()
/f-stack/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c2499 bnxt_vlan_tpid_set_op(struct rte_eth_dev *dev, enum rte_vlan_type vlan_type, in bnxt_vlan_tpid_set_op() argument
2506 if (vlan_type != ETH_VLAN_TYPE_INNER && in bnxt_vlan_tpid_set_op()
2507 vlan_type != ETH_VLAN_TYPE_OUTER) { in bnxt_vlan_tpid_set_op()
2519 if (vlan_type == ETH_VLAN_TYPE_OUTER) { in bnxt_vlan_tpid_set_op()
2547 } else if (vlan_type == ETH_VLAN_TYPE_INNER) { in bnxt_vlan_tpid_set_op()
/f-stack/dpdk/app/test-pmd/
H A Dtestpmd.h881 void vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type,
H A Dcmdline.c4041 cmdline_fixed_string_t vlan_type; member
4145 cmdline_fixed_string_t vlan_type; member
4157 enum rte_vlan_type vlan_type; in cmd_vlan_tpid_parsed() local
4159 if (!strcmp(res->vlan_type, "inner")) in cmd_vlan_tpid_parsed()
4160 vlan_type = ETH_VLAN_TYPE_INNER; in cmd_vlan_tpid_parsed()
4161 else if (!strcmp(res->vlan_type, "outer")) in cmd_vlan_tpid_parsed()
4162 vlan_type = ETH_VLAN_TYPE_OUTER; in cmd_vlan_tpid_parsed()
4167 vlan_tpid_set(res->port_id, vlan_type, res->tp_id); in cmd_vlan_tpid_parsed()
4178 vlan_type, "inner#outer");
H A Dconfig.c4435 vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type, uint16_t tp_id) in vlan_tpid_set() argument
4442 diag = rte_eth_dev_set_vlan_ether_type(port_id, vlan_type, tp_id); in vlan_tpid_set()
4448 port_id, vlan_type, tp_id, diag); in vlan_tpid_set()
/f-stack/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c252 enum rte_vlan_type vlan_type,
3899 enum rte_vlan_type vlan_type, in i40e_vlan_tpid_set_by_registers() argument
3909 if (vlan_type == ETH_VLAN_TYPE_OUTER) in i40e_vlan_tpid_set_by_registers()
3950 enum rte_vlan_type vlan_type, in i40e_vlan_tpid_set() argument
3959 if ((vlan_type != ETH_VLAN_TYPE_INNER && in i40e_vlan_tpid_set()
3960 vlan_type != ETH_VLAN_TYPE_OUTER) || in i40e_vlan_tpid_set()
3961 (!qinq && vlan_type == ETH_VLAN_TYPE_INNER)) { in i40e_vlan_tpid_set()
3975 if (vlan_type == ETH_VLAN_TYPE_OUTER) in i40e_vlan_tpid_set()
3977 else if (vlan_type == ETH_VLAN_TYPE_INNER) in i40e_vlan_tpid_set()
3980 if (vlan_type == ETH_VLAN_TYPE_OUTER) in i40e_vlan_tpid_set()
[all …]
/f-stack/dpdk/lib/librte_ethdev/
H A Drte_ethdev.h3211 enum rte_vlan_type vlan_type,
H A Drte_ethdev.c3532 enum rte_vlan_type vlan_type, in rte_eth_dev_set_vlan_ether_type() argument
3541 return eth_err(port_id, (*dev->dev_ops->vlan_tpid_set)(dev, vlan_type, in rte_eth_dev_set_vlan_ether_type()
/f-stack/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c814 enum rte_vlan_type vlan_type, in txgbe_vlan_tpid_set() argument
825 switch (vlan_type) { in txgbe_vlan_tpid_set()
868 PMD_DRV_LOG(ERR, "Unsupported VLAN type %d", vlan_type); in txgbe_vlan_tpid_set()
/f-stack/dpdk/drivers/net/e1000/
H A Digb_ethdev.c131 enum rte_vlan_type vlan_type,
2590 enum rte_vlan_type vlan_type, in eth_igb_vlan_tpid_set() argument
2601 if (qinq && vlan_type == ETH_VLAN_TYPE_OUTER) { in eth_igb_vlan_tpid_set()
/f-stack/dpdk/doc/guides/rel_notes/
H A Drelease_16_04.rst468 * A parameter ``vlan_type`` has been added to the function
/f-stack/dpdk/drivers/common/octeontx2/
H A Dotx2_mbox.h1064 uint8_t __otx2_io vlan_type; member
/f-stack/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c195 enum rte_vlan_type vlan_type,
1848 enum rte_vlan_type vlan_type, in ixgbe_vlan_tpid_set() argument
1860 switch (vlan_type) { in ixgbe_vlan_tpid_set()
1894 PMD_DRV_LOG(ERR, "Unsupported VLAN type %d", vlan_type); in ixgbe_vlan_tpid_set()
/f-stack/dpdk/drivers/net/dpaa2/
H A Ddpaa2_ethdev.c166 enum rte_vlan_type vlan_type __rte_unused, in dpaa2_vlan_tpid_set()