scsi: qla2xxx: Add Block Multi Queue functionality.
authorMichael Hernandez <michael.hernandez@cavium.com>
Mon, 12 Dec 2016 22:40:08 +0000 (14:40 -0800)
committerMartin K. Petersen <martin.petersen@oracle.com>
Wed, 14 Dec 2016 20:37:59 +0000 (15:37 -0500)
commit5601236b6f7948cd1783298f6d4cacce02e22fde
tree231c6677224f5c68c586648b3109aac6cba01e57
parentd74595278f4ab192af66d9e60a9087464638beee
scsi: qla2xxx: Add Block Multi Queue functionality.

Tell the SCSI layer how many hardware queues we have based on the number
of max queue pairs created. The number of max queue pairs created will
depend on number of MSI-X vector count.

This feature can be turned on via CONFIG_SCSI_MQ_DEFAULT or passing
scsi_mod.use_blk_mq=Y as a parameter to the kernel

Reviewed-by: Hannes Reinecke <hare@suse.com>
Signed-off-by: Sawan Chandak <sawan.chandak@cavium.com>
Signed-off-by: Michael Hernandez <michael.hernandez@cavium.com>
Signed-off-by: Himanshu Madhani <himanshu.madhani@cavium.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/qla2xxx/qla_os.c