]> 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)
commit2328dd1cf85de2da7dac3a64693a7ec5674d02d0
treee2162b830d555223c715f282b80d5819f826e6f1
parente59609cd91b8a5595b888755aa2b4e5be4097494
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