net/mlx4_en: Save previous MAC address of the port so we can replace it later
authorYan Burman <yanb@mellanox.com>
Thu, 7 Feb 2013 02:25:24 +0000 (02:25 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 8 Feb 2013 04:26:13 +0000 (23:26 -0500)
commit90bbb74af68b3255bc298731f8b60d5668877306
tree86251108c85013b563eb4a28ca6878eba0f28223
parent0eb74fdda4ff72535849f9d99a8eabe69dceaddf
net/mlx4_en: Save previous MAC address of the port so we can replace it later

In preparation to having more than one unicast MAC per port, we need to keep track
of the previous MAC address in the flow of ndo_set_mac_address,
so that mlx4_en_replace_mac will know what to replace.

Signed-off-by: Yan Burman <yanb@mellanox.com>
Signed-off-by: Amir Vadai <amirv@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/en_netdev.c