Home
last modified time | relevance | path

Searched refs:tc_weight (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl2/
Dhw_atl2.c249 u32 tc_weight[AQ_CFG_TCS_MAX]; in hw_atl2_hw_init_tx_tc_rate_limit() local
271 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()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_b0.c342 u32 tc_weight[AQ_CFG_TCS_MAX]; in hw_atl_b0_hw_init_tx_tc_rate_limit() local
361 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()
/linux-6.6.21/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.h101 u8 tc_weight[HNAE3_MAX_TC]; member
Dhclge_debugfs.c695 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()
Dhclge_tm.c1233 ets_weight->tc_weight[i] = pg_info->tc_dwrr[i]; in hclge_tm_ets_tc_dwrr_cfg()