public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH rdma-next 0/3] Allow parallel cleanup of HW objects
@ 2024-10-31 11:22 Leon Romanovsky
  2024-11-04  8:46 ` Leon Romanovsky
  0 siblings, 1 reply; 2+ messages in thread
From: Leon Romanovsky @ 2024-10-31 11:22 UTC (permalink / raw)
  To: Jason Gunthorpe; +Cc: linux-kernel, linux-rdma, Patrisious Haddad

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(-)

-- 
2.46.2


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PATCH rdma-next 0/3] Allow parallel cleanup of HW objects
  2024-10-31 11:22 [PATCH rdma-next 0/3] Allow parallel cleanup of HW objects Leon Romanovsky
@ 2024-11-04  8:46 ` Leon Romanovsky
  0 siblings, 0 replies; 2+ messages in thread
From: Leon Romanovsky @ 2024-11-04  8:46 UTC (permalink / raw)
  To: Jason Gunthorpe, Leon Romanovsky
  Cc: linux-kernel, linux-rdma, Patrisious Haddad


On Thu, 31 Oct 2024 13:22:50 +0200, Leon Romanovsky wrote:
> 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).
> 
> [...]

Applied, thanks!

[1/3] RDMA/core: Add device ufile cleanup operation
      https://git.kernel.org/rdma/rdma/c/e18f73a885df74
[2/3] RDMA/core: Move ib_uverbs_file struct to uverbs_types.h
      https://git.kernel.org/rdma/rdma/c/1e1faa6232cf05
[3/3] RDMA/mlx5: Add implementation for ufile_hw_cleanup device operation
      https://git.kernel.org/rdma/rdma/c/6c2af7e3ebe6b5

Best regards,
-- 
Leon Romanovsky <leon@kernel.org>


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2024-11-04  8:46 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-10-31 11:22 [PATCH rdma-next 0/3] Allow parallel cleanup of HW objects Leon Romanovsky
2024-11-04  8:46 ` Leon Romanovsky

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox