]> git.baikalelectronics.ru Git - kernel.git/commit
scsi: qedi: Add ep_state for login completion on un-reachable targets
authorManish Rangankar <mrangankar@marvell.com>
Wed, 9 Jan 2019 09:39:07 +0000 (01:39 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Sat, 12 Jan 2019 03:24:09 +0000 (22:24 -0500)
commit83dbee6b6d8673799cdc3f637199fd6496e43139
treee2162b830d555223c715f282b80d5819f826e6f1
parent9c1f9216c1c5e93b6e374b62a669e0bed4c2bf81
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>
drivers/scsi/qedi/qedi_iscsi.c
drivers/scsi/qedi/qedi_iscsi.h