]> git.ipfire.org Git - thirdparty/linux.git/commit
RDMA/mlx5: Add support for 1600_8x lane speed
authorMaher Sanalla <msanalla@nvidia.com>
Thu, 20 Nov 2025 15:15:16 +0000 (17:15 +0200)
committerLeon Romanovsky <leon@kernel.org>
Mon, 24 Nov 2025 07:58:30 +0000 (02:58 -0500)
commit4022c7b6342a4d9a97e1e974e27efca95e79ed20
tree8680f2fd745487cd8979d9f641902eb13c77dcb3
parent0f1f9b5e47cec229dc2127481807823b75e933b0
RDMA/mlx5: Add support for 1600_8x lane speed

Add a check for 1600G_8X link speed when querying PTYS and report it
back correctly when needed.

While at it, adjust mlx5 function which maps the speed rate from IB
spec values to internal driver values to be able to handle speeds
up to 1600Gbps.

Reviewed-by: Michael Guralnik <michaelgur@nvidia.com>
Signed-off-by: Maher Sanalla <msanalla@nvidia.com>
Link: https://patch.msgid.link/20251120-speed-8-v1-2-e6a7efef8cb8@nvidia.com
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Reviewed-by: Zhu Yanjun <yanjun.zhu@linux.dev>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
drivers/infiniband/hw/mlx5/main.c
drivers/infiniband/hw/mlx5/qp.c