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

For packets with VLAN priorities destined for the VF, hardware still
assign Rx queue based on the Up-to-TC mapping PF configured. But VF has
only one TC. If other TC don't enable, it causes that the priority
packets that aren't destined for TC0 aren't received by RSS hash but is
destined for queue 0. So driver has to enable the unused TC by using TC0
queue mapping configuration.

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