OSDN Git Service

net: hns3: create new set of common rss set APIs for PF and VF module
authorJie Wang <wangjie125@huawei.com>
Wed, 5 Jan 2022 14:20:06 +0000 (22:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 14:36:36 +0000 (14:36 +0000)
commit6de06004286798ac4b4b10c8c74a6eb03c5035f2
tree6eeb7de138a8342d3c7fd9956ff664ef24aca0cb
parent027733b12a10855feffd09ee56384df1dd73c084
net: hns3: create new set of common rss set APIs for PF and VF module

Currently, hns3 PF and VF rss module have two sets of rss set APIs to
configure rss. There is no need to keep two sets of these same APIs.

So this patch creates new set of common rss set APIs for PF and VF reuse.
These new APIs will be used to unify old APIs in next patches.

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