RDMA/rxe: Change AH objects to indexed
authorBob Pearson <rpearsonhpe@gmail.com>
Thu, 7 Oct 2021 20:40:48 +0000 (15:40 -0500)
committerJason Gunthorpe <jgg@nvidia.com>
Tue, 12 Oct 2021 16:25:26 +0000 (13:25 -0300)
commit99c13a3e29653badefd9ca36f62dfa84db504f1c
treedad49114530236874f343d13fc9b0854b77c38c9
parentcfc0312d9c83a5bbb66fa73ba47dd1301d75b2e8
RDMA/rxe: Change AH objects to indexed

Make changes to rxe_param.h and rxe_pool.c to allow indexing of AH
objects. Valid indices are non-zero so older providers can be detected.

Link: https://lore.kernel.org/r/20211007204051.10086-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_param.h
drivers/infiniband/sw/rxe/rxe_pool.c