]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add support for 50Gbps per lane link modes
authorAya Levin <ayal@mellanox.com>
Wed, 13 Feb 2019 06:55:46 +0000 (22:55 -0800)
committerSaeed Mahameed <saeedm@mellanox.com>
Thu, 14 Feb 2019 20:14:42 +0000 (12:14 -0800)
commit3f32b31f4668961978569d75ff45bb8963e0977c
treebdff958d4c39a3f9a8c616c5a29ef9ff0ed73567
parent2ea9a63120b5cf2877da9b70bedb807dfa6d5132
IB/mlx5: Add support for 50Gbps per lane link modes

Driver now supports new link modes: 50Gbps per lane support for
50G/100G/200G. This patch reads the correct field (legacy vs. extended)
based on a FW indication bit, and adds a translation function (link
modes to IB width and speed) to the new link modes.

Signed-off-by: Aya Levin <ayal@mellanox.com>
Reviewed-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Saeed Mahameed <saeedm@mellanox.com>
drivers/infiniband/hw/mlx5/main.c