Searched hist:b994d49ef4afa28dc335ee2b4b734939c7a1d95f (Results 1 – 2 of 2) sorted by relevance
/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.h | diff b994d49ef4afa28dc335ee2b4b734939c7a1d95f Thu Dec 17 00:15:46 CET 2020 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Add elem_offset field to rxe_type_info
The rxe verbs objects each include an rdma-core object 'ib_xxx' and a rxe_pool_entry 'pelem' in addition to rxe specific data. Originally these all had pelem first and ib_xxx second. Currently about half have ib_xxx first and half have pelem first. Saving the offset of the pelem field in rxe_type info will enable making the rxe_pool APIs type safe as the pelem field continues to vary.
Link: https://lore.kernel.org/r/20201216231550.27224-4-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|
H A D | rxe_pool.c | diff b994d49ef4afa28dc335ee2b4b734939c7a1d95f Thu Dec 17 00:15:46 CET 2020 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Add elem_offset field to rxe_type_info
The rxe verbs objects each include an rdma-core object 'ib_xxx' and a rxe_pool_entry 'pelem' in addition to rxe specific data. Originally these all had pelem first and ib_xxx second. Currently about half have ib_xxx first and half have pelem first. Saving the offset of the pelem field in rxe_type info will enable making the rxe_pool APIs type safe as the pelem field continues to vary.
Link: https://lore.kernel.org/r/20201216231550.27224-4-rpearson@hpe.com Signed-off-by: Bob Pearson <rpearson@hpe.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|