Commit 97937eae authored by Meir Lichtinger's avatar Meir Lichtinger Committed by sanglipeng
Browse files

IB/mlx5: Add support for NDR link speed

stable inclusion
from stable-v5.10.178
commit a1d2fb5d13c98acf9d3398e77affeae9fda3e5fa
category: bugfix
bugzilla: https://gitee.com/openeuler/kernel/issues/I8D927

Reference: https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=a1d2fb5d13c98acf9d3398e77affeae9fda3e5fa

--------------------------------

[ Upstream commit f946e45f ]

The IBTA specification has new speed - NDR. That speed supports signaling
rate of 100Gb. mlx5 IB driver translates link modes reported by ConnectX
device to IB speed and width. Added translation of new 100Gb, 200Gb and
400Gb link modes to NDR IB type and width of x1, x2 or x4 respectively.

Link: https://lore.kernel.org/r/20201026133738.1340432-3-leon@kernel.org


Signed-off-by: default avatarMeir Lichtinger <meirl@mellanox.com>
Signed-off-by: default avatarLeon Romanovsky <leonro@nvidia.com>
Signed-off-by: default avatarJason Gunthorpe <jgg@nvidia.com>
Stable-dep-of: 88c9483f ("IB/mlx5: Add support for 400G_8X lane speed")
Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
Signed-off-by: default avatarsanglipeng <sanglipeng1@jd.com>
parent 01e233f3
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment