net/mlx4_core: Use both physical ports to dispatch link state events to VF
authorMoni Shoua <monis@mellanox.com>
Sun, 6 Dec 2015 16:07:39 +0000 (18:07 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 7 Dec 2015 03:40:44 +0000 (22:40 -0500)
commit8d80d04a521d4acf949a449403040c38ec648f57
tree88e41ff3d599b29df885b9b9dc1fa41ac9751259
parente34305c85f86112838cb332696513bed8e04a211
net/mlx4_core: Use both physical ports to dispatch link state events to VF

Under HA mode, the link down event should be sent to VFs only if both
ports are down.

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