Skip to content

Take out ucontext from HW objects

Yuval Shaia linux-rdma 3 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest5 patches 1 replyIn review
  2. v25 patches 0 repliesSuperseded
  3. v15 patches 7 repliesSuperseded

Changes in v3 from the cover letter

* Reorder patches so build would not break

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5RDMA/uverbs: uobj_get_obj_read should return the ib_uobjectdrivers/infiniband/core/uverbs_cmd.c include/rdma/uverbs_std_types.h+98 -351 reply
2/5RDMA/uverbs: Delete the macro uobj_put_obj_readdrivers/infiniband/core/uverbs_cmd.c include/rdma/uverbs_std_types.h+46 -490 replies
3/5RDMA/nldev: ib_pd can be pointed by multiple ib_ucontextdrivers/infiniband/core/nldev.c include/uapi/rdma/rdma_netlink.h+125 -50 replies
4/5IB/{core,hw}: ib_pd should not have ib_uobject pointerdrivers/infiniband/core/uverbs_cmd.c drivers/infiniband/core/verbs.c drivers/infiniband/hw/hns/hns_roce_hw_v1.c +3 more+2 -60 replies
5/5IB/core: ib_mr should not have ib_uobject pointerdrivers/infiniband/core/uverbs_cmd.c drivers/infiniband/core/uverbs_std_types_mr.c drivers/infiniband/core/verbs.c +1 more+1 -90 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/5] Take out ucontext from HW objects

This patch-set, originaly part of Shared PD & MR patch-set, intend to take out the field ucontext from the HW objects ib_pd and ib_mr.

v0 -> v1:
* Add the patch "RDMA/nldev: ib_pd can be pointed by multiple ib_ucontext"

v1 -> v2:
* Remove unneeded union in ib_mr

v2 -> v3:
* Reorder patches so build would not break

Thanks,
Yuval

Shamir Rabinovitch (4):
RDMA/uverbs: uobj_get_obj_read should return the ib_uobject RDMA/uverbs: Delete the macro uobj_put_obj_read RDMA/nldev: ib_pd can be pointed by multiple ib_ucontext IB/{core,hw}: ib_pd should not have ib_uobject pointer

Yuval Shaia (1):
IB/core: ib_mr should not have ib_uobject pointer

 drivers/infiniband/core/nldev.c               | 127 +++++++++-
 drivers/infiniband/core/uverbs_cmd.c          | 219 +++++++++++-------
 drivers/infiniband/core/uverbs_std_types_mr.c |   1 -
 drivers/infiniband/core/verbs.c               |   4 -
 drivers/infiniband/hw/hns/hns_roce_hw_v1.c    |   1 -
 drivers/infiniband/hw/mlx5/main.c             |   1 -
 drivers/infiniband/hw/mthca/mthca_qp.c        |   3 +-
 include/rdma/ib_verbs.h                       |   6 +-
 include/rdma/uverbs_std_types.h               |  11 +-
 include/uapi/rdma/rdma_netlink.h              |   3 +
 10 files changed, 272 insertions(+), 104 deletions(-)
Signature · 1 line
2.20.1