c320e527e1
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> |
||
---|---|---|
.. | ||
Kconfig | ||
Makefile | ||
pvrdma.h | ||
pvrdma_cmd.c | ||
pvrdma_cq.c | ||
pvrdma_dev_api.h | ||
pvrdma_doorbell.c | ||
pvrdma_main.c | ||
pvrdma_misc.c | ||
pvrdma_mr.c | ||
pvrdma_qp.c | ||
pvrdma_ring.h | ||
pvrdma_srq.c | ||
pvrdma_verbs.c | ||
pvrdma_verbs.h |