IB/srpt: use new shared CQ mechanism
authorYamin Friedman <yaminf@mellanox.com>
Wed, 22 Jul 2020 13:56:29 +0000 (16:56 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 29 Jul 2020 12:10:32 +0000 (09:10 -0300)
commitc804af2c1d3152c0cf877eeb50d60c2d49ac0cf0
tree425d63115e10591cd6a5051eb7e7d5a98ba56848
parentc6e663072333581364a9833a8bc895c699fb85ec
IB/srpt: use new shared CQ mechanism

Have the driver use shared CQs provided by the rdma core driver.  This
provides the advantage of improved efficiency handling interrupts.

Link: https://lore.kernel.org/r/20200722135629.49467-3-maxg@mellanox.com
Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
Reviewed-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Bart Van Assche <bvanassche@acm.org>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/srpt/ib_srpt.c
drivers/infiniband/ulp/srpt/ib_srpt.h