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_coredump.h bnxt_en: Add support for ethtool get dump. 2018-08-05 17:08:26 -07:00
bnxt_dcb.c bnxt_en: Refactor statistics code and structures. 2020-07-27 11:47:33 -07:00
bnxt_dcb.h bnxt_en: Do not use the CNP CoS queue for networking traffic. 2018-08-05 17:08:26 -07:00
bnxt_debugfs.c bnxt: no need to check return value of debugfs_create functions 2019-08-10 15:25:47 -07:00
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 linux/dim: Move implementation to .c files 2019-06-25 13:46:39 -07:00
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_en: Retain user settings on a VF after RESET_NOTIFY event. 2019-08-30 14:02:19 -07:00
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_en: Fix array overrun in bnxt_fill_l2_rewrite_fields(). 2019-11-13 14:28:30 -08:00
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 net/broadcom: Clean broadcom code from driver versions 2020-03-03 17:54:53 -08:00
bnxt_vfr.h devlink: Add extack for eswitch operations 2018-10-03 16:17:58 -07:00
bnxt_xdp.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
bnxt_xdp.h bnxt_en: optimized XDP_REDIRECT support 2019-07-08 15:15:24 -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
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00