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)
commit08e8676f1607925adf36e399f0faa8ce3b10bb86
treebdff958d4c39a3f9a8c616c5a29ef9ff0ed73567
parenta08b4ed1373dc59e3e15029bc6f135ba0f53c9a7
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