Home
last modified time | relevance | path

Searched refs:num_tc (Results 1 – 14 of 14) sorted by relevance

/dpdk/drivers/net/hns3/
H A Dhns3_dcb.c645 nb_rx_q, hw->num_tc); in hns3_set_rss_size()
680 nb_tx_q, hw->num_tc); in hns3_tc_queue_mapping_cfg()
732 nb_rx_q, hw->num_tc); in hns3_queue_to_tc_mapping()
738 nb_tx_q, hw->num_tc); in hns3_queue_to_tc_mapping()
753 hw->num_tc = hw->dcb_info.num_tc; in hns3_dcb_update_tc_queue_mapping()
1481 if (nb_rx_q < num_tc) { in hns3_dcb_info_update()
1483 nb_rx_q, num_tc); in hns3_dcb_info_update()
1487 if (nb_tx_q < num_tc) { in hns3_dcb_info_update()
1489 nb_tx_q, num_tc); in hns3_dcb_info_update()
1494 hw->dcb_info.num_tc = num_tc; in hns3_dcb_info_update()
[all …]
H A Dhns3_ethdev.h133 uint8_t num_tc; member
532 uint8_t num_tc; /* Total number of enabled TCs */ member
H A Dhns3_tm.c522 hns3_tm_calc_node_tc_no(&pf->tm_conf, node_id) >= hw->num_tc) { in hns3_tm_tc_node_add()
528 if (pf->tm_conf.nb_tc_node >= hw->num_tc) { in hns3_tm_tc_node_add()
977 hw->num_tc) { in hns3_tm_configure_check()
H A Dhns3_ethdev_vf.c941 uint8_t num_tc = 0; in hns3vf_get_num_tc() local
946 num_tc++; in hns3vf_get_num_tc()
948 return num_tc; in hns3vf_get_num_tc()
968 hw->num_tc = hns3vf_get_num_tc(hw); in hns3vf_get_basic_info()
H A Dhns3_ethdev.c1813 uint8_t num_tc; in hns3_check_mq_mode() local
1859 num_tc = max_tc + 1; in hns3_check_mq_mode()
1860 if (num_tc > dcb_rx_conf->nb_tcs) { in hns3_check_mq_mode()
1862 num_tc, dcb_rx_conf->nb_tcs); in hns3_check_mq_mode()
2853 hw->dcb_info.num_tc = 1; in hns3_get_board_configuration()
2855 hw->tqps_num / hw->dcb_info.num_tc); in hns3_get_board_configuration()
5444 if (hw->num_tc > 1 && !pf->support_multi_tc_pause) { in hns3_flow_ctrl_set()
5521 for (i = 0; i < hw->num_tc; i++) { in hns3_get_dcb_info()
H A Dhns3_ethdev_dump.c826 if (hw->num_tc > 1 && !pf->support_multi_tc_pause) in is_link_fc_mode()
/dpdk/drivers/common/iavf/
H A Dvirtchnl.h1245 u32 num_tc; member
1877 u16 num_tc; member
2254 if (vti->num_tc == 0 || vti->num_tc > in virtchnl_vc_validate_vf_msg()
2260 valid_len += (vti->num_tc - 1) * in virtchnl_vc_validate_vf_msg()
2316 if (q_tc->num_tc == 0) { in virtchnl_vc_validate_vf_msg()
2320 valid_len += (q_tc->num_tc - 1) * in virtchnl_vc_validate_vf_msg()
/dpdk/drivers/net/iavf/
H A Diavf_tm.c850 q_tc_mapping->num_tc = vf->qos_cap->num_elem; in iavf_hierarchy_commit()
857 if (tm_node->tc >= q_tc_mapping->num_tc) { in iavf_hierarchy_commit()
891 sizeof(struct iavf_qtc_map) * q_tc_mapping->num_tc, 0); in iavf_hierarchy_commit()
895 for (i = 0; i < q_tc_mapping->num_tc; i++) { in iavf_hierarchy_commit()
/dpdk/drivers/net/qede/
H A Dqede_if.h69 uint8_t num_tc; member
H A Dqede_ethdev.h74 (edev)->dev_info.num_tc)
H A Dqede_main.c427 info->num_tc = 1 /* @@@TBD aelior MULTI_COS */; in qed_fill_eth_dev_info()
/dpdk/drivers/net/qede/base/
H A Decore_init_fw_funcs.c1043 u8 tc, num_tc, tc_client_offset; in ecore_init_nig_ets() local
1045 num_tc = is_lb ? NUM_OF_TCS : NUM_OF_PHYS_TCS; in ecore_init_nig_ets()
1062 for (tc = 0; tc < num_tc; tc++) { in ecore_init_nig_ets()
1092 for (tc = 0; tc < num_tc; tc++, tc_client_offset++) { in ecore_init_nig_ets()
H A Decore_int.c1618 u8 num_tc = p_hwfn->hw_info.num_hw_tc; in ecore_int_cau_conf_sb() local
1642 for (i = 0; i < num_tc; i++) { in ecore_int_cau_conf_sb()
/dpdk/drivers/net/hinic/
H A Dhinic_pmd_rx.c541 u8 tmpl_idx = 0xFF, num_tc = 0; in hinic_rss_init() local
568 return hinic_rss_cfg(nic_dev->hwdev, 1, tmpl_idx, num_tc, prio_tc); in hinic_rss_init()