summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/qla2xxx/qla_def.h
diff options
context:
space:
mode:
authorGiridhar Malavali <giridhar.malavali@qlogic.com>2010-09-03 15:20:56 -0700
committerJames Bottomley <James.Bottomley@suse.de>2010-09-05 15:36:25 -0300
commit58548cb51a824276c34a3227a4917d2e2ded0daa (patch)
tree788f6633ff6cb850cf77e4b47683260a2e582a94 /drivers/scsi/qla2xxx/qla_def.h
parent3fadb80b0f39b193caafeed615a219aae57279fe (diff)
downloadblackbird-obmc-linux-58548cb51a824276c34a3227a4917d2e2ded0daa.tar.gz
blackbird-obmc-linux-58548cb51a824276c34a3227a4917d2e2ded0daa.zip
[SCSI] qla2xxx: Increase SG table size to support large IO size per scsi command.
The sg table size is increased from 128 to 1024 to support multiple sg lists and number of sg elements per scsi command. Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/qla2xxx/qla_def.h')
-rw-r--r--drivers/scsi/qla2xxx/qla_def.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/scsi/qla2xxx/qla_def.h b/drivers/scsi/qla2xxx/qla_def.h
index ee15f4f10fec..df7d74f93e50 100644
--- a/drivers/scsi/qla2xxx/qla_def.h
+++ b/drivers/scsi/qla2xxx/qla_def.h
@@ -2989,6 +2989,8 @@ typedef struct scsi_qla_host {
#define CMD_SP(Cmnd) ((Cmnd)->SCp.ptr)
+#define QLA_SG_ALL 1024
+
enum nexus_wait_type {
WAIT_HOST = 0,
WAIT_TARGET,
OpenPOWER on IntegriCloud