On 12/02/2016 10:44 PM, Himanshu Madhani wrote: > From: Michael Hernandez <michael.hernandez@xxxxxxxxxx> > > 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 > > Queue pair creation depend on module parameter "ql2xmqsupport", which > need to be enabled to create queue pair. > > Signed-off-by: Sawan Chandak <sawan.chandak@xxxxxxxxxx> > Signed-off-by: Michael Hernandez <michael.hernandez@xxxxxxxxxx> > Signed-off-by: Himanshu Madhani <himanshu.madhani@xxxxxxxxxx> > --- > drivers/scsi/qla2xxx/qla_os.c | 37 ++++++++++++++++++++++++++++++++----- > 1 file changed, 32 insertions(+), 5 deletions(-) > Reviewed-by: Hannes Reinecke <hare@xxxxxxxx> Cheers, Hannes -- Dr. Hannes Reinecke Teamlead Storage & Networking hare@xxxxxxx +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 Nürnberg GF: F. Imendörffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG Nürnberg) -- To unsubscribe from this list: send the line "unsubscribe linux-scsi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html