]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd18ef557668e807491d2c1419dccc9e1bea6a7af
tree82e903110843470b933d335f7a669e0459cb87c4
parent4af3befeb07cacbfe1a5b2504fab37ce04627971
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