]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit043064ba2efaf05deb97041b41446f78b5881583
tree6eeb7de138a8342d3c7fd9956ff664ef24aca0cb
parent18da1f7694607f94404760dbe836259041fa56ee
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