]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit01e40f22ecff597f04e404fb2a3ce43ab44be3ce
tree3a2ad1fa8ed89c6b37f97f4005e98e35569a9ae4
parent6f8243a0d0b8ce1e6e5f8a1cb428b3d91aa8076b
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