| /dpdk/drivers/net/ice/ |
| H A D | ice_dcf_vf_representor.c | 272 vlan_offload.tpid = repr->outer_vlan_info.tpid; in ice_dcf_vf_repr_vlan_offload_set() 320 vlan_offload.tpid = repr->outer_vlan_info.tpid; in ice_dcf_vf_repr_vlan_pvid_set() 340 enum rte_vlan_type vlan_type, uint16_t tpid) in ice_dcf_vf_repr_vlan_tpid_set() argument 354 if (tpid != RTE_ETHER_TYPE_QINQ && in ice_dcf_vf_repr_vlan_tpid_set() 355 tpid != RTE_ETHER_TYPE_VLAN && in ice_dcf_vf_repr_vlan_tpid_set() 356 tpid != RTE_ETHER_TYPE_QINQ1) { in ice_dcf_vf_repr_vlan_tpid_set() 358 "Invalid TPID: 0x%04x\n", tpid); in ice_dcf_vf_repr_vlan_tpid_set() 362 repr->outer_vlan_info.tpid = tpid; in ice_dcf_vf_repr_vlan_tpid_set() 419 repr->outer_vlan_info.tpid = RTE_ETHER_TYPE_VLAN; in ice_dcf_vf_repr_init()
|
| H A D | ice_dcf_ethdev.h | 54 uint16_t tpid; member
|
| H A D | ice_ethdev.h | 208 uint16_t tpid; member 212 #define ICE_VLAN(tpid, vid) \ argument 213 ((struct ice_vlan){ tpid, vid })
|
| H A D | ice_ethdev.c | 1026 if (vlan->tpid == f->vlan_info.vlan.tpid && in ice_find_vlan_filter() 1067 v_list_itr->fltr_info.l_data.vlan.tpid = vlan->tpid; in ice_add_vlan_filter() 1092 f->vlan_info.vlan.tpid = vlan->tpid; in ice_add_vlan_filter() 1133 v_list_itr->fltr_info.l_data.vlan.tpid = vlan->tpid; in ice_remove_vlan_filter()
|
| /dpdk/drivers/common/cnxk/ |
| H A D | roc_nix_vlan.c | 188 roc_nix_vlan_tpid_set(struct roc_nix *roc_nix, uint32_t type, uint16_t tpid) in roc_nix_vlan_tpid_set() argument 197 tpid_cfg->tpid = tpid; in roc_nix_vlan_tpid_set()
|
| H A D | roc_nix.h | 893 uint16_t tpid);
|
| /dpdk/drivers/net/dpaa2/mc/ |
| H A D | dpni.c | 3011 uint16_t token, uint16_t tpid) in dpni_add_custom_tpid() argument 3021 cmd_params->tpid = cpu_to_le16(tpid); in dpni_add_custom_tpid() 3041 uint16_t token, uint16_t tpid) in dpni_remove_custom_tpid() argument 3051 cmd_params->tpid = cpu_to_le16(tpid); in dpni_remove_custom_tpid() 3068 uint16_t token, struct dpni_custom_tpid_cfg *tpid) in dpni_get_custom_tpid() argument 3086 tpid->tpid1 = le16_to_cpu(rsp_params->tpid1); in dpni_get_custom_tpid() 3087 tpid->tpid2 = le16_to_cpu(rsp_params->tpid2); in dpni_get_custom_tpid()
|
| H A D | fsl_dpni.h | 1926 uint16_t token, uint16_t tpid); 1929 uint16_t token, uint16_t tpid); 1943 uint16_t token, struct dpni_custom_tpid_cfg *tpid);
|
| H A D | fsl_dpni_cmd.h | 951 uint16_t tpid; member 956 uint16_t tpid; member
|
| /dpdk/drivers/net/qede/base/ |
| H A D | ecore_sp_commands.c | 346 p_ramrod->outer_tag_config.outer_tag.tpid = ETH_P_8021Q; in ecore_sp_pf_start() 349 p_ramrod->outer_tag_config.outer_tag.tpid = ETH_P_8021AD; in ecore_sp_pf_start() 409 sb, sb_index, p_ramrod->outer_tag_config.outer_tag.tpid, in ecore_sp_pf_start()
|
| /dpdk/drivers/net/ngbe/ |
| H A D | ngbe_ethdev.c | 599 uint16_t tpid) in ngbe_vlan_tpid_set() argument 614 NGBE_VLANCTL_TPID(tpid)); in ngbe_vlan_tpid_set() 617 NGBE_DMATXCTRL_TPID(tpid)); in ngbe_vlan_tpid_set() 627 NGBE_TAGTPID_LSB(tpid)); in ngbe_vlan_tpid_set() 635 NGBE_EXTAG_VLAN(tpid)); in ngbe_vlan_tpid_set() 639 NGBE_VLANCTL_TPID(tpid)); in ngbe_vlan_tpid_set() 642 NGBE_DMATXCTRL_TPID(tpid)); in ngbe_vlan_tpid_set() 648 NGBE_TAGTPID_MSB(tpid)); in ngbe_vlan_tpid_set()
|
| /dpdk/doc/guides/nics/ |
| H A D | igc.rst | 62 testpmd> vlan set outer tpid 0x9100 0
|
| /dpdk/drivers/net/axgbe/ |
| H A D | axgbe_ethdev.c | 118 enum rte_vlan_type vlan_type, uint16_t tpid); 1827 uint16_t tpid) in axgbe_vlan_tpid_set() argument 1840 if (tpid != 0x8100 && tpid != 0x88a8) in axgbe_vlan_tpid_set() 1868 if (tpid != 0x8100 && tpid != 0x88a8) in axgbe_vlan_tpid_set()
|
| /dpdk/drivers/net/atlantic/ |
| H A D | atl_ethdev.c | 60 enum rte_vlan_type vlan_type, uint16_t tpid); 1741 uint16_t tpid) in atl_vlan_tpid_set() argument 1750 hw_atl_rpf_vlan_inner_etht_set(hw, tpid); in atl_vlan_tpid_set() 1753 hw_atl_rpf_vlan_outer_etht_set(hw, tpid); in atl_vlan_tpid_set()
|
| /dpdk/drivers/net/bnxt/ |
| H A D | rte_pmd_bnxt.c | 554 vase->tpid = rte_cpu_to_be_16(0x8100); in rte_pmd_bnxt_set_vf_vlan_filter() 559 ve->tpid = rte_cpu_to_be_16(0x8100); in rte_pmd_bnxt_set_vf_vlan_filter()
|
| H A D | bnxt.h | 203 uint16_t tpid; member 208 uint16_t tpid; member
|
| /dpdk/drivers/net/dpaa2/ |
| H A D | dpaa2_ethdev.c | 173 uint16_t tpid) in dpaa2_vlan_tpid_set() argument 182 if (tpid == 0x8100 || tpid == 0x88A8) in dpaa2_vlan_tpid_set() 186 priv->token, tpid); in dpaa2_vlan_tpid_set() 202 priv->token, tpid); in dpaa2_vlan_tpid_set()
|
| /dpdk/drivers/net/hns3/ |
| H A D | hns3_ethdev.c | 481 uint16_t tpid) in hns3_vlan_tpid_configure() argument 495 if (tpid != RTE_ETHER_TYPE_VLAN) { in hns3_vlan_tpid_configure() 504 rx_req->ot_fst_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() 505 rx_req->ot_sec_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() 507 rx_req->ot_fst_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() 508 rx_req->ot_sec_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() 509 rx_req->in_fst_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() 510 rx_req->in_sec_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() 523 tx_req->ot_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() 524 tx_req->in_vlan_type = rte_cpu_to_le_16(tpid); in hns3_vlan_tpid_configure() [all …]
|
| /dpdk/drivers/common/iavf/ |
| H A D | virtchnl.h | 947 u16 tpid; /* 0x8100, 0x88a8, etc. and only type(s) set in member 1374 u16 tpid; member
|
| /dpdk/drivers/net/ice/base/ |
| H A D | ice_switch.h | 163 u16 tpid; member
|
| /dpdk/drivers/net/txgbe/ |
| H A D | txgbe_ethdev.c | 1021 uint16_t tpid) in txgbe_vlan_tpid_set() argument 1036 TXGBE_VLANCTL_TPID(tpid)); in txgbe_vlan_tpid_set() 1039 TXGBE_DMATXCTRL_TPID(tpid)); in txgbe_vlan_tpid_set() 1049 TXGBE_TAGTPID_LSB(tpid)); in txgbe_vlan_tpid_set() 1057 TXGBE_EXTAG_VLAN(tpid)); in txgbe_vlan_tpid_set() 1061 TXGBE_VLANCTL_TPID(tpid)); in txgbe_vlan_tpid_set() 1064 TXGBE_DMATXCTRL_TPID(tpid)); in txgbe_vlan_tpid_set() 1070 TXGBE_TAGTPID_MSB(tpid)); in txgbe_vlan_tpid_set()
|
| /dpdk/lib/ethdev/ |
| H A D | ethdev_driver.h | 518 enum rte_vlan_type type, uint16_t tpid);
|
| /dpdk/drivers/net/igc/ |
| H A D | igc_ethdev.c | 240 enum rte_vlan_type vlan_type, uint16_t tpid); 2550 uint16_t tpid) in eth_igc_vlan_tpid_set() argument 2559 ((uint32_t)tpid << IGC_VET_EXT_SHIFT); in eth_igc_vlan_tpid_set()
|
| /dpdk/drivers/net/ixgbe/ |
| H A D | ixgbe_ethdev.c | 1872 uint16_t tpid) in ixgbe_vlan_tpid_set() argument 1887 reg = (reg & (~IXGBE_VLNCTRL_VET)) | (uint32_t)tpid; in ixgbe_vlan_tpid_set() 1891 | ((uint32_t)tpid << IXGBE_DMATXCTL_VT_SHIFT); in ixgbe_vlan_tpid_set() 1902 IXGBE_WRITE_REG(hw, IXGBE_EXVET, (uint32_t)tpid << in ixgbe_vlan_tpid_set() 1906 reg = (reg & (~IXGBE_VLNCTRL_VET)) | (uint32_t)tpid; in ixgbe_vlan_tpid_set() 1910 | ((uint32_t)tpid << IXGBE_DMATXCTL_VT_SHIFT); in ixgbe_vlan_tpid_set()
|
| /dpdk/drivers/net/i40e/ |
| H A D | i40e_flow.c | 2021 uint16_t tpid; in i40e_get_outer_vlan() local 2031 tpid = (reg_r >> I40E_GL_SWT_L2TAGCTRL_ETHERTYPE_SHIFT) & 0xFFFF; in i40e_get_outer_vlan() 2033 return tpid; in i40e_get_outer_vlan()
|