qla2xxx: add ->map_queues support for nvme
authorSaurav Kashyap <skashyap@marvell.com>
Mon, 23 Aug 2021 12:56:49 +0000 (05:56 -0700)
committerChristoph Hellwig <hch@lst.de>
Wed, 20 Oct 2021 17:16:00 +0000 (19:16 +0200)
commit2b2af50ae8367b0655e12ccfe6252d5c1d7ae7bf
treed154349ff74e2ce731f2e9d7bab6428b187fe017
parent01d838164b4c305c1cafb0c3f71fb0027d99358b
qla2xxx: add ->map_queues support for nvme

Implement ->map queues and use the block layer blk_mq_pci_map_queues
helper for mapping queues to CPUs.

With this mapping minimum 10%+ increase in performance is noticed.

Signed-off-by: Saurav Kashyap <skashyap@marvell.com>
Signed-off-by: Nilesh Javali <njavali@marvell.com>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/scsi/qla2xxx/qla_nvme.c