numam-dpdk/drivers/net/bnxt
Kalesh AP 94131e4ab7 net/bnxt: fix firmware fatal error handling
During some fatal firmware error conditions, the PCI config space
register 0x2e which normally contains the subsystem ID will become
0xffff. This register will revert back to the normal value after
the chip has completed core reset. If we detect this condition,
we can poll this config register immediately for the value to revert.
Because we use config read cycles to poll this register, there is no
possibility of Master Abort if we happen to read it during core reset.
This speeds up recovery significantly as we don't have to wait for the
conservative min_time before polling to see if the firmware has come
out of reset. As soon as this register changes value we can proceed
to re-initialize the device.

Fixes: df6cd7c1f7 ("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: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2021-03-12 07:00:22 +01:00
..
hcapi net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
tf_core net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
tf_ulp net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_cpr.c net/bnxt: handle echo request async message 2021-03-12 07:00:22 +01:00
bnxt_cpr.h net/bnxt: fix Rx queue count 2021-03-01 01:26:10 +01:00
bnxt_ethdev.c net/bnxt: fix firmware fatal error handling 2021-03-12 07:00:22 +01:00
bnxt_filter.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_filter.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_flow.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_hwrm.c net/bnxt: handle echo request async message 2021-03-12 07:00:22 +01:00
bnxt_hwrm.h net/bnxt: handle echo request async message 2021-03-12 07:00:22 +01:00
bnxt_irq.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_irq.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_nvm_defs.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_reps.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_reps.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_ring.c net/bnxt: refactor HWRM ring allocation routine 2021-03-01 01:27:01 +01:00
bnxt_ring.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_rxq.c net/bnxt: fix queues per VNIC 2021-03-12 07:00:21 +01:00
bnxt_rxq.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_rxr.c net/bnxt: fix Rx queue count 2021-03-01 01:26:10 +01:00
bnxt_rxr.h net/bnxt: fix Rx queue count 2021-03-01 01:26:10 +01:00
bnxt_rxtx_vec_common.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_rxtx_vec_neon.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_rxtx_vec_sse.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_stats.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_stats.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_txq.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_txq.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_txr.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_txr.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_util.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_util.h net/bnxt: fix firmware fatal error handling 2021-03-12 07:00:22 +01:00
bnxt_vnic.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
bnxt_vnic.h net/bnxt: fix VNIC configuration 2021-03-12 07:00:20 +01:00
bnxt.h net/bnxt: update to new version of backing store 2021-03-12 07:00:21 +01:00
hsi_struct_def_dpdk.h net/bnxt: update HWRM structures 2021-03-12 07:00:21 +01:00
meson.build drivers/net: build i40e and mlx5 on Windows 2021-01-14 23:51:24 +01:00
rte_pmd_bnxt.c net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
rte_pmd_bnxt.h net/bnxt: update copyright year 2021-01-29 18:16:10 +01:00
version.map build: remove library name from version map file name 2020-10-19 22:13:59 +02:00