net/mlx4_core: Keep VF assigned MAC in the PF admin table
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 4 Jun 2013 05:13:29 +0000 (05:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2013 19:58:24 +0000 (12:58 -0700)
commitc418253f12c0a95c7cd894953644c7488899c9fd
treef0cb7041061c1d2222d069bb2be8a948a9ee0ec1
parentef96f7d46ad86625237da8a35e812bdf7896e640
net/mlx4_core: Keep VF assigned MAC in the PF admin table

MAC addresses assigned by the PF to VFs were not kept in the PF driver
admin table. As a result, displaying the VF MACs from the PF interface
to user space showed zero address where in fact the VF got non-zero
address from the PF, fix that.

Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/mellanox/mlx4/fw.c