]> git.baikalelectronics.ru Git - kernel.git/commit
IB/mlx5: Add support for active_width and active_speed in RoCE
authorNoa Osherovich <noaos@mellanox.com>
Thu, 20 Apr 2017 17:53:33 +0000 (20:53 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 21 Apr 2017 16:58:41 +0000 (12:58 -0400)
commitbe9ac9a86453d3e2e3187f7b4be365d3600b2db1
tree56b3d11c039922b5dfd7ce629cdcf8023b0c9e89
parent85d39ced4720377b0bb55b60e27e5adc2ea90802
IB/mlx5: Add support for active_width and active_speed in RoCE

Add missing calculation and translation of active_width and
active_speed for RoCE.

Fixes: b00c6752b9803 ('IB/mlx5: Extend query_device/port to ...')
Signed-off-by: Noa Osherovich <noaos@mellanox.com>
Signed-off-by: Eran Ben Elisha <eranbe@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c