]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd342fef49a899b49e96374f676c2a7c1dd1d1b9d
tree86251108c85013b563eb4a28ca6878eba0f28223
parent7e4f15ce5ec0187f48d4c1fc2160d13c6ce5dd91
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