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: 0b533591238f ("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
..
2020-04-22 13:41:24 +02:00
2020-04-21 13:57:09 +02:00
2020-02-05 09:51:19 +01:00
2019-11-08 23:15:04 +01:00
2019-10-08 12:14:32 +02:00
2020-04-21 13:57:08 +02:00
2020-04-16 18:30:58 +02:00
2019-10-08 12:14:32 +02:00
2019-11-08 23:15:04 +01:00
2020-04-21 13:57:09 +02:00
2020-04-21 13:57:09 +02:00