]> asedeno.scripts.mit.edu Git - linux.git/commit
bnxt_en: Abort waiting for firmware response if there is no heartbeat.
authorPavan Chebbi <pavan.chebbi@broadcom.com>
Mon, 18 Nov 2019 08:56:43 +0000 (03:56 -0500)
committerDavid S. Miller <davem@davemloft.net>
Tue, 19 Nov 2019 01:13:29 +0000 (17:13 -0800)
commit642aebdee4a1f53b713becb3b7df8896fbaeda33
tree4e82c8fb79881df6bf1957390fd35c60d0052505
parenta2b31e27f6269af8bbda4be2199c2af7c4dcb5a3
bnxt_en: Abort waiting for firmware response if there is no heartbeat.

This is especially beneficial during the NVRAM related firmware
commands that have longer timeouts.  If the BNXT_STATE_FW_FATAL_COND
flag gets set while waiting for firmware response, abort and return
error.

Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnxt/bnxt.c