Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.h63 __le16 qset_id; member
255 int hclge_tm_get_qset_map_pri(struct hclge_dev *hdev, u16 qset_id, u8 *priority,
257 int hclge_tm_get_qset_sch_mode(struct hclge_dev *hdev, u16 qset_id, u8 *mode);
258 int hclge_tm_get_qset_weight(struct hclge_dev *hdev, u16 qset_id, u8 *weight);
259 int hclge_tm_get_qset_shaper(struct hclge_dev *hdev, u16 qset_id,
266 int hclge_tm_get_q_to_qs_map(struct hclge_dev *hdev, u16 q_id, u16 *qset_id);
Dhclge_tm.c372 map->qset_id = cpu_to_le16(qs_id | HCLGE_TM_Q_QS_LINK_VLD_MSK); in hclge_tm_q_to_qs_map_cfg()
1772 int hclge_tm_get_qset_map_pri(struct hclge_dev *hdev, u16 qset_id, u8 *priority, in hclge_tm_get_qset_map_pri() argument
1781 map->qs_id = cpu_to_le16(qset_id); in hclge_tm_get_qset_map_pri()
1794 int hclge_tm_get_qset_sch_mode(struct hclge_dev *hdev, u16 qset_id, u8 *mode) in hclge_tm_get_qset_sch_mode() argument
1802 qs_sch_mode->qs_id = cpu_to_le16(qset_id); in hclge_tm_get_qset_sch_mode()
1814 int hclge_tm_get_qset_weight(struct hclge_dev *hdev, u16 qset_id, u8 *weight) in hclge_tm_get_qset_weight() argument
1822 qs_weight->qs_id = cpu_to_le16(qset_id); in hclge_tm_get_qset_weight()
1834 int hclge_tm_get_qset_shaper(struct hclge_dev *hdev, u16 qset_id, in hclge_tm_get_qset_shaper() argument
1844 shap_cfg_cmd->qs_id = cpu_to_le16(qset_id); in hclge_tm_get_qset_shaper()
1848 "failed to get qset %u shaper, ret = %d\n", qset_id, in hclge_tm_get_qset_shaper()
[all …]
Dhclge_debugfs.c413 u16 qset_id, qset_num; in hclge_dbg_dump_dcb_qset() local
422 for (qset_id = 0; qset_id < qset_num; qset_id++) { in hclge_dbg_dump_dcb_qset()
423 ret = hclge_dbg_cmd_send(hdev, &desc, qset_id, 1, in hclge_dbg_dump_dcb_qset()
432 qset_id, req.bit0, req.bit1, req.bit2, in hclge_dbg_dump_dcb_qset()
888 u16 qset_id; in hclge_dbg_dump_tm_map() local
896 ret = hclge_tm_get_q_to_qs_map(hdev, queue_id, &qset_id); in hclge_dbg_dump_tm_map()
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()