aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc/bnx2fc.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/scsi/bnx2fc/bnx2fc.h')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h
index 049ea907e04a..a4953ef9e53a 100644
--- a/drivers/scsi/bnx2fc/bnx2fc.h
+++ b/drivers/scsi/bnx2fc/bnx2fc.h
@@ -62,7 +62,7 @@
62#include "bnx2fc_constants.h" 62#include "bnx2fc_constants.h"
63 63
64#define BNX2FC_NAME "bnx2fc" 64#define BNX2FC_NAME "bnx2fc"
65#define BNX2FC_VERSION "1.0.9" 65#define BNX2FC_VERSION "1.0.10"
66 66
67#define PFX "bnx2fc: " 67#define PFX "bnx2fc: "
68 68
@@ -114,6 +114,8 @@
114#define BNX2FC_HASH_TBL_CHUNK_SIZE (16 * 1024) 114#define BNX2FC_HASH_TBL_CHUNK_SIZE (16 * 1024)
115 115
116#define BNX2FC_MAX_SEQS 255 116#define BNX2FC_MAX_SEQS 255
117#define BNX2FC_MAX_RETRY_CNT 3
118#define BNX2FC_MAX_RPORT_RETRY_CNT 255
117 119
118#define BNX2FC_READ (1 << 1) 120#define BNX2FC_READ (1 << 1)
119#define BNX2FC_WRITE (1 << 0) 121#define BNX2FC_WRITE (1 << 0)
@@ -121,8 +123,10 @@
121#define BNX2FC_MIN_XID 0 123#define BNX2FC_MIN_XID 0
122#define BNX2FC_MAX_XID \ 124#define BNX2FC_MAX_XID \
123 (BNX2FC_MAX_OUTSTANDING_CMNDS + BNX2FC_ELSTM_XIDS - 1) 125 (BNX2FC_MAX_OUTSTANDING_CMNDS + BNX2FC_ELSTM_XIDS - 1)
126#define FCOE_MAX_NUM_XIDS 0x2000
124#define FCOE_MIN_XID (BNX2FC_MAX_XID + 1) 127#define FCOE_MIN_XID (BNX2FC_MAX_XID + 1)
125#define FCOE_MAX_XID (FCOE_MIN_XID + 4095) 128#define FCOE_MAX_XID (FCOE_MIN_XID + FCOE_MAX_NUM_XIDS - 1)
129#define FCOE_XIDS_PER_CPU (FCOE_MIN_XID + (512 * nr_cpu_ids) - 1)
126#define BNX2FC_MAX_LUN 0xFFFF 130#define BNX2FC_MAX_LUN 0xFFFF
127#define BNX2FC_MAX_FCP_TGT 256 131#define BNX2FC_MAX_FCP_TGT 256
128#define BNX2FC_MAX_CMD_LEN 16 132#define BNX2FC_MAX_CMD_LEN 16