Home
last modified time | relevance | path

Searched refs:ets_weight (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c1030 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_tm_ets_tc_dwrr_cfg() local
1035 ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data; in hclge_tm_ets_tc_dwrr_cfg()
1040 ets_weight->tc_weight[i] = DEFAULT_TC_WEIGHT; in hclge_tm_ets_tc_dwrr_cfg()
1047 ets_weight->tc_weight[i] = pg_info->tc_dwrr[i]; in hclge_tm_ets_tc_dwrr_cfg()
1050 ets_weight->weight_offset = DEFAULT_TC_OFFSET; in hclge_tm_ets_tc_dwrr_cfg()
Dhclge_debugfs.c442 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_dbg_dump_tc() local
460 ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data; in hclge_dbg_dump_tc()
465 ets_weight->weight_offset); in hclge_dbg_dump_tc()
468 hclge_print_tc_info(hdev, ets_weight->tc_weight[i], i); in hclge_dbg_dump_tc()