Searched refs:shap_cfg_cmd (Results 1 – 1 of 1) sorted by relevance
335 struct hns3_port_shapping_cmd *shap_cfg_cmd; in hns3_dcb_port_shaper_cfg() local369 hns3_set_bit(shap_cfg_cmd->flag, HNS3_TM_RATE_VLD_B, 1); in hns3_dcb_port_shaper_cfg()378 struct hns3_pg_shapping_cmd *shap_cfg_cmd; in hns3_dcb_pg_shapping_cfg() local386 shap_cfg_cmd = (struct hns3_pg_shapping_cmd *)desc.data; in hns3_dcb_pg_shapping_cfg()388 shap_cfg_cmd->pg_id = pg_id; in hns3_dcb_pg_shapping_cfg()399 shap_cfg_cmd->pg_rate = rte_cpu_to_le_32(rate); in hns3_dcb_pg_shapping_cfg()400 hns3_set_bit(shap_cfg_cmd->flag, HNS3_TM_RATE_VLD_B, 1); in hns3_dcb_pg_shapping_cfg()505 struct hns3_pri_shapping_cmd *shap_cfg_cmd; in hns3_dcb_pri_shapping_cfg() local516 shap_cfg_cmd->pri_id = pri_id; in hns3_dcb_pri_shapping_cfg()527 shap_cfg_cmd->pri_rate = rte_cpu_to_le_32(rate); in hns3_dcb_pri_shapping_cfg()[all …]