]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/mlx5: Track DCT, DCI and REG_UMR QPs as diver_detail resources.
authorChiara Meiohas <cmeiohas@nvidia.com>
Tue, 16 Apr 2024 12:03:51 +0000 (15:03 +0300)
committerLeon Romanovsky <leon@kernel.org>
Tue, 30 Apr 2024 08:19:37 +0000 (11:19 +0300)
commitfd3af5e21866b776713b8c60556153d758995fb7
tree712b7a3a6e22bff7e3b9d47bca109d11511a4c4d
parente18fa0bbcedf82aaa1db27079ef6a43e11367592
RDMA/mlx5: Track DCT, DCI and REG_UMR QPs as diver_detail resources.

Allow user to see driver-specific QPs (the "driver_detail" QPs)
through the rdmatool, when requested.

When creating DCT, DCI and REG_UMR QPs, we designate them as driver_detail
resources.

When filling the QP info for the rdma tool, for the driver_detail QPs:
-the QP type is IB_QPT_DRIVER
-the subtype is a string with the QP name ("DCT", "DCI", "REG_UMR")

Signed-off-by: Chiara Meiohas <cmeiohas@nvidia.com>
Link: https://lore.kernel.org/r/452432d7d0917f053a80a893a614169857fe3b10.1713268997.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/qp.c
drivers/infiniband/hw/mlx5/restrack.c