linux/drivers/net/ethernet/broadcom/bnxt
Vasundhara Volam 825741b071 bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally.
In the AER or firmware reset flow, if we are in fatal error state or
if pci_channel_offline() is true, we don't send any commands to the
firmware because the commands will likely not reach the firmware and
most commands don't matter much because the firmware is likely to be
reset imminently.

However, the HWRM_FUNC_RESET command is different and we should always
attempt to send it.  In the AER flow for example, the .slot_reset()
call will trigger this fw command and we need to try to send it to
effect the proper reset.

Fixes: b340dc680e ("bnxt_en: Avoid sending firmware messages when AER error is detected.")
Reviewed-by: Edwin Peer <edwin.peer@broadcom.com>
Signed-off-by: Vasundhara Volam <vasundhara-v.volam@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2020-10-26 18:26:35 -07:00
..
bnxt.c bnxt_en: Send HWRM_FUNC_RESET fw command unconditionally. 2020-10-26 18:26:35 -07:00
bnxt.h bnxt_en: Re-write PCI BARs after PCI fatal error. 2020-10-26 18:26:35 -07:00
bnxt_coredump.h
bnxt_dcb.c bnxt_en: Refactor statistics code and structures. 2020-07-27 11:47:33 -07:00
bnxt_dcb.h
bnxt_debugfs.c
bnxt_debugfs.h
bnxt_devlink.c bnxt_en: Add stored FW version info to devlink info_get cb. 2020-10-12 14:27:03 -07:00
bnxt_devlink.h bnxt_en: Refactor bnxt_dl_info_get(). 2020-10-12 14:27:03 -07:00
bnxt_dim.c
bnxt_ethtool.c bnxt_en: Add bnxt_hwrm_nvm_get_dev_info() to query NVM info. 2020-10-12 14:27:03 -07:00
bnxt_ethtool.h bnxt_en: Add bnxt_hwrm_nvm_get_dev_info() to query NVM info. 2020-10-12 14:27:03 -07:00
bnxt_fw_hdr.h
bnxt_hsi.h bnxt_en: Update firmware interface spec to 1.10.1.68. 2020-10-04 14:41:05 -07:00
bnxt_nvm_defs.h
bnxt_sriov.c bnxt_en: Update firmware interface spec to 1.10.1.65. 2020-09-27 13:35:45 -07:00
bnxt_sriov.h
bnxt_tc.c net: bnxt: don't complain if TC flower can't be supported 2020-07-17 18:26:20 -07:00
bnxt_tc.h
bnxt_ulp.c bnxt_en: Add doorbell information to bnxt_en_dev struct. 2020-05-04 10:44:11 -07:00
bnxt_ulp.h bnxt_en: Add doorbell information to bnxt_en_dev struct. 2020-05-04 10:44:11 -07:00
bnxt_vfr.c
bnxt_vfr.h
bnxt_xdp.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bnxt_xdp.h
Makefile