diff options
| author | Bob Pearson <[email protected]> | 2020-12-16 17:15:47 -0600 |
|---|---|---|
| committer | Jason Gunthorpe <[email protected]> | 2021-01-12 16:35:38 -0400 |
| commit | 2622aa718a6a774ba302ca002adc62eeab9cdf28 (patch) | |
| tree | 16e7ec0e228fd0e452c09524f43c5fde4d5cf182 /tools/perf/scripts/python/bin | |
| parent | b994d49ef4afa28dc335ee2b4b734939c7a1d95f (diff) | |
RDMA/rxe: Make pool lookup and alloc APIs type safe
The allocate, lookup index, lookup key and cleanup routines in rxe_pool.c
currently are not type safe against relocating the pelem field in the
objects. Planned changes to move allocation of objects into rdma-core make
addressing this a requirement.
Use the elem_offset field in rxe_type_info make these APIs safe against
moving the pelem field.
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Bob Pearson <[email protected]>
Signed-off-by: Jason Gunthorpe <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions