summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic/vnic_scsi.h
diff options
context:
space:
mode:
authorHiral Patel2013-09-09 22:31:51 +0200
committerJames Bottomley2013-09-12 00:59:25 +0200
commitfc85799ee362e3ef13b8f2f5c687101490aaaa7e (patch)
tree504aef31ffc5dbb034e8aa1f1f2907bb5a7c1961 /drivers/scsi/fnic/vnic_scsi.h
parent[SCSI] fnic: Kernel panic while running sh/nosh with max lun cfg (diff)
downloadkernel-qcow2-linux-fc85799ee362e3ef13b8f2f5c687101490aaaa7e.tar.gz
kernel-qcow2-linux-fc85799ee362e3ef13b8f2f5c687101490aaaa7e.tar.xz
kernel-qcow2-linux-fc85799ee362e3ef13b8f2f5c687101490aaaa7e.zip
[SCSI] fnic: fnic Driver Tuneables Exposed through CLI
Introduced module params to provide dynamic way of configuring queue depth. Added support to get max io throttle count through UCSM to configure maximum outstanding IOs supported by fnic and push that value to scsi mid-layer. Supported IO throttle values: UCSM IO THROTTLE VALUE FNIC MAX OUTSTANDING IOS ------------------------------------------------------ 16 (Default) 2048 <= 256 256 > 256 <ucsm value> Signed-off-by: Hiral Patel <hiralpat@cisco.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
Diffstat (limited to 'drivers/scsi/fnic/vnic_scsi.h')
-rw-r--r--drivers/scsi/fnic/vnic_scsi.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/scsi/fnic/vnic_scsi.h b/drivers/scsi/fnic/vnic_scsi.h
index fbb55364e272..e343e1d0f801 100644
--- a/drivers/scsi/fnic/vnic_scsi.h
+++ b/drivers/scsi/fnic/vnic_scsi.h
@@ -54,8 +54,8 @@
#define VNIC_FNIC_PLOGI_TIMEOUT_MIN 1000
#define VNIC_FNIC_PLOGI_TIMEOUT_MAX 255000
-#define VNIC_FNIC_IO_THROTTLE_COUNT_MIN 256
-#define VNIC_FNIC_IO_THROTTLE_COUNT_MAX 4096
+#define VNIC_FNIC_IO_THROTTLE_COUNT_MIN 1
+#define VNIC_FNIC_IO_THROTTLE_COUNT_MAX 2048
#define VNIC_FNIC_LINK_DOWN_TIMEOUT_MIN 0
#define VNIC_FNIC_LINK_DOWN_TIMEOUT_MAX 240000