]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: create common cmdq init and uninit APIs
authorJie Wang <wangjie125@huawei.com>
Fri, 31 Dec 2021 10:22:40 +0000 (18:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Dec 2021 14:25:47 +0000 (14:25 +0000)
commitf6f0c5442911ab75c0c1e5187fef494f0d0c91a8
treebdfdf2c36f49da570a583d37a755a6461978236f
parentfc4fb1743ecc2d893e46c6950ec516fb9d61bd76
net: hns3: create common cmdq init and uninit APIs

The PF and VF cmdq init and uninit APIs are also almost same espect the
suffixes of API names.

This patch creates common cmdq init and uninit APIs needed by PF and VF
cmdq modules. The next patch will use the new unified APIs to replace init
and uninit APIs in PF module.

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>
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.c
drivers/net/ethernet/hisilicon/hns3/hns3_common/hclge_comm_cmd.h