Searched refs:ets_weight (Results 1 – 2 of 2) sorted by relevance
1222 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_tm_ets_tc_dwrr_cfg() local1227 ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data; in hclge_tm_ets_tc_dwrr_cfg()1233 ets_weight->tc_weight[i] = pg_info->tc_dwrr[i]; in hclge_tm_ets_tc_dwrr_cfg()1236 ets_weight->weight_offset = DEFAULT_TC_OFFSET; in hclge_tm_ets_tc_dwrr_cfg()
1303 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_dbg_dump_tc() local1324 ets_weight = (struct hclge_ets_tc_weight_cmd *)desc.data; in hclge_dbg_dump_tc()1329 ets_weight->weight_offset); in hclge_dbg_dump_tc()1333 sch_mode_str = ets_weight->tc_weight[i] ? "dwrr" : "sp"; in hclge_dbg_dump_tc()1335 i, sch_mode_str, ets_weight->tc_weight[i]); in hclge_dbg_dump_tc()