aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bfa/bfi_ms.h
diff options
context:
space:
mode:
authorKrishna Gudipati <kgudipat@brocade.com>2011-06-13 18:53:04 -0400
committerJames Bottomley <JBottomley@Parallels.com>2011-06-29 16:52:21 -0400
commitbe540a991e2097c313d7304e0daaf89d68011bb9 (patch)
treea44685889c9989546ffac1ee7ad1da7dd641c20c /drivers/scsi/bfa/bfi_ms.h
parent8b070b4a022f86dd5098308e36426ce29b6b8960 (diff)
[SCSI] bfa: FC credit recovery and misc bug fixes.
- Introduce FC credit recovery. - Added module parameter to enable/disable credit recovery. Bug Fixes: - Removed check for ignoring plogi from initiator in switched fabric mode. - The ABTS for PLOGI is going out few millisecs earlier due to FW timer calibration (around 300 miilisecs earlier). So there is a window if an accept comes during this time HBA would have initiated an ABORT. - Added 1 to FC_ELS_TOV for compensating for FW timer. Signed-off-by: Krishna Gudipati <kgudipat@brocade.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bfa/bfi_ms.h')
-rw-r--r--drivers/scsi/bfa/bfi_ms.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/scsi/bfa/bfi_ms.h b/drivers/scsi/bfa/bfi_ms.h
index d43bf6a08a66..edb92561dde9 100644
--- a/drivers/scsi/bfa/bfi_ms.h
+++ b/drivers/scsi/bfa/bfi_ms.h
@@ -226,7 +226,8 @@ struct bfi_fcport_enable_req_s {
226struct bfi_fcport_set_svc_params_req_s { 226struct bfi_fcport_set_svc_params_req_s {
227 struct bfi_mhdr_s mh; /* msg header */ 227 struct bfi_mhdr_s mh; /* msg header */
228 __be16 tx_bbcredit; /* Tx credits */ 228 __be16 tx_bbcredit; /* Tx credits */
229 u16 rsvd; 229 u8 bb_scn; /* BB_SC FC credit recovery */
230 u8 rsvd;
230}; 231};
231 232
232/* 233/*
@@ -374,7 +375,7 @@ struct bfi_lps_login_req_s {
374 u8 fdisc; 375 u8 fdisc;
375 u8 auth_en; 376 u8 auth_en;
376 u8 lps_role; 377 u8 lps_role;
377 u8 rsvd[1]; 378 u8 bb_scn;
378}; 379};
379 380
380struct bfi_lps_login_rsp_s { 381struct bfi_lps_login_rsp_s {
@@ -394,6 +395,8 @@ struct bfi_lps_login_rsp_s {
394 mac_t fcf_mac; 395 mac_t fcf_mac;
395 u8 ext_status; 396 u8 ext_status;
396 u8 brcd_switch; /* attached peer is brcd switch */ 397 u8 brcd_switch; /* attached peer is brcd switch */
398 u8 bb_scn; /* atatched port's bb_scn */
399 u8 resvd;
397}; 400};
398 401
399struct bfi_lps_logout_req_s { 402struct bfi_lps_logout_req_s {