net: hns3: refactor PF rss init APIs with new common rss init APIs
authorJie Wang <wangjie125@huawei.com>
Wed, 5 Jan 2022 14:20:10 +0000 (22:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 14:36:36 +0000 (14:36 +0000)
commit07dce03cd5aa47259f7f835247f4781d7fe82017
tree7e6bf6277e0bbd8c647d9429a8648b471a7e3e66
parent2c0d3f4cd25fc779da9bf9459f7a677b00aa9b02
net: hns3: refactor PF rss init APIs with new common rss init APIs

This patch uses common rss init APIs to replace the old APIs in PF rss
module and deletes the old PF rss init APIs. Some 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/hns3pf/hclge_cmd.h
drivers/net/ethernet/hisilicon/hns3/hns3pf/hclge_main.c