]> 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)
commitf08737a1842c2ce4e15c2a41f6b474756d5a1f31
tree3a2ad1fa8ed89c6b37f97f4005e98e35569a9ae4
parentbe00950d7513ed9c9a6bb10c22759bbdbea95363
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