nvmet-rdma: use new shared CQ mechanism
authorYamin Friedman <yaminf@mellanox.com>
Mon, 13 Jul 2020 08:53:30 +0000 (11:53 +0300)
committerChristoph Hellwig <hch@lst.de>
Wed, 29 Jul 2020 05:45:19 +0000 (07:45 +0200)
commitca0f1a8055be2a04073af435dc68419334481638
treef29e2892d01f0fb9a45995b2884d7ad7ba89b4d4
parent287f329e3131a4e7d7ce9a7e8e6189698d1763f8
nvmet-rdma: use new shared CQ mechanism

Has the driver use shared CQs providing ~10%-20% improvement when
multiple disks are used. Instead of opening a CQ for each QP per
controller, a CQ for each core will be provided by the RDMA core driver
that will be shared between the QPs on that core reducing interrupt
overhead.

Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
Signed-off-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Christoph Hellwig <hch@lst.de>
drivers/nvme/target/rdma.c