RDMA/rxe: Replace missing rxe_pool_get_index_locked
authorBob Pearson <rpearsonhpe@gmail.com>
Mon, 25 Jan 2021 21:16:41 +0000 (15:16 -0600)
committerJason Gunthorpe <jgg@nvidia.com>
Thu, 28 Jan 2021 19:29:56 +0000 (15:29 -0400)
commitce2063e3872b849421c6135881b1a6fb16d9eab7
treea6a9f958ace76759e15e52ab4a74a762284c759b
parenteae5f0642e2f6a07a73f3fd60ecfeae9b4b32d5c
RDMA/rxe: Replace missing rxe_pool_get_index_locked

One of the pool APIs for when caller is holding lock was not defined but
is declared in rxe_pool.h. This patch adds the definition.

Link: https://lore.kernel.org/r/20210125211641.2694-7-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
drivers/infiniband/sw/rxe/rxe_pool.c