nvme-rdma: use intelligent affinity based queue mappings
authorSagi Grimberg <sagi@grimberg.me>
Thu, 13 Jul 2017 08:09:44 +0000 (11:09 +0300)
committerDoug Ledford <dledford@redhat.com>
Tue, 8 Aug 2017 18:58:03 +0000 (14:58 -0400)
commit0b36658ca8b15b55eca2806ce7d5542ec26ee686
tree031f1c11eea418de71bd53e509a9e572e31257e7
parent24c5dc6610e8a3764fcb885cc3284c12ff1513de
nvme-rdma: use intelligent affinity based queue mappings

Use the generic block layer affinity mapping helper. Also,
limit nr_hw_queues to the rdma device number of irq vectors
as we don't really need more.

Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/nvme/host/rdma.c