summaryrefslogtreecommitdiff
path: root/drivers/scsi/qedi/qedi_iscsi.h
diff options
context:
space:
mode:
authorManish Rangankar <mrangankar@marvell.com>2019-01-09 12:39:07 +0300
committerMartin K. Petersen <martin.petersen@oracle.com>2019-01-12 06:24:09 +0300
commit34a2ce887668db9dda4b56e6f155c49ac13f3e54 (patch)
treee2162b830d555223c715f282b80d5819f826e6f1 /drivers/scsi/qedi/qedi_iscsi.h
parentce9e7bce43526626f7cffe2e657953997870197e (diff)
downloadlinux-34a2ce887668db9dda4b56e6f155c49ac13f3e54.tar.xz
scsi: qedi: Add ep_state for login completion on un-reachable targets
When the driver finds invalid destination MAC for the first un-reachable target, and before completes the PATH_REQ operation, set new ep_state to OFFLDCONN_NONE so that as part of driver ep_poll mechanism, the upper open-iscsi layer is notified to complete the login process on the first un-reachable target and thus proceed login to other reachable targets. Signed-off-by: Manish Rangankar <mrangankar@marvell.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/qedi/qedi_iscsi.h')
-rw-r--r--drivers/scsi/qedi/qedi_iscsi.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/qedi/qedi_iscsi.h b/drivers/scsi/qedi/qedi_iscsi.h
index 11260776212f..892d70d54553 100644
--- a/drivers/scsi/qedi/qedi_iscsi.h
+++ b/drivers/scsi/qedi/qedi_iscsi.h
@@ -59,6 +59,7 @@ enum {
EP_STATE_OFLDCONN_FAILED = 0x2000,
EP_STATE_CONNECT_FAILED = 0x4000,
EP_STATE_DISCONN_TIMEDOUT = 0x8000,
+ EP_STATE_OFLDCONN_NONE = 0x10000,
};
struct qedi_conn;