]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit3fa7068b257248dc1ebb900acda5abb631a02e68
treedee8f99cd851b6af9f752d099701b27d6a5d762b
parent4a724cf4e0ac01516208561b8a62fc6c8c59cdba
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