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 ets->tc_tx_bw[i] = hdev->tm_info.pg_info[0].tc_dwrr[i]; in hclge_tm_info_to_ieee_ets()57 if (hdev->tm_info.tc_info[i].tc_sch_mode == in hclge_tm_info_to_ieee_ets()114 if (ets->prio_tc[i] != hdev->tm_info.prio_tc[i]) in hclge_ets_tc_changed()135 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_sch_mode_validate()149 if (hdev->tm_info.tc_info[i].tc_sch_mode != in hclge_ets_sch_mode_validate()[all …]
458 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg()668 hdev->tm_info.num_tc); in hclge_dbg_dump_tc()677 hdev->tm_info.pg_info[0].tc_dwrr[i]); in hclge_dbg_dump_tc()735 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in __hclge_dbg_dump_tm_pg()
1573 hdev->tm_info.num_tc = 1; in hclge_init_tc_config()1576 for (i = 0; i < hdev->tm_info.num_tc; i++) in hclge_init_tc_config()1601 hdev->tm_info.num_pg = 1; in hclge_configure()1603 hdev->tm_info.hw_pfc_map = 0; in hclge_configure()1766 vport->alloc_tqps / hdev->tm_info.num_tc); in hclge_assign_tqp()1770 (hdev->num_nic_msi - 1) / hdev->tm_info.num_tc); in hclge_assign_tqp()1990 if ((hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_pfc_priv_num()2009 !(hdev->tm_info.hw_pfc_map & BIT(i)) && in hclge_get_no_pfc_priv_num()2153 if (hdev->tm_info.hw_pfc_map & BIT(i)) { in hclge_rx_buf_calc_all()2182 !(hdev->tm_info.hw_pfc_map & mask)) { in hclge_drop_nopfc_buf_till_fit()[all …]
891 struct hclge_tm_info tm_info; member
77 struct tm *tm_info; in get_duration() local81 tm_info = gmtime(&duration); in get_duration()84 tm_info->tm_yday, in get_duration()85 tm_info->tm_hour, in get_duration()86 tm_info->tm_min, in get_duration()87 tm_info->tm_sec); in get_duration()