ixgbe: Allow setting zero MAC address for VF
authorTony Nguyen <anthony.l.nguyen@intel.com>
Wed, 12 Apr 2017 20:35:22 +0000 (13:35 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Sun, 30 Apr 2017 03:01:03 +0000 (20:01 -0700)
commit27bdc44cdb2a8d96322d5978895eaae881fb8c2d
tree6df730fdc020dcd099840df42c2705a3ec55bbb7
parentf87fc44770f54ff1b54d44ae9cec11f10efeca02
ixgbe: Allow setting zero MAC address for VF

Currently, there is no logic that allows a VF's MAC address to be removed
from the RAR table.

Allow the user to specify a zero MAC address in order to clear the VF's
MAC address from the RAR table.  This functionality is also utilized by
libvirt when removing VFs.

Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_sriov.c