]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ixgbe: Don't give VFs random MAC addresses
authorGreg Rose <gregory.v.rose@intel.com>
Fri, 15 Feb 2013 05:20:09 +0000 (05:20 +0000)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Thu, 28 Mar 2013 08:04:00 +0000 (01:04 -0700)
commit35055928c7b1d078ddde656357db3093f383d846
treef248b17921d328cbb568d4dff55dee4a1648b203
parent274a85e095b8265c3b759a60f8c52b9993d89d3b
ixgbe: 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: 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/ixgbe/ixgbe_sriov.c