]> git.baikalelectronics.ru Git - kernel.git/commit
qla2xxx: Allow relogin to proceed if remote login did not finish
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 15 Mar 2017 16:48:48 +0000 (09:48 -0700)
committerNicholas Bellinger <nab@linux-iscsi.org>
Sun, 19 Mar 2017 00:28:36 +0000 (17:28 -0700)
commit4d93467347baf17fc23a9741bef6cfc267d42a45
tree33ba93b1aa0c2f265bbf2eb7c7d68bbc578f6ccd
parentf830e07c429e56efa4a67683713e648479a5b9e6
qla2xxx: Allow relogin to proceed if remote login did not finish

If the remote port have started the login process, then the
PLOGI and PRLI should be back to back. Driver will allow
the remote port to complete the process. For the case where
the remote port decide to back off from sending PRLI, this
local port sets an expiration timer for the PRLI. Once the
expiration time passes, the relogin retry logic is allowed
to go through and perform login with the remote port.

Signed-off-by: Quinn Tran <quinn.tran@qlogic.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_target.c