Kalesh AP c696cc6593 net/bnxt: fix race condition when port is stopped
Fix a race condition between port stop and error recovery task. When io
forwarding is not started on Stingray devices, driver will not receive
the async event from FW when there is a FW reset. While exiting testpmd,
as part of port stop driver sees this event and this in turn causes a
race between port stop and error recovery task.

Fixed this by ignoring the fatal/non-fatal async event from FW while
stopping port.

Fixes: df6cd7c1f73a ("net/bnxt: handle reset notify async event from FW")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Rahul Gupta <rahul.gupta@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-02-21 11:41:20 +01:00
..
2020-02-14 12:42:12 +01:00
2020-02-05 09:51:20 +01:00
2020-01-17 19:46:01 +01:00
2020-02-19 18:19:12 +01:00
2020-01-17 19:59:19 +01:00
2020-01-17 19:59:18 +01:00
2020-02-19 13:51:06 +01:00
2020-02-05 09:51:21 +01:00
2020-02-19 18:09:28 +01:00
2020-02-14 12:42:12 +01:00
2020-01-17 19:59:19 +01:00
2020-02-19 18:19:12 +01:00
2020-01-20 18:02:17 +01:00