]> 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)
commit7bd40dbdde2d3d348a9fe0ac510f8f99585b16e5
tree175141190f3112938775cf8d1334a5f2a6be6b04
parentb711035d6936408606de3385d8cf4974cbcfb185
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