net/hns3: fix operating queue when TCAM table is invalid
authorHuisong Li <lihuisong@huawei.com>
Fri, 28 Jan 2022 02:07:07 +0000 (10:07 +0800)
committerFerruh Yigit <ferruh.yigit@intel.com>
Mon, 31 Jan 2022 13:22:21 +0000 (14:22 +0100)
commiteae97230dc2ab9553cdb335ab9b287a18a1b0c97
treee4a056f79b73f0b7a7da75a0c19c23680089a82d
parentc687877595ed7e287f3634d23736ff6400ad25af
net/hns3: fix operating queue when TCAM table is invalid

Reset queues will query the TCAM table. The table is cleared after global
or imp reset. Currently, PF driver first resets Rx/Tx queues and then
restore the table during the reset recovery process, which will fail to
query the table and trigger a RAS error.

Fixes: fa29fe45a7b4 ("net/hns3: support queue start and stop")
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