Searched refs:shap_cfg_cmd (Results 1 – 1 of 1) sorted by relevance
402 struct hclge_pg_shapping_cmd *shap_cfg_cmd; in hclge_tm_pg_shapping_cfg() local410 shap_cfg_cmd = (struct hclge_pg_shapping_cmd *)desc.data; in hclge_tm_pg_shapping_cfg()412 shap_cfg_cmd->pg_id = pg_id; in hclge_tm_pg_shapping_cfg()414 shap_cfg_cmd->pg_shapping_para = cpu_to_le32(shapping_para); in hclge_tm_pg_shapping_cfg()416 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_pg_shapping_cfg()418 shap_cfg_cmd->pg_rate = cpu_to_le32(rate); in hclge_tm_pg_shapping_cfg()425 struct hclge_port_shapping_cmd *shap_cfg_cmd; in hclge_tm_port_shaper_cfg() local438 shap_cfg_cmd = (struct hclge_port_shapping_cmd *)desc.data; in hclge_tm_port_shaper_cfg()445 shap_cfg_cmd->port_shapping_para = cpu_to_le32(shapping_para); in hclge_tm_port_shaper_cfg()447 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_port_shaper_cfg()[all …]