linux-stable/drivers/infiniband/sw
Bob Pearson 6cde3e8ec1 RDMA/rxe: Remove references to ib_device and pool
rxe_pool.c takes references to the pool and ib_device structs for each
object allocated and also keeps an atomic num_elem count in each
pool. This is more work than is needed. Pool allocation is only called
from verbs APIs which already have references to ib_device and pools are
only diasbled when the driver is removed so no protection of the pool
addresses are needed. The elem count is used to warn if elements are still
present in a pool when it is cleaned up which is useful.

This patch eliminates the references to the ib_device and pool structs.

Link: https://lore.kernel.org/r/20210125211641.2694-5-rpearson@hpe.com
Signed-off-by: Bob Pearson <rpearson@hpe.com>
Signed-off-by: Jason Gunthorpe <jgg@nvidia.com>
2021-01-28 15:29:56 -04:00
..
rdmavt RDMA/sw/rdmavt/qp: Fix a bunch of kernel-doc misdemeanours 2021-01-22 14:37:35 -04:00
rxe RDMA/rxe: Remove references to ib_device and pool 2021-01-28 15:29:56 -04:00
siw RDMA/siw: Fix handling of zero-sized Read and Receive Queues. 2021-01-08 16:29:18 -04:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00