Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c227 static int hclge_fill_pri_array(struct hclge_dev *hdev, u8 *pri, u8 pri_id) in hclge_fill_pri_array() argument
231 tc = hdev->tm_info.prio_tc[pri_id]; in hclge_fill_pri_array()
245 pri[pri_id >> 1] |= tc << ((pri_id & 1) * 4); in hclge_fill_pri_array()
254 u8 pri_id; in hclge_up_to_tc_map() local
259 for (pri_id = 0; pri_id < HNAE3_MAX_USER_PRIO; pri_id++) { in hclge_up_to_tc_map()
260 ret = hclge_fill_pri_array(hdev, pri, pri_id); in hclge_up_to_tc_map()
333 static int hclge_tm_pri_weight_cfg(struct hclge_dev *hdev, u8 pri_id, in hclge_tm_pri_weight_cfg() argument
343 weight->pri_id = pri_id; in hclge_tm_pri_weight_cfg()
427 enum hclge_shap_bucket bucket, u8 pri_id, in hclge_tm_pri_shapping_cfg() argument
441 shap_cfg_cmd->pri_id = pri_id; in hclge_tm_pri_shapping_cfg()
[all …]
Dhclge_tm.h56 u8 pri_id; member
88 u8 pri_id; member
Dhclge_debugfs.c184 int rq_id, pri_id, qset_id; in hclge_dbg_dump_dcb() local
191 &port_id, &pri_id, &pg_id, &rq_id, &nq_id, &qset_id); in hclge_dbg_dump_dcb()
209 ret = hclge_dbg_cmd_send(hdev, desc, pri_id, 1, HCLGE_OPC_PRI_DFX_STS); in hclge_dbg_dump_dcb()
518 dev_info(&hdev->pdev->dev, "PRI pri_id: %u\n", priority_weight->pri_id); in hclge_dbg_dump_tm()
528 dev_info(&hdev->pdev->dev, "PRI_C pri_id: %u\n", shap_cfg_cmd->pri_id); in hclge_dbg_dump_tm()
539 dev_info(&hdev->pdev->dev, "PRI_P pri_id: %u\n", shap_cfg_cmd->pri_id); in hclge_dbg_dump_tm()
564 int pri_id, ret; in hclge_dbg_dump_tm_map() local
586 pri_id = map->priority; in hclge_dbg_dump_tm_map()
599 queue_id, qset_id, pri_id, tc_id); in hclge_dbg_dump_tm_map()