]> www.infradead.org Git - users/jedix/linux-maple.git/commit
RDMA/mlx5: Expose vhca id for all ports in multiport mode
authorMark Bloch <mbloch@nvidia.com>
Tue, 30 Jul 2024 09:18:45 +0000 (12:18 +0300)
committerLeon Romanovsky <leon@kernel.org>
Sun, 11 Aug 2024 08:12:49 +0000 (11:12 +0300)
commit0ea4ffb2bc80e8f4e6ca87e07142d1c17285ae95
tree3939284a56ae36cfef6f6c78269029e5b37ea4d9
parentdf6d27a30970158466b632c82da09a9b24c30f4b
RDMA/mlx5: Expose vhca id for all ports in multiport mode

In multiport mode, RDMA devices make it impossible for userspace to use
DEVX to discover vhca id values for ports beyond port 1. This patch
addresses the issue by exposing the vhca id of all ports.

Signed-off-by: Mark Bloch <mbloch@nvidia.com>
Reviewed-by: Maor Gottlieb <maorg@nvidia.com>
Link: https://patch.msgid.link/41dea83aa51843aa4c067b4f73f28d64e51bd53c.1722331101.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/std_types.c