Shared PD and MR
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest25 patches 20 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/25 | RDMA/uverbs: uobj_get_obj_read should return the ib_uobjectdrivers/ include/ | +98 | 0 replies | |
| 2/25 | RDMA/uverbs: Delete the macro uobj_put_obj_readdrivers/ include/ | +46 | 0 replies | |
| 3/25 | RDMA/nldev: ib_pd can be pointed by multiple ib_ucontextdrivers/ include/ | +125 | 1 reply | |
| 4/25 | IB/{core,hw}: ib_pd should not have ib_uobject pointerdrivers/ drivers/ drivers/ +3 more | +2 | 0 replies | |
| 5/25 | IB/core: ib_uobject need HW object reference countdrivers/ include/ | +28 | 0 replies | |
| 6/25 | IB/uverbs: Helper function to initialize ufile member of uverbs_attr_bundledrivers/ | +18 | 0 replies | |
| 7/25 | IB/uverbs: Add context import lock/unlock helperdrivers/ drivers/ drivers/ | +76 | 0 replies | |
| 8/25 | IB/uverbs: ufile must be freed only when not used anymoredrivers/ drivers/ drivers/ +1 more | +71 | 10 replies | |
| 9/25 | IB/verbs: Prototype of HW object clone callbackinclude/ | +26 | 0 replies | |
| 10/25 | IB/core: Install clone ib_pd in device opsdrivers/ | +1 | 0 replies | |
| 11/25 | IB/mlx4: Add implementation of clone_pd callbackdrivers/ | +13 | 0 replies | |
| 12/25 | IB/mlx5: Add implementation of clone_pd callbackdrivers/ | +22 | 0 replies | |
| 13/25 | RDMA/rxe: Add implementation of clone_pd callbackdrivers/ | +3 | 0 replies | |
| 14/25 | IB/uverbs: Add clone reference counting to ib_pddrivers/ include/ | +6 | 0 replies | |
| 15/25 | IB/uverbs: Add PD import verbdrivers/ include/ | +109 | 2 replies | |
| 16/25 | IB/mlx4: Enable import from FD verbdrivers/ | +2 | 0 replies | |
| 17/25 | IB/mlx5: Enable import from FD verbdrivers/ | +2 | 0 replies | |
| 18/25 | RDMA/rxe: Enable import from FD verbdrivers/ | +1 | 0 replies | |
| 19/25 | IB/core: ib_mr should not have ib_uobject pointerdrivers/ drivers/ drivers/ +1 more | +2 | 0 replies | |
| 20/25 | IB/core: Install clone ib_mr in device opsdrivers/ | +1 | 0 replies | |
| 21/25 | IB/mlx4: Add implementation of clone_pd callbackdrivers/ | +1 | 0 replies | |
| 22/25 | IB/mlx5: Add implementation of clone_pd callbackdrivers/ | +1 | 0 replies | |
| 23/25 | RDMA/rxe: Add implementation of clone_pd callbackdrivers/ | +1 | 0 replies | |
| 24/25 | IB/uverbs: Add clone reference counting to ib_mrdrivers/ include/ | +5 | 0 replies | |
| 25/25 | IB/uverbs: Add MR import verbdrivers/ include/ | +80 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 00/25] Shared PD and MR
Following patch-set introduce the shared object feature.
A shared object feature allows one process to create HW objects (currently PD and MR) so that a second process can import.
Patch-set is logically splits to 4 parts as the following:
- patches 1 to 8 and 18 are preparation steps.
- patches 9 to 14 are the implementation of import PD
- patches 15 to 17 are the implementation of the verb
- patches 19 to 14 are the implementation of import MR
Shamir Rabinovitch (17):
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 IB/core: ib_uobject need HW object reference count IB/uverbs: Helper function to initialize ufile member of
uverbs_attr_bundle
IB/uverbs: Add context import lock/unlock helper IB/uverbs: ufile must be freed only when not used anymore IB/verbs: Prototype of HW object clone callback IB/mlx4: Add implementation of clone_pd callback IB/mlx5: Add implementation of clone_pd callback RDMA/rxe: Add implementation of clone_pd callback IB/uverbs: Add clone reference counting to ib_pd IB/uverbs: Add PD import verb
IB/mlx4: Enable import from FD verb
IB/mlx5: Enable import from FD verb
RDMA/rxe: Enable import from FD verb
Yuval Shaia (8):
IB/core: Install clone ib_pd in device ops IB/core: ib_mr should not have ib_uobject pointer IB/core: Install clone ib_mr in device ops IB/mlx4: Add implementation of clone_pd callback IB/mlx5: Add implementation of clone_pd callback RDMA/rxe: Add implementation of clone_pd callback IB/uverbs: Add clone reference counting to ib_mr IB/uverbs: Add MR import verb
drivers/infiniband/core/device.c | 2 + drivers/infiniband/core/nldev.c | 127 ++++- drivers/infiniband/core/rdma_core.c | 52 +- drivers/infiniband/core/uverbs.h | 24 + drivers/infiniband/core/uverbs_cmd.c | 505 +++++++++++++++--- drivers/infiniband/core/uverbs_main.c | 5 + 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/mlx4/main.c | 18 +- drivers/infiniband/hw/mlx5/main.c | 34 +- drivers/infiniband/hw/mthca/mthca_qp.c | 3 +- drivers/infiniband/sw/rxe/rxe_verbs.c | 5 + include/rdma/ib_verbs.h | 43 +- include/rdma/uverbs_std_types.h | 11 +- include/uapi/rdma/ib_user_verbs.h | 15 + include/uapi/rdma/rdma_netlink.h | 3 + 17 files changed, 740 insertions(+), 113 deletions(-)
Signature · 1 line
2.20.1