linux/drivers/net/ethernet/intel/i40evf
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
..
Makefile i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_adminq.c i40e/i40evf: grab the AQ spinlocks before clearing registers 2015-10-03 19:23:47 -07:00
i40e_adminq.h i40e/i40evf: fix up type clash in i40e_aq_rc_to_posix conversion 2015-09-30 05:14:12 -07:00
i40e_adminq_cmd.h i40e/i40evf: Update FW API with X722 support 2015-08-05 16:53:44 -07:00
i40e_alloc.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_common.c i40e/i40evf: add new device id 1588 2015-09-30 05:33:21 -07:00
i40e_hmc.h i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40e_lan_hmc.h i40e/i40evf: Big endian fixes for handling HMC 2014-06-26 04:44:57 -07:00
i40e_osdep.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_prototype.h i40e/i40evf: Update FW API with X722 support 2015-08-05 16:53:44 -07:00
i40e_register.h i40evf: Remove PF specific register definitions from the VF 2015-08-26 15:05:17 -07:00
i40e_status.h i40evf: Fix the headers and update copyright year. 2014-05-21 01:54:43 -07:00
i40e_txrx.c i40evf: Use numa_mem_id() to better support memoryless node 2015-10-03 19:02:53 -07:00
i40e_txrx.h i40e/i40evf: refactor tx timeout logic 2015-09-28 17:38:27 -07:00
i40e_type.h i40e/i40evf: add new device id 1588 2015-09-30 05:33:21 -07:00
i40e_virtchnl.h i40e/i40evf: add VIRTCHNL_VF_OFFLOAD flag 2015-08-26 15:09:54 -07:00
i40evf.h i40e/i40evf: Add support for writeback on ITR feature for X722 2015-08-05 16:53:45 -07:00
i40evf_ethtool.c i40e: use BIT and BIT_ULL macros 2015-07-23 05:33:55 -07:00
i40evf_main.c i40evf: tweak init timing 2015-09-30 05:42:58 -07:00
i40evf_virtchnl.c i40evf: don't blow away MAC address 2015-10-03 19:24:46 -07:00