diff options
author | Vijaya Mohan Guvva <vmohan@brocade.com> | 2013-05-13 11:33:19 +0200 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-06-26 20:40:12 +0200 |
commit | bbe37a67d9da18e40dfd9232586612424b1466f7 (patch) | |
tree | 28d5bbda3455f1606d7dac76c20ea00cb673b2d3 /drivers/scsi/bfa/bfi_ms.h | |
parent | [SCSI] ipr: qc_fill_rtf() method should not store alternate status register (diff) | |
download | linux-bbe37a67d9da18e40dfd9232586612424b1466f7.tar.xz linux-bbe37a67d9da18e40dfd9232586612424b1466f7.zip |
[SCSI] bfa: Support for FC BB credit recovery
This patch includes changes to 1) Enable/disable fc credit recovery on
Brocade FC adapter port operating at max supported speed. 2) Get credit
recovery status and stats related to credit loss and recovered credits
Signed-off-by: Vijaya Mohan Guvva <vmohan@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.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/scsi/bfa/bfi_ms.h b/drivers/scsi/bfa/bfi_ms.h index 5ae2c167b2c8..1a3fe5ad58fa 100644 --- a/drivers/scsi/bfa/bfi_ms.h +++ b/drivers/scsi/bfa/bfi_ms.h @@ -276,8 +276,7 @@ struct bfi_fcport_enable_req_s { struct bfi_fcport_set_svc_params_req_s { struct bfi_mhdr_s mh; /* msg header */ __be16 tx_bbcredit; /* Tx credits */ - u8 bb_scn; /* BB_SC FC credit recovery */ - u8 rsvd; + u8 rsvd[2]; }; /* @@ -446,8 +445,8 @@ struct bfi_lps_login_rsp_s { mac_t fcf_mac; u8 ext_status; u8 brcd_switch; /* attached peer is brcd switch */ - u8 bb_scn; /* atatched port's bb_scn */ u8 bfa_tag; + u8 rsvd; }; struct bfi_lps_logout_req_s { |