Home
last modified time | relevance | path

Searched refs:tm_info (Results 1 – 7 of 7) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c230 tc = hdev->tm_info.prio_tc[pri_id]; in hclge_fill_pri_array()
232 if (tc >= hdev->tm_info.num_tc) in hclge_fill_pri_array()
454 if (hdev->tm_info.pg_info[pg_id].pg_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pg_schd_mode_cfg()
470 if (hdev->tm_info.tc_info[pri_id].tc_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pri_schd_mode_cfg()
570 min_t(u16, vport->alloc_tqps, hdev->tm_info.num_tc); in hclge_tm_vport_tc_info_update()
601 vport->bw_limit = hdev->tm_info.pg_info[0].bw_limit; in hclge_tm_vport_tc_info_update()
618 memcpy(kinfo->prio_tc, hdev->tm_info.prio_tc, in hclge_tm_vport_tc_info_update()
638 for (i = 0; i < hdev->tm_info.num_tc; i++) { in hclge_tm_tc_info_init()
639 hdev->tm_info.tc_info[i].tc_id = i; in hclge_tm_tc_info_init()
640 hdev->tm_info.tc_info[i].tc_sch_mode = HCLGE_SCH_MODE_DWRR; in hclge_tm_tc_info_init()
[all …]
H A Dhclge_dcb.c20 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info()
22 hdev->tm_info.pg_info[0].tc_dwrr[i] = 0; in hclge_ieee_ets_to_tm_info()
25 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info()
27 hdev->tm_info.pg_info[0].tc_dwrr[i] = in hclge_ieee_ets_to_tm_info()
55 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; in hclge_tm_info_to_ieee_ets()
56 ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i]; in hclge_tm_info_to_ieee_ets()
58 if (hdev->tm_info.tc_info[i].tc_sch_mode == in hclge_tm_info_to_ieee_ets()
118 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) in hclge_ets_validate()
132 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_validate()
146 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_validate()
[all …]
H A Dhclge_main.c1484 hdev->tm_info.num_pg = 1; in hclge_configure()
1486 hdev->tm_info.hw_pfc_map = 0; in hclge_configure()
1520 hdev->tm_info.num_tc = 1; in hclge_configure()
1523 for (i = 0; i < hdev->tm_info.num_tc; i++) in hclge_configure()
1650 vport->alloc_tqps / hdev->tm_info.num_tc); in hclge_assign_tqp()
1654 (hdev->num_nic_msi - 1) / hdev->tm_info.num_tc); in hclge_assign_tqp()
1870 if ((hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_pfc_priv_num()
1889 !(hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_no_pfc_priv_num()
2033 if (hdev->tm_info.hw_pfc_map & BIT(i)) { in hclge_rx_buf_calc_all()
2062 !(hdev->tm_info.hw_pfc_map & mask)) { in hclge_drop_nopfc_buf_till_fit()
[all …]
H A Dhclge_main.h767 struct hclge_tm_info tm_info; member
H A Dhclge_debugfs.c435 index, hdev->tm_info.pg_info[0].tc_dwrr[index]); in hclge_print_tc_info()
463 hdev->tm_info.num_tc); in hclge_dbg_dump_tc()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852bs/phl/test/
H A Dtest_module.c651 struct test_module_info *tm_info = NULL; in rtw_phl_test_submodule_init() local
656 tm_info = (struct test_module_info *)buf; in rtw_phl_test_submodule_init()
658 switch(tm_info->tm_type) { in rtw_phl_test_submodule_init()
661 phl_test_mp_start(test_mgnt->mp_ctx, tm_info->tm_mode); in rtw_phl_test_submodule_init()
677 struct test_module_info *tm_info = NULL; in rtw_phl_test_submodule_deinit() local
682 tm_info = (struct test_module_info *)buf; in rtw_phl_test_submodule_deinit()
684 switch(tm_info->tm_type) { in rtw_phl_test_submodule_deinit()
686 phl_test_mp_stop(test_mgnt->mp_ctx, tm_info->tm_mode); in rtw_phl_test_submodule_deinit()
/OK3568_Linux_fs/external/rkwifibt/drivers/rtl8852be/phl/test/
H A Dtest_module.c651 struct test_module_info *tm_info = NULL; in rtw_phl_test_submodule_init() local
656 tm_info = (struct test_module_info *)buf; in rtw_phl_test_submodule_init()
658 switch(tm_info->tm_type) { in rtw_phl_test_submodule_init()
661 phl_test_mp_start(test_mgnt->mp_ctx, tm_info->tm_mode); in rtw_phl_test_submodule_init()
677 struct test_module_info *tm_info = NULL; in rtw_phl_test_submodule_deinit() local
682 tm_info = (struct test_module_info *)buf; in rtw_phl_test_submodule_deinit()
684 switch(tm_info->tm_type) { in rtw_phl_test_submodule_deinit()
686 phl_test_mp_stop(test_mgnt->mp_ctx, tm_info->tm_mode); in rtw_phl_test_submodule_deinit()