[Intel-wired-lan] [PATCH v3] ixgbevf: restore hw_addr on resume or error

Bowers, AndrewX andrewx.bowers at intel.com
Thu Dec 8 18:18:05 UTC 2016


> -----Original Message-----
> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at lists.osuosl.org] On
> Behalf Of Emil Tantilov
> Sent: Wednesday, November 23, 2016 11:24 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH v3] ixgbevf: restore hw_addr on resume or
> error
> 
> Restore adapter->hw.hw_addr after handling an error, or a resume
> operation to make sure we can access the registers.
> 
> v2 - restore hw_addr only if pci_enable_device_mem() succeeds in
> ixgbevf_io_slot_reset()
> 
> v3 - restore hw_addr after pci_enable_device_mem() in ixgbevf_resume()
> 
> Signed-off-by: Emil Tantilov <emil.s.tantilov at intel.com>
> ---
>  drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c |    3 +++
>  1 file changed, 3 insertions(+)

Tested-by: Andrew Bowers <andrewx.bowers at intel.com>




More information about the Intel-wired-lan mailing list