]> git.droids-corp.org - dpdk.git/commit
net/hns3: remove unnecessary RSS switch
authorHuisong Li <lihuisong@huawei.com>
Wed, 6 Apr 2022 06:57:01 +0000 (14:57 +0800)
committerFerruh Yigit <ferruh.yigit@xilinx.com>
Thu, 12 May 2022 13:56:59 +0000 (15:56 +0200)
commitec1691494273ef4f9cb60ed24099196de1ce0cc4
tree1eebc240a484324e2bfe23452a6b2e1cb92c35f1
parent93e1ea6dfa99dea359b8d66123576a395c2c0acd
net/hns3: remove unnecessary RSS switch

Whether the RSS is enabled depends on RTE_ETH_MQ_RX_RSS_FLAG and packet
tuple are enabled. So the RSS switch is unnecessary.

Fixes: 5e782bc2570c ("net/hns3: fix configuring RSS hash when rules are flushed")
Fixes: fd8196838763 ("net/hns3: fix configuring device with RSS enabled")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Signed-off-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_ethdev.c
drivers/net/hns3/hns3_ethdev.h
drivers/net/hns3/hns3_ethdev_vf.c
drivers/net/hns3/hns3_flow.c
drivers/net/hns3/hns3_rss.c