]> git.baikalelectronics.ru Git - kernel.git/commit
ixgbevf: Adjust to handle unassigned MAC address from PF
authorGreg Rose <gregory.v.rose@intel.com>
Wed, 13 Feb 2013 03:02:05 +0000 (03:02 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 Mar 2013 08:13:46 +0000 (01:13 -0700)
commit852bc9d7c3f8323257cf20b43649a150a48a9bbe
tree9fb99154d87a7411e814c8ba96cab3171e21e986
parentba68d06c69e5229c1fc4be96a3cc9d5824adef71
ixgbevf: Adjust to handle unassigned MAC address from PF

If the administrator has not assigned a MAC address to the VF via the
PF then handle it gracefully by generating a temporary MAC address.
This ensures that we always know when we have a random address and
udev won't get upset about it.

Signed-off-by: Greg Rose <gregory.v.rose@intel.com>
CC: Andy Gospodarek <andy@greyhouse.net>
CC: Stefan Assmann <sassmann@kpanic.de>
Tested-by: Sibai Li <sibai.li@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c
drivers/net/ethernet/intel/ixgbevf/vf.c