linux-stable/drivers/infiniband/hw/hns
Yixing Liu 70f9252158 RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT
Before destroying MPT, the reserved loopback QPs send loopback IOs (one
write operation per SL). Completing these loopback IOs represents that
there isn't any outstanding request in MPT, then it's safe to destroy MPT.

Link: https://lore.kernel.org/r/20220310042835.38634-1-liangwenpeng@huawei.com
Signed-off-by: Yixing Liu <liuyixing1@huawei.com>
Signed-off-by: Wenpeng Liang <liangwenpeng@huawei.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2022-03-15 20:19:00 -03:00
..
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_ah.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_cmd.h RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Refactor the alloc_cqc() 2022-03-04 17:36:32 -04:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_device.h RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT 2022-03-15 20:19:00 -03:00
hns_roce_hem.c RDMA/hns: Fix the wrong type of parameter "op" of the mailbox 2022-03-04 17:36:31 -04:00
hns_roce_hem.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v2.c RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT 2022-03-15 20:19:00 -03:00
hns_roce_hw_v2.h RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT 2022-03-15 20:19:00 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Refactor mailbox functions 2022-03-04 17:36:31 -04:00
hns_roce_main.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_mr.c RDMA/hns: Use the reserved loopback QPs to free MR before destroying MPT 2022-03-15 20:19:00 -03:00
hns_roce_pd.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_qp.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_restrack.c RDMA: Add a dedicated CQ resource tracker function 2020-06-23 11:46:27 -03:00
hns_roce_srq.c RDMA/hns: Refactor the alloc_srqc() 2022-03-04 17:36:32 -04:00