linux/drivers/infiniband/hw/hns
Daisuke Matsuda 241f9a27e0 IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers
Set 'iova' and 'length' on ib_mr in ib_uverbs and ib_core layers to let all
drivers have the members filled. Also, this commit removes redundancy in
the respective drivers.

Previously, commit 04c0a5fcfc ("IB/uverbs: Set IOVA on IB MR in uverbs
layer") changed to set 'iova', but seems to have missed 'length' and the
ib_core layer at that time.

Fixes: 04c0a5fcfc ("IB/uverbs: Set IOVA on IB MR in uverbs layer")
Signed-off-by: Daisuke Matsuda <matsuda-daisuke@fujitsu.com>
Link: https://lore.kernel.org/r/20220921080844.1616883-1-matsuda-daisuke@fujitsu.com
Signed-off-by: Leon Romanovsky <leon@kernel.org>
2022-09-22 12:46:39 +03:00
..
hns_roce_ah.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_alloc.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cmd.c RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_cmd.h RDMA/hns: Remove similar code that configures the hardware contexts 2022-03-04 17:36:31 -04:00
hns_roce_common.h RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_cq.c RDMA/hns: Refactor the alloc_cqc() 2022-03-04 17:36:32 -04:00
hns_roce_db.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_device.h RDMA/hns: Remove redundant member doorbell_qpn of struct hns_roce_qp 2022-08-30 12:14:23 +03:00
hns_roce_hem.c RDMA/hns: Fix the wrong type of parameter "op" of the mailbox 2022-03-04 17:36:31 -04:00
hns_roce_hem.h RDMA/hns: Clean the hardware related code for HEM 2021-05-28 20:13:58 -03:00
hns_roce_hw_v2.c RDMA/hns: Remove redundant member doorbell_qpn of struct hns_roce_qp 2022-08-30 12:14:23 +03:00
hns_roce_hw_v2.h RDMA/hns: Support MR's restrack raw ops for hns driver 2022-08-24 08:47:18 +03:00
hns_roce_main.c RDMA/hns: Support MR's restrack raw ops for hns driver 2022-08-24 08:47:18 +03:00
hns_roce_mr.c IB: Set IOVA/LENGTH on IB_MR in core/uverbs layers 2022-09-22 12:46:39 +03:00
hns_roce_pd.c RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
hns_roce_qp.c RDMA/hns: Remove redundant member doorbell_qpn of struct hns_roce_qp 2022-08-30 12:14:23 +03:00
hns_roce_restrack.c RDMA/hns: Support MR's restrack raw ops for hns driver 2022-08-24 08:47:18 +03:00
hns_roce_srq.c RDMA/hns: Refactor the alloc_srqc() 2022-03-04 17:36:32 -04:00
Kconfig RDMA/hns: Remove support for HIP06 2022-01-05 15:50:56 -04:00
Makefile RDMA/hns: Remove redundant DFX file and DFX ops structure 2022-08-23 11:34:42 +03:00