Re: [PATCH net-next 05/14] bnxt_en: Discover firmware error recovery capabilities.

2019-08-25 Thread Michael Chan
On Sun, Aug 25, 2019 at 10:49 PM David Miller wrote: > > From: Michael Chan > Date: Sun, 25 Aug 2019 23:54:56 -0400 > > > +static int bnxt_hwrm_error_recovery_qcfg(struct bnxt *bp) > > +{ > > + struct hwrm_error_recovery_qcfg_output *resp = bp->hwrm_cmd_resp_addr; > > + struct bnxt_fw_hea

Re: [PATCH net-next 05/14] bnxt_en: Discover firmware error recovery capabilities.

2019-08-25 Thread David Miller
From: Michael Chan Date: Sun, 25 Aug 2019 23:54:56 -0400 > +static int bnxt_hwrm_error_recovery_qcfg(struct bnxt *bp) > +{ > + struct hwrm_error_recovery_qcfg_output *resp = bp->hwrm_cmd_resp_addr; > + struct bnxt_fw_health *fw_health = bp->fw_health; > + struct hwrm_error_recovery_qc

[PATCH net-next 05/14] bnxt_en: Discover firmware error recovery capabilities.

2019-08-25 Thread Michael Chan
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 --- drivers/net/ethernet/broadc