/kernel/linux/linux-6.6/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_tm.h | 40 u8 pg_id; member 74 u8 pg_id; member 135 u8 pg_id; member 268 int hclge_tm_get_pg_to_pri_map(struct hclge_dev *hdev, u8 pg_id, 270 int hclge_tm_get_pg_weight(struct hclge_dev *hdev, u8 pg_id, u8 *weight); 271 int hclge_tm_get_pg_sch_mode(struct hclge_dev *hdev, u8 pg_id, u8 *mode); 272 int hclge_tm_get_pg_shaper(struct hclge_dev *hdev, u8 pg_id,
|
H A D | hclge_tm.c | 311 u8 pg_id, u8 pri_bit_map) in hclge_tm_pg_to_pri_map_cfg() 320 map->pg_id = pg_id; in hclge_tm_pg_to_pri_map_cfg() 377 static int hclge_tm_pg_weight_cfg(struct hclge_dev *hdev, u8 pg_id, in hclge_tm_pg_weight_cfg() argument 387 weight->pg_id = pg_id; in hclge_tm_pg_weight_cfg() 440 enum hclge_shap_bucket bucket, u8 pg_id, in hclge_tm_pg_shapping_cfg() 453 shap_cfg_cmd->pg_id = pg_id; in hclge_tm_pg_shapping_cfg() 521 static int hclge_tm_pg_schd_mode_cfg(struct hclge_dev *hdev, u8 pg_id) in hclge_tm_pg_schd_mode_cfg() argument 310 hclge_tm_pg_to_pri_map_cfg(struct hclge_dev *hdev, u8 pg_id, u8 pri_bit_map) hclge_tm_pg_to_pri_map_cfg() argument 439 hclge_tm_pg_shapping_cfg(struct hclge_dev *hdev, enum hclge_shap_bucket bucket, u8 pg_id, u32 shapping_para, u32 rate) hclge_tm_pg_shapping_cfg() argument 1999 hclge_tm_get_pg_to_pri_map(struct hclge_dev *hdev, u8 pg_id, u8 *pri_bit_map) hclge_tm_get_pg_to_pri_map() argument 2020 hclge_tm_get_pg_weight(struct hclge_dev *hdev, u8 pg_id, u8 *weight) hclge_tm_get_pg_weight() argument 2040 hclge_tm_get_pg_sch_mode(struct hclge_dev *hdev, u8 pg_id, u8 *mode) hclge_tm_get_pg_sch_mode() argument 2058 hclge_tm_get_pg_shaper(struct hclge_dev *hdev, u8 pg_id, enum hclge_opcode_type cmd, struct hclge_tm_shaper_para *para) hclge_tm_get_pg_shaper() argument [all...] |
H A D | hclge_debugfs.c | 474 u8 pg_id; in hclge_dbg_dump_dcb_pg() local 478 "pg_id pg_mask pg_cshaping_pass pg_pshaping_pass\n"); in hclge_dbg_dump_dcb_pg() 479 for (pg_id = 0; pg_id < hdev->tm_info.num_pg; pg_id++) { in hclge_dbg_dump_dcb_pg() 480 ret = hclge_dbg_cmd_send(hdev, &desc, pg_id, 1, in hclge_dbg_dump_dcb_pg() 489 pg_id, req.bit0, req.bit1, req.bit2); in hclge_dbg_dump_dcb_pg() 741 u8 pg_id, sch_mode, weight, pri_bit_map, i, j; in __hclge_dbg_dump_tm_pg() local 755 for (pg_id = 0; pg_id < hde in __hclge_dbg_dump_tm_pg() [all...] |
H A D | hclge_main.h | 331 u8 pg_id; member
|
/kernel/linux/linux-5.10/drivers/net/ethernet/hisilicon/hns3/hns3pf/ |
H A D | hclge_tm.h | 25 u8 pg_id; member 53 u8 pg_id; member 96 u8 pg_id; member
|
H A D | hclge_tm.c | 268 u8 pg_id, u8 pri_bit_map) in hclge_tm_pg_to_pri_map_cfg() 277 map->pg_id = pg_id; in hclge_tm_pg_to_pri_map_cfg() 316 static int hclge_tm_pg_weight_cfg(struct hclge_dev *hdev, u8 pg_id, in hclge_tm_pg_weight_cfg() argument 326 weight->pg_id = pg_id; in hclge_tm_pg_weight_cfg() 379 enum hclge_shap_bucket bucket, u8 pg_id, in hclge_tm_pg_shapping_cfg() 392 shap_cfg_cmd->pg_id = pg_id; in hclge_tm_pg_shapping_cfg() 448 static int hclge_tm_pg_schd_mode_cfg(struct hclge_dev *hdev, u8 pg_id) in hclge_tm_pg_schd_mode_cfg() argument 267 hclge_tm_pg_to_pri_map_cfg(struct hclge_dev *hdev, u8 pg_id, u8 pri_bit_map) hclge_tm_pg_to_pri_map_cfg() argument 378 hclge_tm_pg_shapping_cfg(struct hclge_dev *hdev, enum hclge_shap_bucket bucket, u8 pg_id, u32 shapping_para) hclge_tm_pg_shapping_cfg() argument [all...] |
H A D | hclge_debugfs.c | 290 int port_id, nq_id, pg_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() 325 ret = hclge_dbg_cmd_send(hdev, desc, pg_id, 1, cmd); in hclge_dbg_dump_dcb() 487 dev_info(&hdev->pdev->dev, "PG_C pg_id: %u\n", pg_shap_cfg_cmd->pg_id); in hclge_dbg_dump_tm_pg() 498 dev_info(&hdev->pdev->dev, "PG_P pg_id: %u\n", pg_shap_cfg_cmd->pg_id); in hclge_dbg_dump_tm_pg() 518 dev_info(&hdev->pdev->dev, "PG_SCH pg_id: %u\n", in hclge_dbg_dump_tm_pg() 587 pg_to_pri_map->pg_id); in hclge_dbg_dump_tm() 624 dev_info(&hdev->pdev->dev, "PG pg_id in hclge_dbg_dump_tm() [all...] |
H A D | hclge_main.h | 331 u8 pg_id; member
|
/kernel/linux/linux-5.10/drivers/target/ |
H A D | target_core_alua.c | 1315 int pg_id, int state) in core_alua_allocate_lba_map_mem() 1321 if (lba_map_mem->lba_map_mem_alua_pg_id == pg_id) { in core_alua_allocate_lba_map_mem() 1322 pr_err("Duplicate pg_id %d in lba_map\n", pg_id); in core_alua_allocate_lba_map_mem() 1333 lba_map_mem->lba_map_mem_alua_pg_id = pg_id; in core_alua_allocate_lba_map_mem() 1314 core_alua_allocate_lba_map_mem(struct t10_alua_lba_map *lba_map, int pg_id, int state) core_alua_allocate_lba_map_mem() argument
|
H A D | target_core_configfs.c | 2424 int ret = 0, num = 0, pg_id, alua_state; in target_dev_lba_map_store() local 2474 while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) { in target_dev_lba_map_store() 2495 pg_id, alua_state); in target_dev_lba_map_store() 2499 pg_id, state, num); in target_dev_lba_map_store()
|
/kernel/linux/linux-6.6/drivers/target/ |
H A D | target_core_alua.c | 1289 int pg_id, int state) in core_alua_allocate_lba_map_mem() 1295 if (lba_map_mem->lba_map_mem_alua_pg_id == pg_id) { in core_alua_allocate_lba_map_mem() 1296 pr_err("Duplicate pg_id %d in lba_map\n", pg_id); in core_alua_allocate_lba_map_mem() 1307 lba_map_mem->lba_map_mem_alua_pg_id = pg_id; in core_alua_allocate_lba_map_mem() 1288 core_alua_allocate_lba_map_mem(struct t10_alua_lba_map *lba_map, int pg_id, int state) core_alua_allocate_lba_map_mem() argument
|
H A D | target_core_configfs.c | 2527 int ret = 0, num = 0, pg_id, alua_state; in target_dev_lba_map_store() local 2577 while (sscanf(ptr, "%d:%c", &pg_id, &state) == 2) { in target_dev_lba_map_store() 2598 pg_id, alua_state); in target_dev_lba_map_store() 2602 pg_id, state, num); in target_dev_lba_map_store()
|