scsi: lpfc: Treat IOERR_SLI_DOWN I/O completion status the same as pci offline
authorJustin Tee <justin.tee@broadcom.com>
Mon, 9 Oct 2023 16:18:08 +0000 (09:18 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 13 Oct 2023 20:58:27 +0000 (16:58 -0400)
commitd472a76603d8a04246dda05c4918281dfb61ed60
treeb56be048b75e608bbe0ff21190e14ee44f335c77
parent0506814609fb424cba10b193f90f01c69fa9bfa0
scsi: lpfc: Treat IOERR_SLI_DOWN I/O completion status the same as pci offline

During receipt of a hardware error attention ACQE, IOERR_SLI_DOWN status is
set by the driver for all outstanding I/Os.

In such hardware error attention cases, we can treat the situation exactly
the same as pci_channel_offline.  Thus, add IOERR_SLI_DOWN status to the
same category as pci_channel_offline handling in lpfc_nvme_io_cmd_cmpl.

Signed-off-by: Justin Tee <justin.tee@broadcom.com>
Link: https://lore.kernel.org/r/20231009161812.97232-3-justintee8345@gmail.com
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/lpfc/lpfc_nvme.c