numam-dpdk/drivers/net/bnxt
Kalesh AP ac2df046a0 net/bnxt: fix HWRM command during FW reset
FW returns HWRM_ERR_CODE_HOT_RESET_PROGRESS(0xa) when it is
unable to process a specific cmd while hot reset is in progress.
Host driver is expected to keep retrying the cmd for 2s with
a gap of 50ms between each retrial.

Also, fixed to fail port start if the HWRM_FUNC_DRV_IF_CHANGE
still returns error after 2 seconds.

Fixes: 0b53359123 ("net/bnxt: inform firmware about IF state changes")
Cc: stable@dpdk.org

Signed-off-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Lance Richardson <lance.richardson@broadcom.com>
Reviewed-by: Somnath Kotur <somnath.kotur@broadcom.com>
Reviewed-by: Ajit Khaparde <ajit.khaparde@broadcom.com>
2020-04-22 13:41:24 +02:00
..
tf_core net/bnxt: fix build on BSD 2020-04-22 13:41:24 +02:00
tf_ulp net/bnxt: add port database 2020-04-21 13:57:09 +02:00
bnxt_cpr.c net/bnxt: fix race condition when port is stopped 2020-02-21 11:41:20 +01:00
bnxt_cpr.h net/bnxt: support hot firmware upgrade for Stingray 2019-10-08 12:14:30 +02:00
bnxt_ethdev.c net/bnxt: fix HWRM command during FW reset 2020-04-22 13:41:24 +02:00
bnxt_filter.c net/bnxt: fix bumping of L2 filter reference count 2020-02-05 09:51:20 +01:00
bnxt_filter.h net/bnxt: add flow stats in extended stats 2020-04-21 13:57:09 +02:00
bnxt_flow.c net/bnxt: add flow stats in extended stats 2020-04-21 13:57:09 +02:00
bnxt_hwrm.c net/bnxt: fix HWRM command during FW reset 2020-04-22 13:41:24 +02:00
bnxt_hwrm.h net/bnxt: add flow stats in extended stats 2020-04-21 13:57:09 +02:00
bnxt_irq.c net/bnxt: fix probe in FreeBSD 2020-02-05 09:51:19 +01:00
bnxt_irq.h net/bnxt: change MSI-X vector to queue mapping 2019-10-23 16:43:08 +02:00
bnxt_nvm_defs.h net/bnxt: convert to SPDX license tag 2018-04-14 00:40:21 +02:00
bnxt_ring.c net/bnxt: use macro for PCI log format 2020-04-22 13:41:24 +02:00
bnxt_ring.h net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt_rxq.c net/bnxt: fix null dereference in Rx stop 2019-11-20 17:36:05 +01:00
bnxt_rxq.h net/bnxt: use common NQ ring 2019-10-08 12:14:32 +02:00
bnxt_rxr.c net/bnxt: support marking packet 2020-04-21 13:57:08 +02:00
bnxt_rxr.h net/bnxt: fix supporting zero mark ID with RSS action 2020-02-05 09:51:20 +01:00
bnxt_rxtx_vec_sse.c replace cold attributes 2020-04-16 18:30:58 +02:00
bnxt_stats.c net/bnxt: add flow stats in extended stats 2020-04-21 13:57:09 +02:00
bnxt_stats.h ethdev: make stats and xstats reset callbacks return int 2019-10-07 15:00:54 +02:00
bnxt_txq.c net/bnxt: limit queue count for NS3/Stingray devices 2019-11-20 17:36:05 +01:00
bnxt_txq.h net/bnxt: use common NQ ring 2019-10-08 12:14:32 +02:00
bnxt_txr.c net/bnxt: remove redundant header file inclusion 2019-10-23 16:43:08 +02:00
bnxt_txr.h net/bnxt: prevent device access when device is in reset 2019-10-08 12:14:30 +02:00
bnxt_util.c net/bnxt: fix VF probe when MAC address is zero 2019-07-23 14:31:35 +02:00
bnxt_util.h net/bnxt: use macro for bit definitions 2019-10-08 12:14:30 +02:00
bnxt_vnic.c net/bnxt: use macro for PCI log format 2020-04-22 13:41:24 +02:00
bnxt_vnic.h net/bnxt: fix initialization 2019-11-08 23:15:04 +01:00
bnxt.h net/bnxt: fix HWRM command during FW reset 2020-04-22 13:41:24 +02:00
hsi_struct_def_dpdk.h net/bnxt: add flow stats in extended stats 2020-04-21 13:57:09 +02:00
Makefile net/bnxt: add port database 2020-04-21 13:57:09 +02:00
meson.build net/bnxt: add port database 2020-04-21 13:57:09 +02:00
rte_pmd_bnxt_version.map build: align symbols with global ABI version 2019-11-20 23:05:39 +01:00
rte_pmd_bnxt.c net/bnxt: add PCI function stats to extended stats 2020-04-21 13:57:09 +02:00
rte_pmd_bnxt.h net: add rte prefix to ether structures 2019-05-24 13:34:45 +02:00