]> git.baikalelectronics.ru Git - kernel.git/commit
RDMA/rxe: Add rxe_srq_cleanup()
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 21 Apr 2022 01:40:35 +0000 (20:40 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Mon, 9 May 2022 12:03:39 +0000 (09:03 -0300)
commita4a52ae81e1238eea57e043635f5723272d4eddc
tree938fa5e86ecf899b0fb2041c39061e1ef3ddc3eb
parent498eef7c58ae3043596d681155c874e9a4622d95
RDMA/rxe: Add rxe_srq_cleanup()

Move cleanup code from rxe_destroy_srq() to rxe_srq_cleanup() which is
called after all references are dropped to allow code depending on the srq
object to complete.

Link: https://lore.kernel.org/r/20220421014042.26985-3-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_loc.h
drivers/infiniband/sw/rxe/rxe_pool.c
drivers/infiniband/sw/rxe/rxe_srq.c
drivers/infiniband/sw/rxe/rxe_verbs.c