bnxt_en: refactor reset close code

[ Upstream commit 7474b1c82b ]

Introduce bnxt_fw_fatal_close() API which can be used
to stop data path and disable device when firmware
is in fatal state.

Signed-off-by: Vikas Gupta <vikas.gupta@broadcom.com>
Signed-off-by: Michael Chan <michael.chan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Stable-dep-of: a1acdc226b ("bnxt_en: Fix the PCI-AER routines")
Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
Vikas Gupta 2024-04-19 11:34:47 -07:00 • committed by Greg Kroah-Hartman
commit b20beb0598