linux/drivers/scsi/qedf
Chad Dupuis f3690a89f9 scsi: qedf: Add more defensive checks for concurrent error conditions
During an uplink toggle test all error handling is done via timeout and
firmware error conditions which can occur concurrently:

 - SCSI layer timeouts
 - Error detect CQEs
 - Firmware detected underruns
 - ABTS timeouts

All these concurrent events require more defensive checks in the driver
including:

 - Check both internally and externally generated aborts to make sure the
   xid is not already been aborted in another context or in cleanup.

 - Check back pointers in qedf_cmd_timeout to verify the context of the
   io_req, fcport and qedf_ctx

 - Check rport state in host reset handler to not reset the whole host
   if the rport is already uploaded or in the process of relogin

 - Check to state for an fcport before initiating a middle path ELS
   request

Signed-off-by: Chad Dupuis <chad.dupuis@cavium.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
2018-05-08 00:57:11 -04:00
..
drv_fcoe_fw_funcs.c qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
drv_fcoe_fw_funcs.h qed*: HSI renaming for different types of HW 2018-01-02 13:59:15 -05:00
drv_scsi_fw_funcs.c scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
drv_scsi_fw_funcs.h scsi: qedf: Update copyright to 2017. 2017-06-12 20:48:05 -04:00
Kconfig
Makefile qed*: Utilize Firmware 8.15.3.0 2017-03-13 15:33:09 -07:00
qedf_attr.c scsi: qedf: Add fka_period SCSI host attribute to show fip keep alive period. 2017-06-12 20:48:06 -04:00
qedf_dbg.c scsi: qedf: Improve firmware debug dump handling 2018-05-08 00:57:10 -04:00
qedf_dbg.h scsi: qedf: fix LTO-enabled build 2018-02-13 21:37:01 -05:00
qedf_debugfs.c scsi: qedf: fix LTO-enabled build 2018-02-13 21:37:01 -05:00
qedf_els.c scsi: qedf: Add more defensive checks for concurrent error conditions 2018-05-08 00:57:11 -04:00
qedf_fip.c scsi: qedf: Fix VLAN display when printing sent FIP frames 2018-05-08 00:57:10 -04:00
qedf_hsi.h qed*: Utilize FW 8.33.1.0 2018-01-02 13:59:16 -05:00
qedf_io.c scsi: qedf: Add more defensive checks for concurrent error conditions 2018-05-08 00:57:11 -04:00
qedf_main.c scsi: qedf: Add more defensive checks for concurrent error conditions 2018-05-08 00:57:11 -04:00
qedf_version.h qed*: Advance drivers' version to 8.33.0.20 2018-01-02 13:59:16 -05:00
qedf.h scsi: qedf: Improve firmware debug dump handling 2018-05-08 00:57:10 -04:00