igbvf, ixgbevf: use dev_hw_addr_random
authorStefan Assmann <sassmann@redhat.com>
Mon, 26 Jul 2010 23:24:50 +0000 (23:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 27 Jul 2010 20:18:14 +0000 (13:18 -0700)
Both igbvf and ixgbevf should set addr_assign_type to NET_ADDR_RANDOM
so udev creates persistent net rules by matching the device path.
Do this by using the dev_hw_addr_random helper function.

Signed-off-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

No differences found