IB/mlx5: Port status track LAG master, when LAG is active
authorAviv Heller <avivh@mellanox.com>
Sun, 18 Sep 2016 17:48:02 +0000 (20:48 +0300)
committerDoug Ledford <dledford@redhat.com>
Fri, 7 Oct 2016 20:54:21 +0000 (16:54 -0400)
commit88621dfe90677a6a07ae1aff9feb1773226bc8b0
tree6c1e39678abcbb0496cca19e56a522ef2cd723d4
parent9ef9c640f4c5376189d8ca70f51a50a3d0b16914
IB/mlx5: Port status track LAG master, when LAG is active

When LAG is active, port up/down events should be triggered
by tracking the LAG master, and not one of the two slave
netdevs.

In the same manner, ib_query_port() should return the details
of the LAG master.

Signed-off-by: Aviv Heller <avivh@mellanox.com>
Signed-off-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Doug Ledford <dledford@redhat.com>
drivers/infiniband/hw/mlx5/main.c