i40e: allow zero MAC address for VFs
authorMitch Williams <mitch.a.williams@intel.com>
Tue, 22 Dec 2015 23:34:43 +0000 (15:34 -0800)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 8 Jan 2016 08:59:26 +0000 (00:59 -0800)
commitefd8e39acc51cafe7dbc656ba63eea9034238ee7
tree3eaf5f765eef1fac55740f0a354541458e37c709
parent2d166c304065c57925278a69309f15a6a65eff97
i40e: allow zero MAC address for VFs

Allow the user to specify a zero MAC address for VFs. This removes the
existing MAC address and allows the VF to use a random address. Libvirt
does this normally when removing a VF from a VM.

Signed-off-by: Mitch Williams <mitch.a.williams@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_virtchnl_pf.c