IB/iser: use new shared CQ mechanism
authorYamin Friedman <yaminf@mellanox.com>
Wed, 22 Jul 2020 13:56:27 +0000 (16:56 +0300)
committerJason Gunthorpe <jgg@nvidia.com>
Wed, 29 Jul 2020 12:10:31 +0000 (09:10 -0300)
commitd56a7852ec4d194aa07e45adf5586343a4ed0b59
treeab28f8a72417a43e169618e9e06d1b29dee28126
parent71cab8ef5c9e53ae2359c4130f4365428ba10136
IB/iser: use new shared CQ mechanism

Have the driver use shared CQs provided by the rdma core driver.  Since
this provides similar functionality to iser_comp it has been removed. Now
there is no reason to allocate very large CQs when the driver is loaded
while gaining the advantage of shared CQs.

Link: https://lore.kernel.org/r/20200722135629.49467-1-maxg@mellanox.com
Signed-off-by: Yamin Friedman <yaminf@mellanox.com>
Acked-by: Max Gurtovoy <maxg@mellanox.com>
Reviewed-by: Sagi Grimberg <sagi@grimberg.me>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/ulp/iser/iscsi_iser.h
drivers/infiniband/ulp/iser/iser_verbs.c