Home
last modified time | relevance | path

Searched refs:pg_id (Results 1 – 6 of 6) sorted by relevance

/Linux-v5.15/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.h28 u8 pg_id; member
62 u8 pg_id; member
123 u8 pg_id; member
249 int hclge_tm_get_pg_to_pri_map(struct hclge_dev *hdev, u8 pg_id,
251 int hclge_tm_get_pg_weight(struct hclge_dev *hdev, u8 pg_id, u8 *weight);
252 int hclge_tm_get_pg_sch_mode(struct hclge_dev *hdev, u8 pg_id, u8 *mode);
253 int hclge_tm_get_pg_shaper(struct hclge_dev *hdev, u8 pg_id,
Dhclge_tm.c270 u8 pg_id, u8 pri_bit_map) in hclge_tm_pg_to_pri_map_cfg() argument
279 map->pg_id = pg_id; in hclge_tm_pg_to_pri_map_cfg()
336 static int hclge_tm_pg_weight_cfg(struct hclge_dev *hdev, u8 pg_id, in hclge_tm_pg_weight_cfg() argument
346 weight->pg_id = pg_id; in hclge_tm_pg_weight_cfg()
399 enum hclge_shap_bucket bucket, u8 pg_id, in hclge_tm_pg_shapping_cfg() argument
412 shap_cfg_cmd->pg_id = pg_id; in hclge_tm_pg_shapping_cfg()
480 static int hclge_tm_pg_schd_mode_cfg(struct hclge_dev *hdev, u8 pg_id) in hclge_tm_pg_schd_mode_cfg() argument
486 if (hdev->tm_info.pg_info[pg_id].pg_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pg_schd_mode_cfg()
491 desc.data[0] = cpu_to_le32(pg_id); in hclge_tm_pg_schd_mode_cfg()
743 hdev->tm_info.pg_info[i].pg_id = i; in hclge_tm_pg_info_init()
[all …]
Dhclge_debugfs.c457 u8 pg_id; in hclge_dbg_dump_dcb_pg() local
462 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg()
463 ret = hclge_dbg_cmd_send(hdev, &desc, pg_id, 1, in hclge_dbg_dump_dcb_pg()
472 pg_id, req.bit0, req.bit1, req.bit2); in hclge_dbg_dump_dcb_pg()
725 u8 pg_id, sch_mode, weight, pri_bit_map, i, j; in __hclge_dbg_dump_tm_pg() local
739 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in __hclge_dbg_dump_tm_pg()
740 ret = hclge_tm_get_pg_to_pri_map(hdev, pg_id, &pri_bit_map); in __hclge_dbg_dump_tm_pg()
744 ret = hclge_tm_get_pg_sch_mode(hdev, pg_id, &sch_mode); in __hclge_dbg_dump_tm_pg()
748 ret = hclge_tm_get_pg_weight(hdev, pg_id, &weight); in __hclge_dbg_dump_tm_pg()
752 ret = hclge_tm_get_pg_shaper(hdev, pg_id, in __hclge_dbg_dump_tm_pg()
[all …]
Dhclge_main.h363 u8 pg_id; member
/Linux-v5.15/drivers/target/
Dtarget_core_alua.c1287 int pg_id, int state) in core_alua_allocate_lba_map_mem() argument
1293 if (lba_map_mem->lba_map_mem_alua_pg_id == pg_id) { in core_alua_allocate_lba_map_mem()
1294 pr_err("Duplicate pg_id %d in lba_map\n", pg_id); in core_alua_allocate_lba_map_mem()
1305 lba_map_mem->lba_map_mem_alua_pg_id = pg_id; in core_alua_allocate_lba_map_mem()
Dtarget_core_configfs.c2468 int ret = 0, num = 0, pg_id, alua_state; in target_dev_lba_map_store() local
2518 while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) { in target_dev_lba_map_store()
2539 pg_id, alua_state); in target_dev_lba_map_store()
2543 pg_id, state, num); in target_dev_lba_map_store()