]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commit
scsi: storvsc: Parameterize number hardware queues
authorMelanie Plageman (Microsoft) <melanieplageman@gmail.com>
Wed, 24 Feb 2021 23:29:48 +0000 (23:29 +0000)
committerMartin K. Petersen <martin.petersen@oracle.com>
Thu, 4 Mar 2021 22:37:06 +0000 (17:37 -0500)
commita81a38cc6ddaf128c7ca9e3fffff21c243f33c97
tree8d1193ba8fc94222a6dbb60d10a2fd03eb065dac
parent67073c69c8902d5f23845b3689360853826fcfb8
scsi: storvsc: Parameterize number hardware queues

Add ability to set the number of hardware queues with new module parameter,
storvsc_max_hw_queues. The default value remains the number of CPUs.  This
functionality is useful in some environments (e.g. Microsoft Azure) where
decreasing the number of hardware queues has been shown to improve
performance.

Link: https://lore.kernel.org/r/20210224232948.4651-1-melanieplageman@gmail.com
Reviewed-by: Michael Kelley <mikelley@microsoft.com>
Signed-off-by: Melanie Plageman (Microsoft) <melanieplageman@gmail.com>
Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
drivers/scsi/storvsc_drv.c