Home
last modified time | relevance | path

Searched refs:shap_cfg_cmd (Results 1 – 2 of 2) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/hisilicon/hns3/hns3pf/
Dhclge_tm.c383 struct hclge_pg_shapping_cmd *shap_cfg_cmd; in hclge_tm_pg_shapping_cfg() local
391 shap_cfg_cmd = (struct hclge_pg_shapping_cmd *)desc.data; in hclge_tm_pg_shapping_cfg()
393 shap_cfg_cmd->pg_id = pg_id; in hclge_tm_pg_shapping_cfg()
395 shap_cfg_cmd->pg_shapping_para = cpu_to_le32(shapping_para); in hclge_tm_pg_shapping_cfg()
402 struct hclge_port_shapping_cmd *shap_cfg_cmd; in hclge_tm_port_shaper_cfg() local
415 shap_cfg_cmd = (struct hclge_port_shapping_cmd *)desc.data; in hclge_tm_port_shaper_cfg()
421 shap_cfg_cmd->port_shapping_para = cpu_to_le32(shapping_para); in hclge_tm_port_shaper_cfg()
430 struct hclge_pri_shapping_cmd *shap_cfg_cmd; in hclge_tm_pri_shapping_cfg() local
439 shap_cfg_cmd = (struct hclge_pri_shapping_cmd *)desc.data; in hclge_tm_pri_shapping_cfg()
441 shap_cfg_cmd->pri_id = pri_id; in hclge_tm_pri_shapping_cfg()
[all …]
Dhclge_debugfs.c446 struct hclge_pri_shapping_cmd *shap_cfg_cmd; in hclge_dbg_dump_tm() local
527 shap_cfg_cmd = (struct hclge_pri_shapping_cmd *)desc.data; in hclge_dbg_dump_tm()
528 dev_info(&hdev->pdev->dev, "PRI_C pri_id: %u\n", shap_cfg_cmd->pri_id); in hclge_dbg_dump_tm()
530 shap_cfg_cmd->pri_shapping_para); in hclge_dbg_dump_tm()
538 shap_cfg_cmd = (struct hclge_pri_shapping_cmd *)desc.data; in hclge_dbg_dump_tm()
539 dev_info(&hdev->pdev->dev, "PRI_P pri_id: %u\n", shap_cfg_cmd->pri_id); in hclge_dbg_dump_tm()
541 shap_cfg_cmd->pri_shapping_para); in hclge_dbg_dump_tm()