]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitaf77ade41f7c6d57e9c464c6cf30c0a43efb7f17
treef29e2892d01f0fb9a45995b2884d7ad7ba89b4d4
parentb4662952f04b7ec25f06040f0ecdd1b4f5490a40
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