]> git.baikalelectronics.ru Git - kernel.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)
commit5f36417a651fa0ccc671bc52e82cd68b34ccbd04
tree97035a2ebe4779f2eca9799859b32b469b0873e8
parentb7304afb7365098854f479e67666fb1e856bc8b8
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