RDMA/bnxt_re: Flush CQ notification Work Queue before destroying QP
authorSelvin Xavier <selvin.xavier@broadcom.com>
Mon, 6 Nov 2017 16:07:31 +0000 (08:07 -0800)
committerDoug Ledford <dledford@redhat.com>
Mon, 13 Nov 2017 20:53:57 +0000 (15:53 -0500)
commitc88a7858d721af5e2d059e3b0b751fed0504e814
treedee8f99cd851b6af9f752d099701b27d6a5d762b
parent237379fc339750cbe6680f6a3565ab5c24e32229
RDMA/bnxt_re: Flush CQ notification Work Queue before destroying QP

Destroy_qp shall wait for any outstanding CQ notification to be
flushed out before proceeding with QP destroy. Flushing the WQ
before destroying the QP.

Signed-off-by: Selvin Xavier <selvin.xavier@broadcom.com>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/bnxt_re/ib_verbs.c
drivers/infiniband/hw/bnxt_re/qplib_fp.c
drivers/infiniband/hw/bnxt_re/qplib_fp.h