iavf: allow permanent MAC address to change
authorMitch Williams <mitch.a.williams@intel.com>
Thu, 25 Jul 2019 09:47:43 +0000 (05:47 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Mon, 9 Sep 2019 17:08:38 +0000 (10:08 -0700)
commit155f0ac2c96bc5dbfa26c14b397915443980e01d
tree3a2ad1fa8ed89c6b37f97f4005e98e35569a9ae4
parent9b924edd8f23b8f3c14a2c9720ddb27bdfaaecd4
iavf: allow permanent MAC address to change

Allow the VF to override the "permanent" MAC address set by the host.
This allows bonding to work in the case where the administrator has set
the VF MAC.

Note that the VF must still be set to Trusted on the host if this change
is to be accepted by the PF driver.

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/iavf/iavf.h
drivers/net/ethernet/intel/iavf/iavf_main.c