[SCSI] bfa: use standards defined timeout for ELS/CT
authorJing Huang <huangj@brocade.com>
Fri, 9 Jul 2010 02:50:15 +0000 (19:50 -0700)
committerJames Bottomley <James.Bottomley@suse.de>
Tue, 27 Jul 2010 17:04:08 +0000 (12:04 -0500)
commit4f1806bc3c409395de4dab5984f7a235dc4a0eda
tree9a631392451ba3c28d62944380685d49f6ca7eb5
parentb85d045ee866011df535565bf12d684e8e5b7a9d
[SCSI] bfa: use standards defined timeout for ELS/CT

Use standards defined 2 * RA_TOV as a timeout for ELS Request retries.
And standards defined 3 * RA_TOV as a timeout for FC-CT Request retries.
Also, added a check to send RPSC2 to a Brocade Fabric only.

Signed-off-by: Jing Huang <huangj@brocade.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
drivers/scsi/bfa/fabric.c
drivers/scsi/bfa/fcpim.c
drivers/scsi/bfa/fcs_fabric.h
drivers/scsi/bfa/fdmi.c
drivers/scsi/bfa/include/protocol/fc.h
drivers/scsi/bfa/ms.c
drivers/scsi/bfa/ns.c
drivers/scsi/bfa/rport.c
drivers/scsi/bfa/rport_ftrs.c
drivers/scsi/bfa/scn.c