Searched refs:shap_cfg_cmd (Results 1 – 1 of 1) sorted by relevance
443 struct hclge_pg_shapping_cmd *shap_cfg_cmd; in hclge_tm_pg_shapping_cfg() local451 shap_cfg_cmd = (struct hclge_pg_shapping_cmd *)desc.data; in hclge_tm_pg_shapping_cfg()453 shap_cfg_cmd->pg_id = pg_id; in hclge_tm_pg_shapping_cfg()455 shap_cfg_cmd->pg_shapping_para = cpu_to_le32(shapping_para); in hclge_tm_pg_shapping_cfg()457 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_pg_shapping_cfg()459 shap_cfg_cmd->pg_rate = cpu_to_le32(rate); in hclge_tm_pg_shapping_cfg()466 struct hclge_port_shapping_cmd *shap_cfg_cmd; in hclge_tm_port_shaper_cfg() local479 shap_cfg_cmd = (struct hclge_port_shapping_cmd *)desc.data; in hclge_tm_port_shaper_cfg()486 shap_cfg_cmd->port_shapping_para = cpu_to_le32(shapping_para); in hclge_tm_port_shaper_cfg()488 hnae3_set_bit(shap_cfg_cmd->flag, HCLGE_TM_RATE_VLD, 1); in hclge_tm_port_shaper_cfg()[all …]