linux-sg2042/drivers/infiniband/hw/hns
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 RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00
Makefile RDMA/hns: Fix build error again 2019-10-29 16:16:54 -03:00
hns_roce_ah.c RDMA/hns: Modify variable/field name from vlan to vlan_id 2019-10-21 15:29:38 -04:00
hns_roce_alloc.c RDMA/hns: Fix non-standard error codes 2019-11-08 16:37:54 -04:00
hns_roce_cmd.c RDMA/hns: Optimize cmd init and mode selection for hip08 2019-09-16 10:52:20 -03:00
hns_roce_cmd.h RDMA/hns: Rename the functions used inside creating cq 2019-11-25 10:31:48 -04:00
hns_roce_common.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_cq.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
hns_roce_db.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
hns_roce_device.h RDMA/hns: Delete unnecessary callback functions for cq 2019-11-25 10:31:48 -04:00
hns_roce_hem.c RDMA/hns: Fix cast from or to restricted __le32 for driver 2019-08-28 11:57:26 -04:00
hns_roce_hem.h RDMA/hns: Correct the value of HNS_ROCE_HEM_CHUNK_LEN 2019-11-06 13:37:02 -04:00
hns_roce_hw_v1.c RDMA/hns: Rename the functions used inside creating cq 2019-11-25 10:31:48 -04:00
hns_roce_hw_v1.h RDMA/hns: Remove asynchronic QP destroy 2019-04-24 10:55:31 -03:00
hns_roce_hw_v2.c RDMA subsystem updates for 5.5 2019-11-27 10:17:28 -08:00
hns_roce_hw_v2.h RDMA/hns: Bugfix for qpc/cqc timer configuration 2019-10-28 13:33:06 -03:00
hns_roce_hw_v2_dfx.c RDMA/hns: Dump detailed driver-specific CQ 2019-04-08 13:05:25 -03:00
hns_roce_main.c RDMA/hns: Rename the functions used inside creating cq 2019-11-25 10:31:48 -04:00
hns_roce_mr.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
hns_roce_pd.c RDMA/hns: Fix non-standard error codes 2019-11-08 16:37:54 -04:00
hns_roce_qp.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00
hns_roce_restrack.c RDMA/hns: Fix memory leak on 'context' on error return path 2019-10-28 13:41:23 -03:00
hns_roce_srq.c IB: Allow calls to ib_umem_get from kernel ULPs 2020-01-16 16:14:28 +02:00