aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/scsi/be2iscsi/be_main.h
diff options
context:
space:
mode:
authorJayamohan Kallickal <jayamohank@serverengines.com>2010-01-06 15:21:04 -0500
committerJames Bottomley <James.Bottomley@suse.de>2010-02-08 19:26:03 -0500
commitaa3590329fdf789902e3c1383589bad12a74fb09 (patch)
tree73e907cd11c9f5c0fcbea01710c448c58c2fe760 /drivers/scsi/be2iscsi/be_main.h
parent48bd86cf213a5780346b603b703c4b83978611a8 (diff)
[SCSI] be2iscsi: Fixing the number of SGE's
The number of SGE's supported is fixed to what the chip expects. Also, the max sectors set to tested values Signed-off-by: Jayamohan Kallickal <jayamohank@serverengines.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/be2iscsi/be_main.h')
-rw-r--r--drivers/scsi/be2iscsi/be_main.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/be2iscsi/be_main.h b/drivers/scsi/be2iscsi/be_main.h
index 4cde8f6eb5bc..13ff02c1fcaa 100644
--- a/drivers/scsi/be2iscsi/be_main.h
+++ b/drivers/scsi/be2iscsi/be_main.h
@@ -56,10 +56,10 @@
56#define BE2_DEFPDU_DATA_SZ 8192 56#define BE2_DEFPDU_DATA_SZ 8192
57 57
58#define MAX_CPUS 31 58#define MAX_CPUS 31
59#define BEISCSI_SGLIST_ELEMENTS BE2_SGE 59#define BEISCSI_SGLIST_ELEMENTS 30
60 60
61#define BEISCSI_CMD_PER_LUN 128 /* scsi_host->cmd_per_lun */ 61#define BEISCSI_CMD_PER_LUN 128 /* scsi_host->cmd_per_lun */
62#define BEISCSI_MAX_SECTORS 2048 /* scsi_host->max_sectors */ 62#define BEISCSI_MAX_SECTORS 256 /* scsi_host->max_sectors */
63 63
64#define BEISCSI_MAX_CMD_LEN 16 /* scsi_host->max_cmd_len */ 64#define BEISCSI_MAX_CMD_LEN 16 /* scsi_host->max_cmd_len */
65#define BEISCSI_NUM_MAX_LUN 256 /* scsi_host->max_lun */ 65#define BEISCSI_NUM_MAX_LUN 256 /* scsi_host->max_lun */