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

Has the driver use shared CQs providing ~10%-20% improvement as seen in
the patch introducing shared CQs. Instead of opening a CQ for each QP
per controller connected, a CQ for each QP 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/host/rdma.c