RDMA/rxe: Fix misleading comments and names
authorBob Pearson <rpearsonhpe@gmail.com>
Mon, 25 Jan 2021 21:16:37 +0000 (15:16 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 28 Jan 2021 19:29:55 +0000 (15:29 -0400)
commit88cc77eb8bd05fd185a7d142dedc6e406c5c35b6
treeb4a5479b2cf19a1a2f32054ade10c4fbb377fadd
parentc4369575b2bc2993edf8223a8f5c9f510ee629d0
RDMA/rxe: Fix misleading comments and names

The names and comments of the 'unlocked' pool APIs are very misleading and
not what was intended. This patch replaces 'rxe_xxx_nl' with
'rxe_xxx_locked' with comments indicating that the caller is expected to
hold the rxe pool lock.

Link: https://lore.kernel.org/r/20210125211641.2694-3-rpearson@hpe.com
Reported-by: Hillf Danton <hdanton@sina.com>
Suggested-by: Jason Gunthorpe <jgg@nvidia.com>
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_mcast.c
drivers/infiniband/sw/rxe/rxe_pool.c
drivers/infiniband/sw/rxe/rxe_pool.h