diff options
author | Jing Huang <huangj@brocade.com> | 2010-07-08 22:50:15 -0400 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2010-07-27 13:04:08 -0400 |
commit | 4f1806bc3c409395de4dab5984f7a235dc4a0eda (patch) | |
tree | 9a631392451ba3c28d62944380685d49f6ca7eb5 /drivers/scsi/bfa/include | |
parent | b85d045ee866011df535565bf12d684e8e5b7a9d (diff) |
[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>
Diffstat (limited to 'drivers/scsi/bfa/include')
-rw-r--r-- | drivers/scsi/bfa/include/protocol/fc.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/bfa/include/protocol/fc.h b/drivers/scsi/bfa/include/protocol/fc.h index 8d1038035a76..436dd7c5643a 100644 --- a/drivers/scsi/bfa/include/protocol/fc.h +++ b/drivers/scsi/bfa/include/protocol/fc.h | |||
@@ -1080,6 +1080,7 @@ struct fc_alpabm_s{ | |||
1080 | #define FC_REC_TOV (FC_ED_TOV + 1) | 1080 | #define FC_REC_TOV (FC_ED_TOV + 1) |
1081 | #define FC_RA_TOV 10 | 1081 | #define FC_RA_TOV 10 |
1082 | #define FC_ELS_TOV (2 * FC_RA_TOV) | 1082 | #define FC_ELS_TOV (2 * FC_RA_TOV) |
1083 | #define FC_FCCT_TOV (3 * FC_RA_TOV) | ||
1083 | 1084 | ||
1084 | /* | 1085 | /* |
1085 | * virtual fabric related defines | 1086 | * virtual fabric related defines |