scsi: qedf: Add schedule recovery handler
authorChad Dupuis <cdupuis@marvell.com>
Thu, 16 Apr 2020 08:43:12 +0000 (01:43 -0700)
committerMartin K. Petersen <martin.petersen@oracle.com>
Fri, 17 Apr 2020 21:55:28 +0000 (17:55 -0400)
commitf6b172f21999cf5a18a49d6c028ba46b1c9ce02f
treeae3afa34d55d58a4051fa1794f801553816f8bbf
parent6e7c8eea929e547f5f8f453a3d72b36b8e40bf4d
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>
drivers/scsi/qedf/qedf.h
drivers/scsi/qedf/qedf_main.c