]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit5b33469a055c77001fd2c62b0f985c991b0e5b65
tree33ba93b1aa0c2f265bbf2eb7c7d68bbc578f6ccd
parentf159b3c7cd45c550d0f73806451a10b6b6bc08ae
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