]> git.droids-corp.org - dpdk.git/commit
net/hns3: fix RSS TC mode entry
authorHuisong Li <lihuisong@huawei.com>
Mon, 28 Feb 2022 03:21:45 +0000 (11:21 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Wed, 2 Mar 2022 11:23:24 +0000 (12:23 +0100)
commitcdb9a7ae5f8f3b59b6de9dc2b52387636245e3a5
tree3b5984efd9eb43bed9a562d4d9062dfa43a4cfcc
parent0983cdc1870f52a360eadb40eab84b34c20b464d
net/hns3: fix RSS TC mode entry

The driver allocates queues only to valid TCs. But the driver also
configure queues for invalid TCs, which is unreasonable.

Fixes: c37ca66f2b27 ("net/hns3: support RSS")
Cc: stable@dpdk.org
Signed-off-by: Huisong Li <lihuisong@huawei.com>
Acked-by: Min Hu (Connor) <humin29@huawei.com>
drivers/net/hns3/hns3_rss.c