Skip to content

Allow parallel cleanup of HW objects

Leon Romanovsky linux-rdma lkml 1 version Applied

Status from this message: Applied, thanks!

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 1 replyApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/3RDMA/core: Add device ufile cleanup operationdrivers/infiniband/core/device.c drivers/infiniband/core/rdma_core.c include/rdma/ib_verbs.h+13 -10 replies
2/3RDMA/core: Move ib_uverbs_file struct to uverbs_types.hdrivers/infiniband/core/rdma_core.c drivers/infiniband/core/uverbs.h include/rdma/uverbs_types.h+36 -330 replies
3/3RDMA/mlx5: Add implementation for ufile_hw_cleanup device operationdrivers/infiniband/hw/mlx5/devx.c drivers/infiniband/hw/mlx5/devx.h drivers/infiniband/hw/mlx5/main.c+97 -10 replies

Reviews trailers per patch

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

Read the v1 thread

Cover letter [PATCH rdma-next 0/3] Allow parallel cleanup of HW objects

This series from Patrisious adds a new device operation to allow the driver to cleanup HW objects in parallel to the ufile cleanup. This is useful for drivers that have HW objects that are not associated with a kernel structures and doesn't have any dependencies on other objects.

In mlx5 case, we are using this new operation to cleanup DEVX QP objects, which are independent from the rest verbs objects (like PD, CQ, e.t.c).

Thanks

Patrisious Haddad (3):
RDMA/core: Add device ufile cleanup operation
RDMA/core: Move ib_uverbs_file struct to uverbs_types.h RDMA/mlx5: Add implementation for ufile_hw_cleanup device operation

 drivers/infiniband/core/device.c    |  1 +
 drivers/infiniband/core/rdma_core.c | 12 +++-
 drivers/infiniband/core/uverbs.h    | 31 ----------
 drivers/infiniband/hw/mlx5/devx.c   | 93 ++++++++++++++++++++++++++++-
 drivers/infiniband/hw/mlx5/devx.h   |  4 ++
 drivers/infiniband/hw/mlx5/main.c   |  1 +
 include/rdma/ib_verbs.h             |  6 ++
 include/rdma/uverbs_types.h         | 33 ++++++++++
 8 files changed, 146 insertions(+), 35 deletions(-)
Signature · 1 line
2.46.2