Searched hist:b92d766c (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/infiniband/sw/rxe/ |
H A D | rxe_pool.h | b92d766c Wed Nov 03 00:02:33 CDT 2021 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Save object pointer in pool element
In rxe_pool.c currently there are many cases where it is necessary to compute the offset from a pool element struct to the object containing it in a type independent way where the offset is different for each type. By saving a pointer to the object when they are created extra work can be saved.
Link: https://lore.kernel.org/r/20211103050241.61293-5-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|
H A D | rxe_pool.c | b92d766c Wed Nov 03 00:02:33 CDT 2021 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Save object pointer in pool element
In rxe_pool.c currently there are many cases where it is necessary to compute the offset from a pool element struct to the object containing it in a type independent way where the offset is different for each type. By saving a pointer to the object when they are created extra work can be saved.
Link: https://lore.kernel.org/r/20211103050241.61293-5-rpearsonhpe@gmail.com Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com> Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
|