i40e: handle setting administratively set MAC address back to zero
authorStefan Assmann <sassmann@kpanic.de>
Fri, 23 Jun 2017 07:46:24 +0000 (09:46 +0200)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 26 Jul 2017 10:25:21 +0000 (03:25 -0700)
commit2f1d86e44c9dac948a79ee7543426e00230564ab
treeea2ee6b9c952e931a82d645622aa6114e778aab2
parent07c357f34834a94b8cb4274f69b75905034dc30e
i40e: handle setting administratively set MAC address back to zero

When an administratively set MAC was previously set and should now be
switched back to 00:00:00:00:00:00 the pf_set_mac flag did not get
toggled back to false.
As a result VFs were still treated as if an administratively set MAC was
present.

Signed-off-by: Stefan Assmann <sassmann@kpanic.de>
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