net/mlx4_en: Don't reassign port mac address on firmware that supports it
authorMatan Barak <matanb@mellanox.com>
Wed, 30 Jan 2013 23:07:10 +0000 (23:07 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 31 Jan 2013 17:48:47 +0000 (12:48 -0500)
commit955154fa33df2b74f0fea8e7c84df6dfd954dab2
treec53021a647f2587d29f451b9e8b4b24d645a70d8
parent23537b732f5dd9c917767419272aeb65cc4b8cfd
net/mlx4_en: Don't reassign port mac address on firmware that supports it

Mac reassignments should only be done when not supported by the firmware. To
accomplish that, checking firmware capability bit to know whether we should
reassign macs in the driver.

Signed-off-by: Matan Barak <matanb@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
drivers/net/ethernet/mellanox/mlx4/fw.c
include/linux/mlx4/device.h