Files
android_kernel_xiaomi_sm8450/drivers/infiniband/sw/rdmavt
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
..
2019-04-08 13:05:25 -03:00
2016-03-10 20:37:27 -05:00
2019-04-08 13:05:25 -03:00
2019-06-28 22:34:26 -03:00
2019-04-24 11:31:49 -03:00
2019-04-24 11:31:49 -03:00
2016-12-11 15:25:13 -05:00
2019-04-24 11:31:49 -03:00
2016-03-10 20:37:27 -05:00