summaryrefslogtreecommitdiffstats
path: root/block/Kconfig
diff options
context:
space:
mode:
authorSagi Grimberg <sagi@grimberg.me>2017-07-13 10:09:43 +0200
committerDoug Ledford <dledford@redhat.com>2017-08-08 20:58:03 +0200
commit24c5dc6610e8a3764fcb885cc3284c12ff1513de (patch)
tree4e63a3a4d5cff3d270598feb0d617c146ae20a41 /block/Kconfig
parentmlx5: support ->get_vector_affinity (diff)
downloadlinux-24c5dc6610e8a3764fcb885cc3284c12ff1513de.tar.xz
linux-24c5dc6610e8a3764fcb885cc3284c12ff1513de.zip
block: Add rdma affinity based queue mapping helper
Like pci and virtio, we add a rdma helper for affinity spreading. This achieves optimal mq affinity assignments according to the underlying rdma device affinity maps. Reviewed-by: Jens Axboe <axboe@fb.com> Reviewed-by: Christoph Hellwig <hch@lst.de> Reviewed-by: Max Gurtovoy <maxg@mellanox.com> Signed-off-by: Sagi Grimberg <sagi@grimberg.me> Signed-off-by: Doug Ledford <dledford@redhat.com>
Diffstat (limited to 'block/Kconfig')
-rw-r--r--block/Kconfig5
1 files changed, 5 insertions, 0 deletions
diff --git a/block/Kconfig b/block/Kconfig
index 89cd28f8d051..3ab42bbb06d5 100644
--- a/block/Kconfig
+++ b/block/Kconfig
@@ -206,4 +206,9 @@ config BLK_MQ_VIRTIO
depends on BLOCK && VIRTIO
default y
+config BLK_MQ_RDMA
+ bool
+ depends on BLOCK && INFINIBAND
+ default y
+
source block/Kconfig.iosched