bnxt_en: Discover firmware error recovery capabilities.
authorMichael Chan <michael.chan@broadcom.com>
Fri, 30 Aug 2019 03:54:53 +0000 (23:54 -0400)
committerDavid S. Miller <davem@davemloft.net>
Fri, 30 Aug 2019 21:02:18 +0000 (14:02 -0700)
commit07f83d72d238f5d41b03d6142641129e8a7a0ec4
tree82e903110843470b933d335f7a669e0459cb87c4
parentec5d31e3c15d5233b491400133c67f78a320062c
bnxt_en: Discover firmware error recovery capabilities.

Call the new firmware API HWRM_ERROR_RECOVERY_QCFG if it is supported
to discover the firmware health and recovery capabilities and settings.
This feature allows the driver to reset the chip if firmware crashes and
becomes unresponsive.

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
drivers/net/ethernet/broadcom/bnxt/bnxt.h