summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/bnx2fc
diff options
context:
space:
mode:
authorMichael Chan <mchan@broadcom.com>2011-08-26 09:45:39 +0000
committerDavid S. Miller <davem@davemloft.net>2011-08-28 17:08:27 -0400
commitdc219a2e4812eecdc5438d2a0e2434b03d3efbf2 (patch)
tree63e0a80b381df71c5c798b49d60f6fe5129d7ae0 /drivers/scsi/bnx2fc
parent95148229d32e5c68445a59d981482dba57f91919 (diff)
downloadblackbird-op-linux-dc219a2e4812eecdc5438d2a0e2434b03d3efbf2.tar.gz
blackbird-op-linux-dc219a2e4812eecdc5438d2a0e2434b03d3efbf2.zip
cnic, bnx2fc: Increase maximum FCoE sessions.
Increase it to NVRAM configured limit or 1024 whichever is less. Signed-off-by: Michael Chan <mchan@broadcom.com> Signed-off-by: Bhanu Prakash Gollapudi <bprakash@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/scsi/bnx2fc')
-rw-r--r--drivers/scsi/bnx2fc/bnx2fc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/bnx2fc/bnx2fc.h b/drivers/scsi/bnx2fc/bnx2fc.h
index 5613e8afffb0..dd335a2a797b 100644
--- a/drivers/scsi/bnx2fc/bnx2fc.h
+++ b/drivers/scsi/bnx2fc/bnx2fc.h
@@ -81,7 +81,7 @@
#define BNX2FC_RQ_WQES_MAX 16
#define BNX2FC_CQ_WQES_MAX (BNX2FC_SQ_WQES_MAX + BNX2FC_RQ_WQES_MAX)
-#define BNX2FC_NUM_MAX_SESS 128
+#define BNX2FC_NUM_MAX_SESS 1024
#define BNX2FC_NUM_MAX_SESS_LOG (ilog2(BNX2FC_NUM_MAX_SESS))
#define BNX2FC_MAX_OUTSTANDING_CMNDS 2048
OpenPOWER on IntegriCloud