Searched refs:shap_cfg_cmd (Results 1 – 1 of 1) sorted by relevance
336 struct hns3_port_shapping_cmd *shap_cfg_cmd; in hns3_dcb_port_shaper_cfg() local369 shap_cfg_cmd->port_rate = rte_cpu_to_le_32(speed); in hns3_dcb_port_shaper_cfg()370 hns3_set_bit(shap_cfg_cmd->flag, HNS3_TM_RATE_VLD_B, 1); in hns3_dcb_port_shaper_cfg()391 struct hns3_pg_shapping_cmd *shap_cfg_cmd; in hns3_dcb_pg_shapping_cfg() local399 shap_cfg_cmd = (struct hns3_pg_shapping_cmd *)desc.data; in hns3_dcb_pg_shapping_cfg()401 shap_cfg_cmd->pg_id = pg_id; in hns3_dcb_pg_shapping_cfg()412 shap_cfg_cmd->pg_rate = rte_cpu_to_le_32(rate); in hns3_dcb_pg_shapping_cfg()413 hns3_set_bit(shap_cfg_cmd->flag, HNS3_TM_RATE_VLD_B, 1); in hns3_dcb_pg_shapping_cfg()526 struct hns3_pri_shapping_cmd *shap_cfg_cmd; in hns3_dcb_pri_shapping_cfg() local537 shap_cfg_cmd->pri_id = pri_id; in hns3_dcb_pri_shapping_cfg()[all …]