[Intel-wired-lan] [PATCH] ixgbevf: fix AER error handling
Bowers, AndrewX
andrewx.bowers at intel.com
Wed Dec 7 23:21:24 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 16, 2016 11:26 AM
> To: intel-wired-lan at lists.osuosl.org
> Subject: [Intel-wired-lan] [PATCH] ixgbevf: fix AER error handling
>
> Make sure that we free the IRQs in ixgbevf_io_error_detected() when
> responding to an PCIe AER error and also restore them when the interface
> recovers from it.
>
> Previously it was possible to trigger BUG_ON() check in free_msix_irqs() in
> the case where we call ixgbevf_remove() after a failed recovery from AER
> error because the inerrupts were not freed.
>
> Also moved the down and free functions into ixgbevf_close_suspend() same
> as with ixgbe.
>
> Signed-off-by: Emil Tantilov <emil.s.tantilov at intel.com>
> ---
> drivers/net/ethernet/intel/ixgbevf/ixgbevf_main.c | 43 ++++++++++++----
> -----
> 1 file changed, 25 insertions(+), 18 deletions(-)
Tested-by: Andrew Bowers <andrewx.bowers at intel.com>
More information about the Intel-wired-lan
mailing list