Home
last modified time | relevance | path

Searched refs:tpid (Results 1 – 25 of 36) sorted by relevance

12

/dpdk/drivers/net/ice/
H A Dice_dcf_vf_representor.c272 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 Dice_dcf_ethdev.h54 uint16_t tpid; member
H A Dice_ethdev.h208 uint16_t tpid; member
212 #define ICE_VLAN(tpid, vid) \ argument
213 ((struct ice_vlan){ tpid, vid })
H A Dice_ethdev.c1026 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 Droc_nix_vlan.c188 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 Droc_nix.h893 uint16_t tpid);
/dpdk/drivers/net/dpaa2/mc/
H A Ddpni.c3011 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 Dfsl_dpni.h1926 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 Dfsl_dpni_cmd.h951 uint16_t tpid; member
956 uint16_t tpid; member
/dpdk/drivers/net/qede/base/
H A Decore_sp_commands.c346 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 Dngbe_ethdev.c599 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 Digc.rst62 testpmd> vlan set outer tpid 0x9100 0
/dpdk/drivers/net/axgbe/
H A Daxgbe_ethdev.c118 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 Datl_ethdev.c60 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 Drte_pmd_bnxt.c554 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 Dbnxt.h203 uint16_t tpid; member
208 uint16_t tpid; member
/dpdk/drivers/net/dpaa2/
H A Ddpaa2_ethdev.c173 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 Dhns3_ethdev.c481 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 Dvirtchnl.h947 u16 tpid; /* 0x8100, 0x88a8, etc. and only type(s) set in member
1374 u16 tpid; member
/dpdk/drivers/net/ice/base/
H A Dice_switch.h163 u16 tpid; member
/dpdk/drivers/net/txgbe/
H A Dtxgbe_ethdev.c1021 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 Dethdev_driver.h518 enum rte_vlan_type type, uint16_t tpid);
/dpdk/drivers/net/igc/
H A Digc_ethdev.c240 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 Dixgbe_ethdev.c1872 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 Di40e_flow.c2021 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()

12