Searched refs:pri_id (Results 1 – 2 of 2) sorted by relevance
225 static int hclge_fill_pri_array(struct hclge_dev *hdev, u8 *pri, u8 pri_id) in hclge_fill_pri_array() argument229 tc = hdev->tm_info.prio_tc[pri_id]; in hclge_fill_pri_array()243 pri[pri_id >> 1] |= tc << ((pri_id & 1) * 4); in hclge_fill_pri_array()252 u8 pri_id; in hclge_up_to_tc_map() local257 for (pri_id = 0; pri_id < HNAE3_MAX_USER_PRIO; pri_id++) { in hclge_up_to_tc_map()258 ret = hclge_fill_pri_array(hdev, pri, pri_id); in hclge_up_to_tc_map()331 static int hclge_tm_pri_weight_cfg(struct hclge_dev *hdev, u8 pri_id, in hclge_tm_pri_weight_cfg() argument341 weight->pri_id = pri_id; in hclge_tm_pri_weight_cfg()420 enum hclge_shap_bucket bucket, u8 pri_id, in hclge_tm_pri_shapping_cfg() argument436 shap_cfg_cmd->pri_id = pri_id; in hclge_tm_pri_shapping_cfg()[all …]
49 u8 pri_id; member75 u8 pri_id; member