Home
last modified time | relevance | path

Searched refs:tc_no (Results 1 – 6 of 6) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_tm.c930 hns3_tm_config_tc_rate(struct hns3_hw *hw, uint8_t tc_no, in hns3_tm_config_tc_rate() argument
943 firmware_rate = hw->dcb_info.tc_info[tc_no].bw_limit; in hns3_tm_config_tc_rate()
949 cfg->tc_id = tc_no; in hns3_tm_config_tc_rate()
954 tc_no, ret); in hns3_tm_config_tc_rate()
1010 uint8_t tc_no; in hns3_tm_hierarchy_do_commit() local
1030 ret = hns3_tm_config_tc_rate(hw, tc_no, in hns3_tm_hierarchy_do_commit()
1107 uint8_t tc_no; in hns3_tm_node_shaper_do_update() local
1135 tc_no = hns3_tm_calc_node_tc_no(&pf->tm_conf, node_id); in hns3_tm_node_shaper_do_update()
1136 ret = hns3_tm_config_tc_rate(hw, tc_no, shaper_profile); in hns3_tm_node_shaper_do_update()
1273 uint8_t tc_no; in hns3_tm_dev_stop_proc() local
[all …]
H A Dhns3_dcb.c555 hns3_pri_shaper_rate_cfg(struct hns3_hw *hw, uint8_t tc_no, uint32_t rate) in hns3_pri_shaper_rate_cfg() argument
574 ret = hns3_dcb_pri_shapping_cfg(hw, HNS3_DCB_SHAP_C_BUCKET, tc_no, in hns3_pri_shaper_rate_cfg()
590 ret = hns3_dcb_pri_shapping_cfg(hw, HNS3_DCB_SHAP_P_BUCKET, tc_no, in hns3_pri_shaper_rate_cfg()
/dpdk/drivers/net/i40e/
H A Drte_pmd_i40e.c1247 uint8_t tc_no, uint32_t bw) in rte_pmd_i40e_set_vf_tc_max_bw() argument
1291 if (tc_no >= I40E_MAX_TRAFFIC_CLASS) { in rte_pmd_i40e_set_vf_tc_max_bw()
1299 if (!(vsi->enabled_tc & BIT_ULL(tc_no))) { in rte_pmd_i40e_set_vf_tc_max_bw()
1301 vf_id, tc_no); in rte_pmd_i40e_set_vf_tc_max_bw()
1306 if (bw == vsi->bw_info.bw_ets_credits[tc_no]) { in rte_pmd_i40e_set_vf_tc_max_bw()
1347 tc_bw.tc_bw_credits[tc_no] = rte_cpu_to_le_16((uint16_t)bw); in rte_pmd_i40e_set_vf_tc_max_bw()
1353 vf_id, tc_no, ret); in rte_pmd_i40e_set_vf_tc_max_bw()
1358 vsi->bw_info.bw_ets_credits[tc_no] = (uint16_t)bw; in rte_pmd_i40e_set_vf_tc_max_bw()
H A Drte_pmd_i40e.h694 uint8_t tc_no,
/dpdk/app/test-pmd/
H A Dcmdline.c12737 uint8_t tc_no; member
12782 tc_no, RTE_UINT8);
13029 res->tc_no, res->bw); in cmd_vf_tc_max_bw_parsed()
13038 res->vf_id, res->tc_no, res->bw); in cmd_vf_tc_max_bw_parsed()
/dpdk/doc/guides/testpmd_app_ug/
H A Dtestpmd_funcs.rst1500 testpmd> set vf tc tx max-bandwidth (port_id) (vf_id) (tc_no) (max_bandwidth)