net: hns3: refactor VF rss init APIs with new common rss init APIs
authorJie Wang <wangjie125@huawei.com>
Wed, 5 Jan 2022 14:20:11 +0000 (22:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 14:36:36 +0000 (14:36 +0000)
commit93969dc14fcd7fddc081e5a7e003e0e144cc401b
treef96575203b7d464ba7e38d73d202e360dc504c0e
parent07dce03cd5aa47259f7f835247f4781d7fe82017
net: hns3: refactor VF rss init APIs with new common rss init APIs

This patch uses common rss init APIs to replace the old APIs in VF rss
module and removes the old VF rss init APIs. Several related Subfunctions
and macros are also modified in this patch.

Signed-off-by: Jie Wang <wangjie125@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3vf/hclgevf_main.c