diff options
author | Yevgeny Petrilin <yevgenyp@mellanox.co.il> | 2010-08-23 23:46:38 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-08-24 17:54:53 -0400 |
commit | d7e1a487d31933deba742c1bd3ffe0f73220b729 (patch) | |
tree | 8ecdd48757450d7924ebd9c4366d977bda903d45 /drivers/net/mlx4/mlx4_en.h | |
parent | bc081cecf3cb3da236061cf353d74c42ba7e37fb (diff) |
mlx4_en: reconfiguring mac address.
When Mac address is removed from one port of the CX2 device, the other device
should reconfigure its Mac.
This fixes an issue with failover, when both ports have the same Mac address,
and one of the ports, is closed, the second one stops receiving traffic.
(bugzilla #1965 at bugs.openfabrics.org)
Signed-off-by: Yevgeny Petrilin <yevgenyp@mellanox.co.il>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/mlx4/mlx4_en.h')
-rw-r--r-- | drivers/net/mlx4/mlx4_en.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/mlx4/mlx4_en.h b/drivers/net/mlx4/mlx4_en.h index a09598b2b12e..5d8f097d7e06 100644 --- a/drivers/net/mlx4/mlx4_en.h +++ b/drivers/net/mlx4/mlx4_en.h | |||
@@ -341,6 +341,7 @@ struct mlx4_en_dev { | |||
341 | struct mlx4_mr mr; | 341 | struct mlx4_mr mr; |
342 | u32 priv_pdn; | 342 | u32 priv_pdn; |
343 | spinlock_t uar_lock; | 343 | spinlock_t uar_lock; |
344 | u8 mac_removed[MLX4_MAX_PORTS + 1]; | ||
344 | }; | 345 | }; |
345 | 346 | ||
346 | 347 | ||