Home
last modified time | relevance | path

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

/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.h25 u8 pg_id; member
53 u8 pg_id; member
96 u8 pg_id; member
Dhclge_tm.c268 u8 pg_id, u8 pri_bit_map) in hclge_tm_pg_to_pri_map_cfg() argument
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() argument
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
454 if (hdev->tm_info.pg_info[pg_id].pg_sch_mode == HCLGE_SCH_MODE_DWRR) in hclge_tm_pg_schd_mode_cfg()
459 desc.data[0] = cpu_to_le32(pg_id); in hclge_tm_pg_schd_mode_cfg()
663 hdev->tm_info.pg_info[i].pg_id = i; in hclge_tm_pg_info_init()
Dhclge_debugfs.c290 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()
587 pg_to_pri_map->pg_id); in hclge_dbg_dump_tm()
624 dev_info(&hdev->pdev->dev, "PG pg_id: %u\n", pg_weight->pg_id); in hclge_dbg_dump_tm()
Dhclge_main.h331 u8 pg_id; member
/drivers/target/
Dtarget_core_alua.c1315 int pg_id, int state) in core_alua_allocate_lba_map_mem() argument
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()
Dtarget_core_configfs.c2424 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()