Searched refs:pri_id (Results 1 – 3 of 3) sorted by relevance
/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
D | hclge_tm.c | 226 static int hclge_fill_pri_array(struct hclge_dev *hdev, u8 *pri, u8 pri_id) in hclge_fill_pri_array() argument 230 tc = hdev->tm_info.prio_tc[pri_id]; in hclge_fill_pri_array() 244 pri[pri_id >> 1] |= tc << ((pri_id & 1) * 4); in hclge_fill_pri_array() 253 u8 pri_id; in hclge_up_to_tc_map() local 258 for (pri_id = 0; pri_id < HNAE3_MAX_USER_PRIO; pri_id++) { in hclge_up_to_tc_map() 259 ret = hclge_fill_pri_array(hdev, pri, pri_id); in hclge_up_to_tc_map() 332 static int hclge_tm_pri_weight_cfg(struct hclge_dev *hdev, u8 pri_id, in hclge_tm_pri_weight_cfg() argument 342 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 …]
|
D | hclge_tm.h | 58 u8 pri_id; member 90 u8 pri_id; member
|
D | hclge_debugfs.c | 289 int rq_id, pri_id, qset_id; in hclge_dbg_dump_dcb() local 296 &port_id, &pri_id, &pg_id, &rq_id, &nq_id, &qset_id); in hclge_dbg_dump_dcb() 315 ret = hclge_dbg_cmd_send(hdev, desc, pri_id, 1, cmd); in hclge_dbg_dump_dcb() 645 dev_info(&hdev->pdev->dev, "PRI pri_id: %u\n", priority_weight->pri_id); in hclge_dbg_dump_tm() 655 dev_info(&hdev->pdev->dev, "PRI_C pri_id: %u\n", shap_cfg_cmd->pri_id); in hclge_dbg_dump_tm() 666 dev_info(&hdev->pdev->dev, "PRI_P pri_id: %u\n", shap_cfg_cmd->pri_id); in hclge_dbg_dump_tm() 691 int pri_id, ret; in hclge_dbg_dump_tm_map() local 713 pri_id = map->priority; in hclge_dbg_dump_tm_map() 726 queue_id, qset_id, pri_id, tc_id); in hclge_dbg_dump_tm_map()
|