Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.h68 u8 tc_weight[HNAE3_MAX_TC]; member
Dhclge_tm.c1055 ets_weight->tc_weight[i] = pg_info->tc_dwrr[i]; in hclge_tm_ets_tc_dwrr_cfg()
Dhclge_debugfs.c468 hclge_print_tc_info(hdev, ets_weight->tc_weight[i], i); in hclge_dbg_dump_tc()