diff options
author | Bhanu Prakash Gollapudi <bprakash@broadcom.com> | 2011-07-26 17:51:40 -0400 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2011-07-27 07:38:12 -0400 |
commit | b252f4c7c39cc43c1a34c68951f98d7391a1a103 (patch) | |
tree | 8c9106ae222a32b8b418b091a11f51a9fd851d7f /drivers/scsi/bnx2fc/bnx2fc.h | |
parent | aea71a024914e8b5b8bed31256dae42195a0a207 (diff) |
[SCSI] bnx2fc: Enable REC & CONF support for the session
Based on PRLI response, identify if the target is FCP-2 (seq level error
recovery) capable, and appropriately set the corresponding CONF, REC flags when
offloading the session.
Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com>
Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc.h')
-rw-r--r-- | drivers/scsi/bnx2fc/bnx2fc.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h index 6012317c1f2f..d38dcc7f1047 100644 --- a/drivers/scsi/bnx2fc/bnx2fc.h +++ b/drivers/scsi/bnx2fc/bnx2fc.h | |||
@@ -244,9 +244,11 @@ struct bnx2fc_rport { | |||
244 | struct fc_rport_priv *rdata; | 244 | struct fc_rport_priv *rdata; |
245 | void __iomem *ctx_base; | 245 | void __iomem *ctx_base; |
246 | #define DPM_TRIGER_TYPE 0x40 | 246 | #define DPM_TRIGER_TYPE 0x40 |
247 | u32 io_timeout; | ||
247 | u32 fcoe_conn_id; | 248 | u32 fcoe_conn_id; |
248 | u32 context_id; | 249 | u32 context_id; |
249 | u32 sid; | 250 | u32 sid; |
251 | int dev_type; | ||
250 | 252 | ||
251 | unsigned long flags; | 253 | unsigned long flags; |
252 | #define BNX2FC_FLAG_SESSION_READY 0x1 | 254 | #define BNX2FC_FLAG_SESSION_READY 0x1 |