linux_dsm_epyc7002/drivers/net/ethernet/intel
Mitch Williams 8552d85442 i40evf: don't blow away MAC address
Under certain circumstances, we can get an extra VF_RESOURCES message
from the PF driver at runtime. When this happens, we need to parse it
because our VSI may have changed out from underneath us, and that will
affect our relationship with the PF driver.

However, parsing the resources message also blows away our current MAC
address in the hardware struct, usually with all zeros. When this
happens, the next time the interface is opened, it will have no MAC
address and will a) not work and b) complain.

Fix this issue by restoring the current MAC address from the netdev
struct after we parse the resource message.

Change-ID: I6cd1b624fc20432f81dc901166c8de195b8e0e65
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>
2015-10-03 19:24:46 -07:00
..
e1000 e1000: remove dead e1000_init_eeprom_params calls 2015-09-22 15:58:28 -07:00
e1000e e1000e: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
fm10k fm10k: add support for extra debug statistics 2015-09-22 15:58:27 -07:00
i40e i40e/i40evf: grab the AQ spinlocks before clearing registers 2015-10-03 19:23:47 -07:00
i40evf i40evf: don't blow away MAC address 2015-10-03 19:24:46 -07:00
igb igb: assume MSI-X interrupts during initialization 2015-09-28 17:48:34 -07:00
igbvf igbvf: Enable TSO for stacked VLAN 2015-09-22 15:58:28 -07:00
ixgb ixgb: call netif_carrier_off early on down 2015-03-20 17:41:52 -07:00
ixgbe ixgbe: Advance version to 4.2.1 2015-09-23 23:09:34 -07:00
ixgbevf ixgbevf: Enables TSO for stacked VLAN 2015-09-22 15:58:29 -07:00
e100.c e100: Release skb when DMA mapping is failed in e100_xmit_prepare 2015-08-18 14:06:05 -07:00
Kconfig drivers/net: remove all references to obsolete Ethernet-HOWTO 2015-06-23 06:50:35 -07:00
Makefile fm10k: Add skeletal frame for Intel(R) FM10000 Ethernet Switch Host Interface Driver 2014-09-23 03:59:13 -07:00