diff options
author | Bob Pearson <rpearsonhpe@gmail.com> | 2021-10-07 15:40:49 -0500 |
---|---|---|
committer | Jason Gunthorpe <jgg@nvidia.com> | 2021-10-12 13:25:26 -0300 |
commit | 73a54932100375ba94b31710f1e3f1234f23be0b (patch) | |
tree | cd0be4cfd74d32397a36452aa0070a56e4949996 /drivers/infiniband/sw/rxe/rxe_net.h | |
parent | RDMA/rxe: Change AH objects to indexed (diff) | |
download | linux-dev-73a54932100375ba94b31710f1e3f1234f23be0b.tar.xz linux-dev-73a54932100375ba94b31710f1e3f1234f23be0b.zip |
RDMA/rxe: Create AH index and return to user space
Make changes to rdma_user_rxe.h to allow indexing AH objects, passing the
index in UD send WRs to the driver and returning the index to the rxe
provider.
Modify rxe_create_ah() to add an index to AH when created and if called
from a new user provider return it to user space. If called from an old
provider mark the AH as not having a useful index. Modify rxe_destroy_ah
to drop the index before deleting the object.
Link: https://lore.kernel.org/r/20211007204051.10086-4-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
Diffstat (limited to 'drivers/infiniband/sw/rxe/rxe_net.h')
0 files changed, 0 insertions, 0 deletions