Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c246 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()
284 u8 pri_id, tc_id, i, j; in hclge_dscp_to_tc_map() local
293 pri_id = pri_id == HNAE3_PRIO_ID_INVALID ? 0 : pri_id; in hclge_dscp_to_tc_map()
302 pri_id = pri_id == HNAE3_PRIO_ID_INVALID ? 0 : pri_id; in hclge_dscp_to_tc_map()
403 weight->pri_id = pri_id; in hclge_tm_pri_weight_cfg()
510 shap_cfg_cmd->pri_id = pri_id; in hclge_tm_pri_shapping_cfg()
1872 pri_sch_mode->pri_id = pri_id; in hclge_tm_get_pri_sch_mode()
1892 priority_weight->pri_id = pri_id; in hclge_tm_get_pri_weight()
[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
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_id); in hclge_dbg_dump_tm_map()