]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Fix mapping of link-mode to IB width and speed
authorAya Levin <ayal@mellanox.com>
Mon, 11 Mar 2019 12:35:58 +0000 (14:35 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Mon, 18 Mar 2019 00:40:39 +0000 (21:40 -0300)
commit4441ef43d3140c73b73e0d3f7e948158049a5d69
treed849cdb1a9f7968f5e536068760aead4c141f076
parentb600c24f9276b5bc772ee6c37e8c1212ecc9e8b7
IB/mlx5: Fix mapping of link-mode to IB width and speed

Add mapping of link mode: CAUI4 100Gbps CR4/KR4 with 4 lines and 25Gbps.
Fix mapping of link mode: GAUI2 50Gbps CR2/KR2 to be 2 lines with 25Gbps.

Fixes: 89cf8d2ead94 ("IB/mlx5: Add support for 50Gbps per lane link modes")
Signed-off-by: Aya Levin <ayal@mellanox.com>
Signed-off-by: Leon Romanovsky <leonro@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/infiniband/hw/mlx5/main.c