diff options
author | Maher Sanalla <[email protected]> | 2023-03-16 15:40:49 +0200 |
---|---|---|
committer | Leon Romanovsky <[email protected]> | 2023-03-20 09:51:17 +0200 |
commit | 88c9483faf15ada14eca82714114656893063458 (patch) | |
tree | 1d9e30474a8448f87ce207ca225736c6b01247e1 /lib/test_fortify/write_overflow-strncpy-src.c | |
parent | e4522c097ec10f23ea0933e9e69d4fa9d8ae9441 (diff) |
IB/mlx5: Add support for 400G_8X lane speed
Currently, when driver queries PTYS to report which link speed is being
used on its RoCE ports, it does not check the case of having 400Gbps
transmitted over 8 lanes. Thus it fails to report the said speed and
instead it defaults to report 10G over 4 lanes.
Add a check for the said speed when querying PTYS and report it back
correctly when needed.
Fixes: 08e8676f1607 ("IB/mlx5: Add support for 50Gbps per lane link modes")
Signed-off-by: Maher Sanalla <[email protected]>
Reviewed-by: Aya Levin <[email protected]>
Reviewed-by: Saeed Mahameed <[email protected]>
Link: https://lore.kernel.org/r/ec9040548d119d22557d6a4b4070d6f421701fd4.1678973994.git.leon@kernel.org
Signed-off-by: Leon Romanovsky <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions