Searched refs:tm_info (Results 1 – 6 of 6) 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 …]
1534 hdev->tm_info.num_tc = 1; in hclge_init_tc_config()1537 for (i = 0; i < hdev->tm_info.num_tc; i++) in hclge_init_tc_config()1562 hdev->tm_info.num_pg = 1; in hclge_configure()1564 hdev->tm_info.hw_pfc_map = 0; in hclge_configure()1730 vport->alloc_tqps / hdev->tm_info.num_tc); in hclge_assign_tqp()1734 (hdev->num_nic_msi - 1) / hdev->tm_info.num_tc); in hclge_assign_tqp()1955 if ((hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_pfc_priv_num()1974 !(hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_no_pfc_priv_num()2118 if (hdev->tm_info.hw_pfc_map & BIT(i)) { in hclge_rx_buf_calc_all()2147 !(hdev->tm_info.hw_pfc_map & mask)) { in hclge_drop_nopfc_buf_till_fit()[all …]
1117 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg()1327 hdev->tm_info.num_tc); in hclge_dbg_dump_tc()1393 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
78 struct tm *tm_info; in get_duration() local82 tm_info = gmtime(&duration); in get_duration()85 tm_info->tm_yday, in get_duration()86 tm_info->tm_hour, in get_duration()87 tm_info->tm_min, in get_duration()88 tm_info->tm_sec); in get_duration()