Searched refs:pri_id (Results 1 – 3 of 3) sorted by relevance
| /Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
| D | hclge_tm.h | 67 u8 pri_id; member 72 u8 pri_id; member 114 u8 pri_id; member 242 int hclge_tm_get_pri_sch_mode(struct hclge_dev *hdev, u8 pri_id, u8 *mode); 243 int hclge_tm_get_pri_weight(struct hclge_dev *hdev, u8 pri_id, u8 *weight); 244 int hclge_tm_get_pri_shaper(struct hclge_dev *hdev, u8 pri_id,
|
| D | hclge_tm.c | 228 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() 352 static int hclge_tm_pri_weight_cfg(struct hclge_dev *hdev, u8 pri_id, in hclge_tm_pri_weight_cfg() argument 362 weight->pri_id = pri_id; in hclge_tm_pri_weight_cfg() 455 enum hclge_shap_bucket bucket, u8 pri_id, in hclge_tm_pri_shapping_cfg() argument 469 shap_cfg_cmd->pri_id = pri_id; in hclge_tm_pri_shapping_cfg() [all …]
|
| D | hclge_debugfs.c | 427 u8 pri_id, pri_num; in hclge_dbg_dump_dcb_pri() local 436 for (pri_id = 0; pri_id < pri_num; pri_id++) { in hclge_dbg_dump_dcb_pri() 437 ret = hclge_dbg_cmd_send(hdev, &desc, pri_id, 1, in hclge_dbg_dump_dcb_pri() 446 pri_id, req.bit0, req.bit1, req.bit2); in hclge_dbg_dump_dcb_pri() 876 u8 pri_id; in hclge_dbg_dump_tm_map() local 885 ret = hclge_tm_get_qset_map_pri(hdev, qset_id, &pri_id, in hclge_dbg_dump_tm_map() 898 queue_id, qset_id, pri_id, tc_id); in hclge_dbg_dump_tm_map()
|