linux/drivers/infiniband
Bob Pearson 2622aa718a 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/20201216231550.27224-5-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-01-12 16:35:38 -04:00
..
core RDMA: Use kzalloc for allocating only one thing 2021-01-07 16:47:53 -04:00
hw RDMA: Use kzalloc for allocating only one thing 2021-01-07 16:47:53 -04:00
sw RDMA/rxe: Make pool lookup and alloc APIs type safe 2021-01-12 16:35:38 -04:00
ulp RDMA: Convert comma to semicolon 2021-01-07 13:53:41 -04:00
Kconfig RMDA/sw: Don't allow drivers using dma_virt_ops on highmem configs 2020-11-12 13:27:41 -04:00
Makefile