diff options
author | Chad Dupuis <cdupuis@marvell.com> | 2020-04-16 10:43:12 +0200 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2020-04-17 23:55:28 +0200 |
commit | f6b172f21999cf5a18a49d6c028ba46b1c9ce02f (patch) | |
tree | ae3afa34d55d58a4051fa1794f801553816f8bbf /drivers/scsi/qedf/qedf.h | |
parent | scsi: qedf: Implement callback for bw_update (diff) | |
download | linux-f6b172f21999cf5a18a49d6c028ba46b1c9ce02f.tar.xz linux-f6b172f21999cf5a18a49d6c028ba46b1c9ce02f.zip |
scsi: qedf: Add schedule recovery handler
Implement recovery handler to be used by QED to signal the need for
recovery to come out of an error condition like ramrod struck and firmware
context reset.
Link: https://lore.kernel.org/r/20200416084314.18851-8-skashyap@marvell.com
Signed-off-by: Chad Dupuis <cdupuis@marvell.com>
Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedf/qedf.h')
-rw-r--r-- | drivers/scsi/qedf/qedf.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qedf/qedf.h b/drivers/scsi/qedf/qedf.h index aaa2ac95ea23..f8a98e5e3cb5 100644 --- a/drivers/scsi/qedf/qedf.h +++ b/drivers/scsi/qedf/qedf.h @@ -387,6 +387,7 @@ struct qedf_ctx { #define QEDF_IO_WORK_MIN 64 mempool_t *io_mempool; struct workqueue_struct *dpc_wq; + struct delayed_work recovery_work; struct delayed_work grcdump_work; struct delayed_work stag_work; |