]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: refactor VF cmdq resource APIs with new common APIs
authorJie Wang <wangjie125@huawei.com>
Fri, 31 Dec 2021 10:22:39 +0000 (18:22 +0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 31 Dec 2021 14:25:47 +0000 (14:25 +0000)
commitc0abe86d88a95bbec340a00902d5ee0addf9f978
tree82c81a4b3d40eb82b7d09992ff534d697ceaeefa
parentaa039d0eb4eb5dca5d8a21a6162514a9525e7cf2
net: hns3: refactor VF cmdq resource APIs with new common APIs

This patch uses common cmdq resource allocate/free/query APIs to replace
the old APIs in VF cmdq module and deletes the old cmdq resource APIs.
Still we kept hclgevf_cmd_setup_basic_desc name as a seam API to avoid too
many meaningless replacement.

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