mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-08-21 08:19:28 +00:00
![Sagi Grimberg](/assets/img/avatar_default.png)
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>
10 lines
232 B
C
10 lines
232 B
C
#ifndef _LINUX_BLK_MQ_RDMA_H
|
|
#define _LINUX_BLK_MQ_RDMA_H
|
|
|
|
struct blk_mq_tag_set;
|
|
struct ib_device;
|
|
|
|
int blk_mq_rdma_map_queues(struct blk_mq_tag_set *set,
|
|
struct ib_device *dev, int first_vec);
|
|
|
|
#endif /* _LINUX_BLK_MQ_RDMA_H */
|