linux_dsm_epyc7002/drivers/infiniband/hw/ocrdma
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
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
ocrdma_ah.c RDMA: Change MAD processing function to remove extra casting and parameter 2019-11-12 20:20:15 -04:00
ocrdma_ah.h RDMA: Change MAD processing function to remove extra casting and parameter 2019-11-12 20:20:15 -04:00
ocrdma_hw.c IB: Remove unneeded memset 2019-07-03 14:26:49 -03:00
ocrdma_hw.h RDMA: Clean destroy CQ in drivers do not return errors 2019-06-11 16:17:10 -04:00
ocrdma_main.c RDMA/ocrdma: Remove unsupported modify_port callback 2019-11-06 13:29:15 -04:00
ocrdma_sli.h RDMA/ocrdma: Fix spelling mistake in variable name 2019-11-14 11:51:42 -04:00
ocrdma_stats.c RDMA/ocrdma: Fix spelling mistake in variable name 2019-11-14 11:51:42 -04:00
ocrdma_stats.h RDMA/ocrdma: Make ocrdma_pma_counters() return void 2019-11-06 15:38:57 -04:00
ocrdma_verbs.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
ocrdma_verbs.h RDMA/ocrdma: Remove unsupported modify_port callback 2019-11-06 13:29:15 -04:00
ocrdma.h IB/core: Define 'ib' and 'roce' rdma_ah_attr types 2017-05-01 14:32:43 -04:00