Searched refs:tc_weight (Results 1 – 5 of 5) sorted by relevance
249 u32 tc_weight[AQ_CFG_TCS_MAX]; in hw_atl2_hw_init_tx_tc_rate_limit() local271 tc_weight[tc] = 0; in hw_atl2_hw_init_tx_tc_rate_limit()275 tc_weight[tc] = (-1L + link_speed + in hw_atl2_hw_init_tx_tc_rate_limit()279 tc_weight[tc] = min(tc_weight[tc], max_weight); in hw_atl2_hw_init_tx_tc_rate_limit()280 sum_weight += tc_weight[tc]; in hw_atl2_hw_init_tx_tc_rate_limit()305 weight = tc_weight[tc]; in hw_atl2_hw_init_tx_tc_rate_limit()
342 u32 tc_weight[AQ_CFG_TCS_MAX]; in hw_atl_b0_hw_init_tx_tc_rate_limit() local361 tc_weight[tc] = 0; in hw_atl_b0_hw_init_tx_tc_rate_limit()365 tc_weight[tc] = (-1L + link_speed + in hw_atl_b0_hw_init_tx_tc_rate_limit()369 tc_weight[tc] = min(tc_weight[tc], max_weight); in hw_atl_b0_hw_init_tx_tc_rate_limit()370 sum_weight += tc_weight[tc]; in hw_atl_b0_hw_init_tx_tc_rate_limit()400 weight = tc_weight[tc]; in hw_atl_b0_hw_init_tx_tc_rate_limit()
101 u8 tc_weight[HNAE3_MAX_TC]; member
695 sch_mode_str = ets_weight->tc_weight[i] ? "dwrr" : "sp"; in hclge_dbg_dump_tc()697 i, sch_mode_str, ets_weight->tc_weight[i]); in hclge_dbg_dump_tc()
1233 ets_weight->tc_weight[i] = pg_info->tc_dwrr[i]; in hclge_tm_ets_tc_dwrr_cfg()