On Tue, Oct 19, 2021 at 11:22:12AM +0300, Prabhakar Kushwaha wrote: > Device's QP memory should only be allocated and released by IB layer. > This patch removes the redundant release of the device's qp memory > and uses completion APIs to make sure that .destroy_qp() only return, > when qp reference becomes 0. > > Fixes: 514aee660df4 ("RDMA: Globally allocate and release QP memory") > Acked-by: Michal Kalderon <michal.kalderon@xxxxxxxxxxx> > Signed-off-by: Ariel Elior <aelior@xxxxxxxxxxx> > Signed-off-by: Shai Malin <smalin@xxxxxxxxxxx> > Signed-off-by: Alok Prasad <palok@xxxxxxxxxxx> > Signed-off-by: Prabhakar Kushwaha <pkushwaha@xxxxxxxxxxx> > --- > drivers/infiniband/hw/qedr/qedr.h | 1 + > drivers/infiniband/hw/qedr/qedr_iw_cm.c | 2 +- > drivers/infiniband/hw/qedr/verbs.c | 5 ++++- > 3 files changed, 6 insertions(+), 2 deletions(-) Applied to for-rc, thanks Jason