Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/hisilicon/hns3/hns3pf/
H A Dhclge_tm.c2096 struct hclge_port_shapping_cmd *port_shap_cfg_cmd; in hclge_tm_get_port_shaper() local
2109 port_shap_cfg_cmd = (struct hclge_port_shapping_cmd *)desc.data; in hclge_tm_get_port_shaper()
2110 shapping_para = le32_to_cpu(port_shap_cfg_cmd->port_shapping_para); in hclge_tm_get_port_shaper()
2116 para->flag = port_shap_cfg_cmd->flag; in hclge_tm_get_port_shaper()
2117 para->rate = le32_to_cpu(port_shap_cfg_cmd->port_rate); in hclge_tm_get_port_shaper()