[SCSI] fnic: fnic Driver Tuneables Exposed through CLI
authorHiral Patel <hiralpat@cisco.com>
Mon, 9 Sep 2013 20:31:51 +0000 (13:31 -0700)
committerJames Bottomley <JBottomley@Parallels.com>
Wed, 11 Sep 2013 22:59:25 +0000 (15:59 -0700)
commitfc85799ee362e3ef13b8f2f5c687101490aaaa7e
tree504aef31ffc5dbb034e8aa1f1f2907bb5a7c1961
parentd0385d926577d87e54f37dfd4f8e4e2de399aa37
[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>
drivers/scsi/fnic/fnic.h
drivers/scsi/fnic/fnic_main.c
drivers/scsi/fnic/fnic_scsi.c
drivers/scsi/fnic/vnic_scsi.h