linux/drivers/infiniband/sw
Moni Shoua c320e527e1 IB: Allow calls to ib_umem_get from kernel ULPs
So far the assumption was that ib_umem_get() and ib_umem_odp_get()
are called from flows that start in UVERBS and therefore has a user
context. This assumption restricts flows that are initiated by ULPs
and need the service that ib_umem_get() provides.

This patch changes ib_umem_get() and ib_umem_odp_get() to get IB device
directly by relying on the fact that both UVERBS and ULPs sets that
field correctly.

Reviewed-by: Guy Levi <guyle@mellanox.com>
Signed-off-by: Moni Shoua <monis@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
2020-01-16 16:14:28 +02:00
..
rdmavt IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
rxe IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
siw RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
Makefile rdma/siw: addition to kernel build environment 2019-07-02 17:03:41 -03:00