]> git.baikalelectronics.ru Git - kernel.git/commit
net/mlx4_en: Handle unassigned VF MAC address correctly
authorOr Gerlitz <ogerlitz@mellanox.com>
Tue, 4 Jun 2013 05:13:28 +0000 (05:13 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Jun 2013 19:58:24 +0000 (12:58 -0700)
commit26b9284eb95ed4c887d5ef4286bb1efcf7e64071
tree5ffd54f31569c2b74dcb471df51cf3c9188798a1
parent356e5c635fce1b755c7e12b268b0dd2de135ab4f
net/mlx4_en: Handle unassigned VF MAC address correctly

When a VF sense they didn't get MAC address, use random one. This will
address the case of administrator not assigning MAC to the VF through
the PF OS APIs and keep udev happy.

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