summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/fnic/vnic_scsi.h
diff options
context:
space:
mode:
authorHiral Patel <hiralpat@cisco.com>2013-09-09 13:31:51 -0700
committerJames Bottomley <JBottomley@Parallels.com>2013-09-11 15:59:25 -0700
commitfc85799ee362e3ef13b8f2f5c687101490aaaa7e (patch)
tree504aef31ffc5dbb034e8aa1f1f2907bb5a7c1961 /drivers/scsi/fnic/vnic_scsi.h
parentd0385d926577d87e54f37dfd4f8e4e2de399aa37 (diff)
downloadop-kernel-dev-fc85799ee362e3ef13b8f2f5c687101490aaaa7e.zip
op-kernel-dev-fc85799ee362e3ef13b8f2f5c687101490aaaa7e.tar.gz
[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 fbb5536..e343e1d 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
OpenPOWER on IntegriCloud