diff options
author | Jie Wang <wangjie125@huawei.com> | 2021-12-31 18:22:37 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-12-31 14:25:46 +0000 |
commit | da77aef9cc58ed820097b3d905e9fa474d42dbd4 (patch) | |
tree | 307e7c69ee58f1d5eb5d080f724982765f5a686e /tools/testing/selftests/bpf/progs/test_module_attach.c | |
parent | 076bb537577f6eae1714613f02a74621c0c1922a (diff) | |
download | linux-da77aef9cc58ed820097b3d905e9fa474d42dbd4.tar.bz2 |
net: hns3: create common cmdq resource allocate/free/query APIs
The PF and VF cmdq module resource allocate/free/query APIs are almost the
same espect the suffixes of API names. These same implementations bring
double development and bugfix work.
This patch creates common cmdq resource allocate/free/query APIs called by
PF and VF cmdq init/uninit APIs. The next patch will use the new unified
APIs to replace init/uninit APIs.
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