linux/drivers/infiniband/hw/mlx4
Leon Romanovsky 9a9ebf8cd7 RDMA: Restore ability to fail on AH destroy
Like any other IB verbs objects, AH are refcounted by ib_core. The release
of those objects are controlled by ib_core with promise that AH destroy
can't fail.

Being SW object for now, this change makes dealloc_ah() to behave like any
other destroy IB flows.

Fixes: d345691471 ("RDMA: Handle AH allocations by IB/core")
Link: https://lore.kernel.org/r/20200907120921.476363-3-leon@kernel.org
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2020-09-09 13:57:22 -03:00
..
ah.c RDMA: Restore ability to fail on AH destroy 2020-09-09 13:57:22 -03:00
alias_GUID.c timekeeping: Use proper clock specifier names in functions 2019-06-22 12:11:27 +02:00
cm.c IB/mlx4: Adjust delayed work when a dup is observed 2020-08-24 11:31:22 -03:00
cq.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
doorbell.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
Kconfig treewide: replace '---help---' in Kconfig files with 'help' 2020-06-14 01:57:21 +09:00
mad.c IB/mlx4: Fix starvation in paravirt mux/demux 2020-08-24 11:31:22 -03:00
main.c RDMA: Restore ability to fail on PD deallocate 2020-09-09 13:57:22 -03:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
mcg.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
mlx4_ib.h RDMA: Restore ability to fail on AH destroy 2020-09-09 13:57:22 -03:00
mr.c IB/uverbs: Set IOVA on IB MR in uverbs layer 2020-07-06 19:50:33 -03:00
qp.c treewide: Use fallthrough pseudo-keyword 2020-08-23 17:36:59 -05:00
srq.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
sysfs.c mlx4: Use snprintf instead of complicated strcpy 2018-12-06 20:23:06 -07:00