]> git.karo-electronics.de Git - karo-tx-linux.git/commit
igb: Don't give VFs random MAC addresses
authorMitch A Williams <mitch.a.williams@intel.com>
Fri, 18 Jan 2013 08:57:20 +0000 (08:57 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 28 Jan 2013 11:17:57 +0000 (03:17 -0800)
commit5ac6f91d39e0884813dc010e14552143cd1d0d8b
tree97035a2ebe4779f2eca9799859b32b469b0873e8
parentaa19c2957b425f724efe93f2d5a5858b8aa613d7
igb: Don't give VFs random MAC addresses

If the user has not assigned a MAC address to a VM, then don't give it a
random one. Instead, just give it zeros and let it figure out what to do
with them.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Aaron Brown <aaron.f.brown@intel.com>
Tested-by: Stefan Assmann <sassmann@redhat.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/igb/igb_main.c