aboutsummaryrefslogtreecommitdiff
path: root/drivers/net/ethernet/mellanox/mlx4/main.c
diff options
context:
space:
mode:
authorOr Gerlitz <ogerlitz@mellanox.com>2013-08-01 19:55:00 +0300
committerDavid S. Miller <davem@davemloft.net>2013-08-01 15:09:35 -0700
commit0508ad646836007e6e6b62331eee7356844eac3d (patch)
treed406229143269e3e8861b8b6fd459db7261ae6b4 /drivers/net/ethernet/mellanox/mlx4/main.c
parent8a226b2cfa776db6011fc84b71578513161cd3d3 (diff)
net/mlx4_core: Don't give VFs MAC addresses which are derived from the PF MAC
If the user has not assigned a MAC address to a VM, then don't give it MAC which is based on the PF one. The current derivation scheme is wrong and leads to VM MAC collisions when the number of cards/hypervisors becomes big enough. Instead, just give it zeros and let them figure out what to do with that. Signed-off-by: Or Gerlitz <ogerlitz@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/mellanox/mlx4/main.c')
0 files changed, 0 insertions, 0 deletions