Home
last modified time | relevance | path

Searched refs:pri_id (Results 1 - 6 of 6) sorted by relevance

/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c228 static int hclge_fill_pri_array(struct hclge_dev *hdev, u8 *pri, u8 pri_id) in hclge_fill_pri_array() argument
232 tc = hdev->tm_info.prio_tc[pri_id]; in hclge_fill_pri_array()
246 pri[pri_id >> 1] |= tc << ((pri_id & 1) * 4); in hclge_fill_pri_array()
255 u8 pri_id; in hclge_up_to_tc_map() local
260 for (pri_id = 0; pri_id < HNAE3_MAX_USER_PRIO; pri_id++) { in hclge_up_to_tc_map()
261 ret = hclge_fill_pri_array(hdev, pri, pri_id); in hclge_up_to_tc_map()
284 u8 pri_id, tc_i in hclge_dscp_to_tc_map() local
393 hclge_tm_pri_weight_cfg(struct hclge_dev *hdev, u8 pri_id, u8 dwrr) hclge_tm_pri_weight_cfg() argument
495 hclge_tm_pri_shapping_cfg(struct hclge_dev *hdev, enum hclge_shap_bucket bucket, u8 pri_id, u32 shapping_para, u32 rate) hclge_tm_pri_shapping_cfg() argument
537 hclge_tm_pri_schd_mode_cfg(struct hclge_dev *hdev, u8 pri_id) hclge_tm_pri_schd_mode_cfg() argument
1377 hclge_tm_schd_mode_tc_base_cfg(struct hclge_dev *hdev, u8 pri_id) hclge_tm_schd_mode_tc_base_cfg() argument
1864 hclge_tm_get_pri_sch_mode(struct hclge_dev *hdev, u8 pri_id, u8 *mode) hclge_tm_get_pri_sch_mode() argument
1884 hclge_tm_get_pri_weight(struct hclge_dev *hdev, u8 pri_id, u8 *weight) hclge_tm_get_pri_weight() argument
1904 hclge_tm_get_pri_shaper(struct hclge_dev *hdev, u8 pri_id, enum hclge_opcode_type cmd, struct hclge_tm_shaper_para *para) hclge_tm_get_pri_shaper() argument
[all...]
H A Dhclge_tm.h79 u8 pri_id; member
84 u8 pri_id; member
126 u8 pri_id; member
261 int hclge_tm_get_pri_sch_mode(struct hclge_dev *hdev, u8 pri_id, u8 *mode);
262 int hclge_tm_get_pri_weight(struct hclge_dev *hdev, u8 pri_id, u8 *weight);
263 int hclge_tm_get_pri_shaper(struct hclge_dev *hdev, u8 pri_id,
H A Dhclge_debugfs.c444 u8 pri_id, pri_num; in hclge_dbg_dump_dcb_pri() local
452 "pri_id pri_mask pri_cshaping_pass pri_pshaping_pass\n"); in hclge_dbg_dump_dcb_pri()
453 for (pri_id = 0; pri_id < pri_num; pri_id++) { in hclge_dbg_dump_dcb_pri()
454 ret = hclge_dbg_cmd_send(hdev, &desc, pri_id, 1, in hclge_dbg_dump_dcb_pri()
463 pri_id, req.bit0, req.bit1, req.bit2); in hclge_dbg_dump_dcb_pri()
891 u8 pri_id; in hclge_dbg_dump_tm_map() local
900 ret = hclge_tm_get_qset_map_pri(hdev, qset_id, &pri_id, in hclge_dbg_dump_tm_map()
913 queue_id, qset_id, pri_id, tc_i in hclge_dbg_dump_tm_map()
[all...]
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c226 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
426 hclge_tm_pri_shapping_cfg(struct hclge_dev *hdev, enum hclge_shap_bucket bucket, u8 pri_id, u32 shapping_para) hclge_tm_pri_shapping_cfg() argument
464 hclge_tm_pri_schd_mode_cfg(struct hclge_dev *hdev, u8 pri_id) hclge_tm_pri_schd_mode_cfg() argument
[all...]
H A Dhclge_tm.h58 u8 pri_id; member
90 u8 pri_id; member
H A Dhclge_debugfs.c289 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()
527 dev_info(&hdev->pdev->dev, "PRI_SCH pri_id: %u\n", in hclge_dbg_dump_tm_pg()
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; hclge_dbg_dump_tm_map() local
[all...]

Completed in 13 milliseconds