diff options
author | Hiral Patel <hiralpat@cisco.com> | 2013-09-09 13:31:51 -0700 |
---|---|---|
committer | James Bottomley <JBottomley@Parallels.com> | 2013-09-11 15:59:25 -0700 |
commit | fc85799ee362e3ef13b8f2f5c687101490aaaa7e (patch) | |
tree | 504aef31ffc5dbb034e8aa1f1f2907bb5a7c1961 /drivers/scsi/fnic/vnic_scsi.h | |
parent | d0385d926577d87e54f37dfd4f8e4e2de399aa37 (diff) | |
download | linux-fc85799ee362e3ef13b8f2f5c687101490aaaa7e.tar.gz linux-fc85799ee362e3ef13b8f2f5c687101490aaaa7e.tar.bz2 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.h | 4 |
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 |