summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/cxgb3i/cxgb3i.h
diff options
context:
space:
mode:
authorMike Christie <michaelc@cs.wisc.edu>2009-04-21 22:32:33 +0200
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-04-27 17:09:59 +0200
commitdd0af9f94e54efb13ee050ebac11909215ef02c2 (patch)
treeafa6e1ca35b4197221308c14ca80d5da3c691372 /drivers/scsi/cxgb3i/cxgb3i.h
parent[SCSI] cxgb3i, iser, iscsi_tcp: set target can queue (diff)
downloadlinux-dd0af9f94e54efb13ee050ebac11909215ef02c2.tar.xz
linux-dd0af9f94e54efb13ee050ebac11909215ef02c2.zip
[SCSI] cxgb3i: fix can_queue and cmd_per_lun initialization
cxgb3i was setting can_queue to only 128 commands, and was setting the can_queue and cmd_per_lun to the same value. This sets the can_queue to 1024 commands, and sets the cmd_per_lun to a safer default of 32. Signed-off-by: Mike Christie <michaelc@cs.wisc.edu> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi/cxgb3i/cxgb3i.h')
-rw-r--r--drivers/scsi/cxgb3i/cxgb3i.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/scsi/cxgb3i/cxgb3i.h b/drivers/scsi/cxgb3i/cxgb3i.h
index d362860e7504..59b0958d2d11 100644
--- a/drivers/scsi/cxgb3i/cxgb3i.h
+++ b/drivers/scsi/cxgb3i/cxgb3i.h
@@ -34,7 +34,7 @@
#include "cxgb3i_offload.h"
#include "cxgb3i_ddp.h"
-#define CXGB3I_SCSI_QDEPTH_DFLT 128
+#define CXGB3I_SCSI_HOST_QDEPTH 1024
#define CXGB3I_MAX_TARGET CXGB3I_MAX_CONN
#define CXGB3I_MAX_LUN 512
#define ISCSI_PDU_NONPAYLOAD_MAX \