]> 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)
commit4e76f730b7801ea58a8498d04524db04fb492545
tree33ba93b1aa0c2f265bbf2eb7c7d68bbc578f6ccd
parentd935e876b9388af40923e5b29c19c116a89311d9
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