linux/drivers/infiniband/hw/hns
Leon Romanovsky 43d781b9fa RDMA: Allow fail of destroy CQ
Like any other verbs objects, CQ shouldn't fail during destroy, but
mlx5_ib didn't follow this contract with mixed IB verbs objects with
DEVX. Such mix causes to the situation where FW and kernel are fully
interdependent on the reference counting of each side.

Kernel verbs and drivers that don't have DEVX flows shouldn't fail.

Fixes: e39afe3d6d ("RDMA: Convert CQ allocations to be under core responsibility")
Link: https://lore.kernel.org/r/20200907120921.476363-7-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-09-09 14:14:29 -03:00
..
hns_roce_ah.c RDMA: Restore ability to fail on AH destroy 2020-09-09 13:57:22 -03:00
hns_roce_alloc.c RDMA/hns: Change all page_shift to unsigned 2020-05-25 14:02:12 -03:00
hns_roce_cmd.c RDMA/hns: Optimize cmd init and mode selection for hip08 2019-09-16 10:52:20 -03:00
hns_roce_cmd.h RDMA/hns: Rename the functions used inside creating cq 2019-11-25 10:31:48 -04:00
hns_roce_common.h RDMA/hns: Remove unused code about assert 2020-05-25 14:02:12 -03:00
hns_roce_cq.c RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
hns_roce_db.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
hns_roce_device.h RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
hns_roce_hem.c RDMA/hns: Avoid unncessary initialization 2020-09-09 13:23:15 -03:00
hns_roce_hem.h RDMA/hns: Change all page_shift to unsigned 2020-05-25 14:02:12 -03:00
hns_roce_hw_v1.c RDMA: Allow fail of destroy CQ 2020-09-09 14:14:29 -03:00
hns_roce_hw_v1.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_hw_v2.c RDMA/hns: Avoid unncessary initialization 2020-09-09 13:23:15 -03:00
hns_roce_hw_v2.h Revert "RDMA/hns: Reserve one sge in order to avoid local length error" 2020-08-20 08:35:19 -03:00
hns_roce_main.c RDMA/hns: Avoid unncessary initialization 2020-09-09 13:23:15 -03:00
hns_roce_mr.c RDMA/hns: Avoid unncessary initialization 2020-09-09 13:23:15 -03:00
hns_roce_pd.c RDMA: Restore ability to fail on PD deallocate 2020-09-09 13:57:22 -03:00
hns_roce_qp.c Linux 5.9-rc3 2020-08-31 12:28:12 -03: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: Restore ability to fail on SRQ destroy 2020-09-09 14:14:24 -03:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00