Home
last modified time | relevance | path

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

/dpdk/drivers/common/cnxk/
H A Droc_nix_vlan.c200 tpid_cfg->vlan_type = NIX_VLAN_TYPE_OUTER; in roc_nix_vlan_tpid_set()
202 tpid_cfg->vlan_type = NIX_VLAN_TYPE_INNER; in roc_nix_vlan_tpid_set()
H A Droc_mbox.h1131 uint8_t __io vlan_type; member
/dpdk/drivers/net/ice/
H A Dice_dcf_vf_representor.c340 enum rte_vlan_type vlan_type, uint16_t tpid) in ice_dcf_vf_repr_vlan_tpid_set() argument
348 if (vlan_type != RTE_ETH_VLAN_TYPE_OUTER) { in ice_dcf_vf_repr_vlan_tpid_set()
/dpdk/drivers/net/ice/base/
H A Dice_fdir.h230 __be16 vlan_type; /* VLAN ethertype */ member
/dpdk/drivers/net/hns3/
H A Dhns3_ethdev_dump.c462 req->vlan_type = vlan_filter_type[i]; in get_vlan_filter_cfg()
475 req->vlan_type == HNS3_FILTER_TYPE_PORT ? in get_vlan_filter_cfg()
H A Dhns3_ethdev.c480 hns3_vlan_tpid_configure(struct hns3_adapter *hns, enum rte_vlan_type vlan_type, in hns3_vlan_tpid_configure() argument
489 if ((vlan_type != RTE_ETH_VLAN_TYPE_INNER && in hns3_vlan_tpid_configure()
490 vlan_type != RTE_ETH_VLAN_TYPE_OUTER)) { in hns3_vlan_tpid_configure()
491 hns3_err(hw, "Unsupported vlan type, vlan_type =%d", vlan_type); in hns3_vlan_tpid_configure()
496 hns3_err(hw, "Unsupported vlan tpid, vlan_type =%d", vlan_type); in hns3_vlan_tpid_configure()
503 if (vlan_type == RTE_ETH_VLAN_TYPE_OUTER) { in hns3_vlan_tpid_configure()
506 } else if (vlan_type == RTE_ETH_VLAN_TYPE_INNER) { in hns3_vlan_tpid_configure()
534 hns3_vlan_tpid_set(struct rte_eth_dev *dev, enum rte_vlan_type vlan_type, in hns3_vlan_tpid_set() argument
542 ret = hns3_vlan_tpid_configure(hns, vlan_type, tpid); in hns3_vlan_tpid_set()
626 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.h544 uint8_t vlan_type; member
/dpdk/drivers/net/atlantic/
H A Datl_ethdev.c60 enum rte_vlan_type vlan_type, uint16_t tpid);
1740 atl_vlan_tpid_set(struct rte_eth_dev *dev, enum rte_vlan_type vlan_type, in atl_vlan_tpid_set() argument
1748 switch (vlan_type) { in atl_vlan_tpid_set()
/dpdk/drivers/net/igc/
H A Digc_ethdev.c240 enum rte_vlan_type vlan_type, uint16_t tpid);
2549 enum rte_vlan_type vlan_type, in eth_igc_vlan_tpid_set() argument
2556 if (vlan_type == RTE_ETH_VLAN_TYPE_OUTER) { in eth_igc_vlan_tpid_set()
/dpdk/drivers/net/axgbe/
H A Daxgbe_ethdev.c118 enum rte_vlan_type vlan_type, uint16_t tpid);
1826 enum rte_vlan_type vlan_type, in axgbe_vlan_tpid_set() argument
1836 switch (vlan_type) { in axgbe_vlan_tpid_set()
/dpdk/drivers/net/ngbe/
H A Dngbe_ethdev.c598 enum rte_vlan_type vlan_type, in ngbe_vlan_tpid_set() argument
609 switch (vlan_type) { in ngbe_vlan_tpid_set()
652 PMD_DRV_LOG(ERR, "Unsupported VLAN type %d", vlan_type); in ngbe_vlan_tpid_set()
/dpdk/drivers/net/i40e/
H A Di40e_ethdev.c272 enum rte_vlan_type vlan_type,
3854 enum rte_vlan_type vlan_type, in i40e_vlan_tpid_set_by_registers() argument
3864 if (vlan_type == RTE_ETH_VLAN_TYPE_OUTER) in i40e_vlan_tpid_set_by_registers()
3905 enum rte_vlan_type vlan_type, in i40e_vlan_tpid_set() argument
3914 if ((vlan_type != RTE_ETH_VLAN_TYPE_INNER && in i40e_vlan_tpid_set()
3915 vlan_type != RTE_ETH_VLAN_TYPE_OUTER) || in i40e_vlan_tpid_set()
3916 (!qinq && vlan_type == RTE_ETH_VLAN_TYPE_INNER)) { in i40e_vlan_tpid_set()
3930 if (vlan_type == RTE_ETH_VLAN_TYPE_OUTER) in i40e_vlan_tpid_set()
3932 else if (vlan_type == RTE_ETH_VLAN_TYPE_INNER) in i40e_vlan_tpid_set()
3935 if (vlan_type == RTE_ETH_VLAN_TYPE_OUTER) in i40e_vlan_tpid_set()
[all …]
/dpdk/drivers/net/bnxt/
H A Dbnxt_ethdev.c2752 bnxt_vlan_tpid_set_op(struct rte_eth_dev *dev, enum rte_vlan_type vlan_type, in bnxt_vlan_tpid_set_op() argument
2759 if (vlan_type != RTE_ETH_VLAN_TYPE_INNER && in bnxt_vlan_tpid_set_op()
2760 vlan_type != RTE_ETH_VLAN_TYPE_OUTER) { in bnxt_vlan_tpid_set_op()
2772 if (vlan_type == RTE_ETH_VLAN_TYPE_OUTER) { in bnxt_vlan_tpid_set_op()
2800 } else if (vlan_type == RTE_ETH_VLAN_TYPE_INNER) { in bnxt_vlan_tpid_set_op()
/dpdk/app/test-pmd/
H A Dtestpmd.h1006 void vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type,
H A Dcmdline.c4171 cmdline_fixed_string_t vlan_type; member
4275 cmdline_fixed_string_t vlan_type; member
4287 enum rte_vlan_type vlan_type; in cmd_vlan_tpid_parsed() local
4289 if (!strcmp(res->vlan_type, "inner")) in cmd_vlan_tpid_parsed()
4290 vlan_type = RTE_ETH_VLAN_TYPE_INNER; in cmd_vlan_tpid_parsed()
4291 else if (!strcmp(res->vlan_type, "outer")) in cmd_vlan_tpid_parsed()
4292 vlan_type = RTE_ETH_VLAN_TYPE_OUTER; in cmd_vlan_tpid_parsed()
4297 vlan_tpid_set(res->port_id, vlan_type, res->tp_id); in cmd_vlan_tpid_parsed()
4308 vlan_type, "inner#outer");
H A Dconfig.c5427 vlan_tpid_set(portid_t port_id, enum rte_vlan_type vlan_type, uint16_t tp_id) in vlan_tpid_set() argument
5434 diag = rte_eth_dev_set_vlan_ether_type(port_id, vlan_type, tp_id); in vlan_tpid_set()
5440 port_id, vlan_type, tp_id, diag); in vlan_tpid_set()
/dpdk/drivers/net/e1000/
H A Digb_ethdev.c131 enum rte_vlan_type vlan_type,
2575 enum rte_vlan_type vlan_type, in eth_igb_vlan_tpid_set() argument
2586 if (qinq && vlan_type == RTE_ETH_VLAN_TYPE_OUTER) { in eth_igb_vlan_tpid_set()
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c1020 enum rte_vlan_type vlan_type, in txgbe_vlan_tpid_set() argument
1031 switch (vlan_type) { in txgbe_vlan_tpid_set()
1074 PMD_DRV_LOG(ERR, "Unsupported VLAN type %d", vlan_type); in txgbe_vlan_tpid_set()
/dpdk/doc/guides/rel_notes/
H A Drelease_16_04.rst467 * A parameter ``vlan_type`` has been added to the function
/dpdk/drivers/net/ixgbe/
H A Dixgbe_ethdev.c195 enum rte_vlan_type vlan_type,
1871 enum rte_vlan_type vlan_type, in ixgbe_vlan_tpid_set() argument
1883 switch (vlan_type) { in ixgbe_vlan_tpid_set()
1917 PMD_DRV_LOG(ERR, "Unsupported VLAN type %d", vlan_type); in ixgbe_vlan_tpid_set()
/dpdk/lib/ethdev/
H A Drte_ethdev.h3618 enum rte_vlan_type vlan_type,
H A Drte_ethdev.c3465 enum rte_vlan_type vlan_type, in rte_eth_dev_set_vlan_ether_type() argument
3474 return eth_err(port_id, (*dev->dev_ops->vlan_tpid_set)(dev, vlan_type, in rte_eth_dev_set_vlan_ether_type()
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_ethdev.c172 enum rte_vlan_type vlan_type __rte_unused, in dpaa2_vlan_tpid_set()