Searched refs:tm_info (Results 1 – 5 of 5) sorted by relevance
232 tc = hdev->tm_info.prio_tc[pri_id]; in hclge_fill_pri_array()234 if (tc >= hdev->tm_info.num_tc) in hclge_fill_pri_array()294 tc_id = hdev->tm_info.prio_tc[pri_id]; in hclge_dscp_to_tc_map()303 tc_id = hdev->tm_info.prio_tc[pri_id]; in hclge_dscp_to_tc_map()527 if (hdev->tm_info.pg_info[pg_id].pg_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pg_schd_mode_cfg()543 if (hdev->tm_info.tc_info[pri_id].tc_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pri_schd_mode_cfg()694 min_t(u16, vport->alloc_tqps, hdev->tm_info.num_tc); in hclge_tm_update_kinfo_rss_size()724 vport->bw_limit = hdev->tm_info.pg_info[0].bw_limit; in hclge_tm_vport_tc_info_update()744 memcpy(kinfo->tc_info.prio_tc, hdev->tm_info.prio_tc, in hclge_tm_vport_tc_info_update()766 if (i < hdev->tm_info.num_tc) { in hclge_tm_tc_info_init()[all …]
19 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info()21 hdev->tm_info.pg_info[0].tc_dwrr[i] = 0; in hclge_ieee_ets_to_tm_info()24 hdev->tm_info.tc_info[i].tc_sch_mode = in hclge_ieee_ets_to_tm_info()26 hdev->tm_info.pg_info[0].tc_dwrr[i] = in hclge_ieee_ets_to_tm_info()54 ets->prio_tc[i] = hdev->tm_info.prio_tc[i]; in hclge_tm_info_to_ieee_ets()55 if (i < hdev->tm_info.num_tc) 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()60 if (hdev->tm_info.tc_info[i].tc_sch_mode == in hclge_tm_info_to_ieee_ets()117 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) in hclge_ets_tc_changed()139 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_sch_mode_validate()[all …]
1063 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg()1294 seq_printf(s, "enabled tc number: %u\n", hdev->tm_info.num_tc); in hclge_dbg_dump_tc()1326 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_tm_pg()
915 struct hclge_tm_info tm_info; member
96 struct tm *tm_info; in get_duration() local100 tm_info = gmtime(&duration); in get_duration()103 tm_info->tm_yday, in get_duration()104 tm_info->tm_hour, in get_duration()105 tm_info->tm_min, in get_duration()106 tm_info->tm_sec); in get_duration()