]> bbs.cooldavid.org Git - net-next-2.6.git/commit
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)
commit2c6952dfdda2f266f2f501792b8d6413caf25f7a
treeae6f4e19306b7909a859ee3a218a6111f89e3e99
parent56075a98dfb887981ee0e4b6a768cd53f2514f4c
igbvf, ixgbevf: use dev_hw_addr_random

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>
drivers/net/igbvf/netdev.c
drivers/net/ixgbevf/ixgbevf_main.c