]> git.baikalelectronics.ru Git - kernel.git/commit
[SCSI] bfa: fix prli retry issues
authorJing Huang <huangj@brocade.com>
Fri, 9 Jul 2010 02:52:00 +0000 (19:52 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:04:11 +0000 (12:04 -0500)
commit56373dca7e502659b0cf01c222f77885fa182f9d
tree92a8ee6812b90188c238400c73306da14e58677c
parent343c065caa522539582638bc250315a6f846fc9e
[SCSI] bfa: fix prli retry issues

Add a max retry limit for PRLI retries. Max retry limit (5) is same as used
in rport PLOGI. Once the retries are exhausted, invoke rport offline so that
existing logic of rport re-discovery can kick-in. Also fixed a bug in rport.c
where one less retry was happening.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/fcpim.c
drivers/scsi/bfa/fcs_rport.h
drivers/scsi/bfa/include/fcs/bfa_fcs_fcpim.h
drivers/scsi/bfa/rport.c