]> git.baikalelectronics.ru Git - kernel.git/commit
net: hns3: create new set of common rss init APIs for PF and VF reuse
authorJie Wang <wangjie125@huawei.com>
Wed, 5 Jan 2022 14:20:09 +0000 (22:20 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 14:36:36 +0000 (14:36 +0000)
commit790246d2c02e81573387d90c415175c0bf381927
tree1a2e18897535e3aa248169c557c01419c80c7fe5
parentc9ef5752873903cc2b7a7fe0ffd12427a89ff010
net: hns3: create new set of common rss init APIs for PF and VF reuse

This patch creates new set of common rss init APIs for PF and VF rss
module. Subfunctions called by rss init process are also created include
rss tuple configuration and rss indirect table configuration.

These new common rss init APIs will be used to replace the old PF and VF
rss init 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