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>
This commit is contained in:
committed by
Nicholas Bellinger
parent
f159b3c7cd
commit
5b33469a05
@@ -2300,6 +2300,8 @@ typedef struct fc_port {
|
||||
struct ct_sns_desc ct_desc;
|
||||
enum discovery_state disc_state;
|
||||
enum login_state fw_login_state;
|
||||
unsigned long plogi_nack_done_deadline;
|
||||
|
||||
u32 login_gen, last_login_gen;
|
||||
u32 rscn_gen, last_rscn_gen;
|
||||
u32 chip_reset;
|
||||
|
||||
Reference in New Issue
Block a user