Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c978 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_tm_ets_tc_dwrr_cfg() local
983 ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data; in hclge_tm_ets_tc_dwrr_cfg()
988 ets_weight->tc_weight[i] = DEFAULT_TC_WEIGHT; in hclge_tm_ets_tc_dwrr_cfg()
995 ets_weight->tc_weight[i] = pg_info->tc_dwrr[i]; in hclge_tm_ets_tc_dwrr_cfg()
998 ets_weight->weight_offset = DEFAULT_TC_OFFSET; in hclge_tm_ets_tc_dwrr_cfg()
Dhclge_debugfs.c320 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_dbg_dump_tc() local
338 ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data; in hclge_dbg_dump_tc()
342 ets_weight->weight_offset); in hclge_dbg_dump_tc()
345 hclge_title_idx_print(hdev, ets_weight->tc_weight[i], i, in hclge_dbg_dump_tc()