summaryrefslogtreecommitdiffstats
path: root/lib/smp_processor_id.c
diff options
context:
space:
mode:
authorMitch A Williams <mitch.a.williams@intel.com>2013-01-18 09:57:20 +0100
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2013-01-28 12:18:13 +0100
commit8d56b6d507e0c4f6e24680fd202cbaad445935c5 (patch)
tree15d1593e41ee1ab11ad162eb0fe1f89fbd641c8a /lib/smp_processor_id.c
parentigb: Don't give VFs random MAC addresses (diff)
downloadlinux-8d56b6d507e0c4f6e24680fd202cbaad445935c5.tar.xz
linux-8d56b6d507e0c4f6e24680fd202cbaad445935c5.zip
igbvf: be sane about random MAC addresses
Tighten up some of the code surrounding MAC addresses. Since the PF is now giving all zeros instead of a random address, check for this case and generate a random address. This ensures that we always know when we have a random address and udev won't get upset about it. Additionally, tighten up some of the log messages and clean up the formatting. 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>
Diffstat (limited to 'lib/smp_processor_id.c')
0 files changed, 0 insertions, 0 deletions