Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c225 static int hclge_fill_pri_array(struct hclge_dev *hdev, u8 *pri, u8 pri_id) in hclge_fill_pri_array() argument
229 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() local
257 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() argument
341 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() argument
436 shap_cfg_cmd->pri_id = pri_id; in hclge_tm_pri_shapping_cfg()
[all …]
Dhclge_tm.h49 u8 pri_id; member
75 u8 pri_id; member