]> www.infradead.org Git - users/jedix/linux-maple.git/commit
qla2xxx: Allow relogin to proceed if remote login did not finish
authorQuinn Tran <quinn.tran@cavium.com>
Wed, 13 Sep 2017 15:30:51 +0000 (21:00 +0530)
committerBrian Maly <brian.maly@oracle.com>
Thu, 2 Nov 2017 18:14:21 +0000 (14:14 -0400)
commitf818343bf161b6bca16856723aed14f877cf4040
tree18192b5078664f334e43d4316a3f841a8fb0a38f
parentfb2cc6c1388189c510007b1645680f484d719515
qla2xxx: Allow relogin to proceed if remote login did not finish

Orabug: 2684419726923029

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>
Signed-off-by: Brian Maly <brian.maly@oracle.com>
Reviewed-by: Jack Vogel <jack.vogel@oracle.com>
drivers/scsi/qla2xxx/qla_def.h
drivers/scsi/qla2xxx/qla_init.c
drivers/scsi/qla2xxx/qla_isr.c
drivers/scsi/qla2xxx/qla_target.c