Searched refs:ets_weight (Results 1 – 2 of 2) sorted by relevance
978 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_tm_ets_tc_dwrr_cfg() local983 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()
320 struct hclge_ets_tc_weight_cmd *ets_weight; in hclge_dbg_dump_tc() local338 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()