Home
last modified time | relevance | path

Searched hist:c9f4c695835c9c2085065a3adc1b57d2005b508b (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/infiniband/sw/rxe/
H A Drxe_pool.hdiff c9f4c695835c9c2085065a3adc1b57d2005b508b Fri Mar 04 01:07:59 CET 2022 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Reverse the sense of RXE_POOL_NO_ALLOC

There is only one remaining object type that allocates its own memory,
that is mr. So the sense of RXE_POOL_NO_ALLOC is changed to
RXE_POOL_ALLOC. Add checks to rxe_alloc() and rxe_add_to_pool() to make
sure the correct call is used for the setting of this flag.

Link: https://lore.kernel.org/r/20220304000808.225811-4-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
H A Drxe_pool.cdiff c9f4c695835c9c2085065a3adc1b57d2005b508b Fri Mar 04 01:07:59 CET 2022 Bob Pearson <rpearsonhpe@gmail.com> RDMA/rxe: Reverse the sense of RXE_POOL_NO_ALLOC

There is only one remaining object type that allocates its own memory,
that is mr. So the sense of RXE_POOL_NO_ALLOC is changed to
RXE_POOL_ALLOC. Add checks to rxe_alloc() and rxe_add_to_pool() to make
sure the correct call is used for the setting of this flag.

Link: https://lore.kernel.org/r/20220304000808.225811-4-rpearsonhpe@gmail.com
Signed-off-by: Bob Pearson <rpearsonhpe@gmail.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>