linux/drivers/scsi/be2iscsi
Jitendra Bhivare 9122e991ce scsi: be2iscsi: Fix checks for HBA in error state
Save ue_detected and fw_timeout errors in state field of beiscsi_hba.
BEISCSI_HBA_RUNNING
BEISCSI_HBA_LINK_UP
BEISCSI_HBA_BOOT_FOUND
BEISCSI_HBA_PCI_ERR
BEISCSI_HBA_FW_TIMEOUT
BEISCSI_HBA_IN_UE

Make sure no PCI transaction happens once in error state.
Add checks in IO path to detect HBA in error.

Skip hwi_purge_eq step which can't be done in error state.

Signed-off-by: Jitendra Bhivare <jitendra.bhivare@broadcom.com>
Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2016-08-23 22:42:43 -04:00
..
be_cmds.c scsi: be2iscsi: Fix checks for HBA in error state 2016-08-23 22:42:43 -04:00
be_cmds.h scsi: be2iscsi: Remove alloc_mcc_tag & beiscsi_pci_soft_reset 2016-08-23 22:42:43 -04:00
be_iscsi.c scsi: be2iscsi: Fix checks for HBA in error state 2016-08-23 22:42:43 -04:00
be_iscsi.h scsi: be2iscsi: Check all zeroes IP before issuing IOCTL 2016-08-23 22:42:43 -04:00
be_main.c scsi: be2iscsi: Fix checks for HBA in error state 2016-08-23 22:42:43 -04:00
be_main.h scsi: be2iscsi: Fix checks for HBA in error state 2016-08-23 22:42:43 -04:00
be_mgmt.c scsi: be2iscsi: Fix checks for HBA in error state 2016-08-23 22:42:43 -04:00
be_mgmt.h scsi: be2iscsi: Rename iface get/set/create/destroy APIs 2016-08-23 22:42:43 -04:00
be.h scsi: be2iscsi: Remove isr_lock and dead code 2016-08-23 22:42:43 -04:00
Kconfig irq_poll: make blk-iopoll available outside the block layer 2015-12-11 11:52:24 -08:00
Makefile be2iscsi: Revert ownership to Emulex 2015-10-27 10:34:18 +09:00