diff options
author | Jie Wang <wangjie125@huawei.com> | 2021-12-31 18:22:36 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-31 14:25:46 +0000 |
commit | 076bb537577f6eae1714613f02a74621c0c1922a (patch) | |
tree | c4bb4ec05ea10a60aa40833f7ca0f3e376e1d1ed /tools/testing/selftests/bpf/progs/test_module_attach.c | |
parent | eaa5607db377a73e639162a459d8b125c6a67bfb (diff) | |
download | linux-076bb537577f6eae1714613f02a74621c0c1922a.tar.bz2 |
net: hns3: refactor hclgevf_cmd_send with new hclge_comm_cmd_send API
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>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_module_attach.c')
0 files changed, 0 insertions, 0 deletions