Skip to content

Commit

Permalink
net: hns3: refactor hclgevf_cmd_send with new hclge_comm_cmd_send API
Browse files Browse the repository at this point in the history
This patch firstly uses new hardware description struct hclge_comm_hw as
child member of hclgevf_hw and deletes the old hardware description child
members. All the hclgevf_hw variables used in VF module is modified
according to the new hclgevf_hw.

Secondly hclgevf_cmd_send is refactored to use hclge_comm_cmd_send APIs.
The old functions called by hclgevf_cmd_send are all deleted. Still we kept
hclgevf_cmd_send to avoid too many meaningless modifications.

Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: Guangbin Huang <huangguangbin2@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
  • Loading branch information
Jie Wang authored and David S. Miller committed Dec 31, 2021
1 parent eaa5607 commit 076bb53
Show file tree
Hide file tree
Showing 5 changed files with 82 additions and 360 deletions.
Loading

0 comments on commit 076bb53

Please sign in to comment.