]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_core: Use both physical ports to set the VF link state
authorOr Gerlitz <ogerlitz@mellanox.com>
Sun, 6 Dec 2015 16:07:38 +0000 (18:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 03:40:44 +0000 (22:40 -0500)
commitaf5baa7a9e3bf80aceb928799e71438302c5d168
tree175141190f3112938775cf8d1334a5f2a6be6b04
parentcb02e6ad8404953abfbbdc1ca10ba443543e4249
net/mlx4_core: Use both physical ports to set the VF link state

In HA mode, the link state for VFs for which the policy is "auto"
(i.e. follow the physical link state) should be ORed from both ports.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Reviewed-by: Jack Morgenstein <jackm@dev.mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c
drivers/net/ethernet/mellanox/mlx4/fw.h