diff options
author | Emil Tantilov <emil.s.tantilov@intel.com> | 2016-11-16 11:25:34 -0800 |
---|---|---|
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | 2017-01-03 13:03:37 -0800 |
commit | b19cf6eea9e2a497e6475fd02c0703f0b3a6d083 (patch) | |
tree | d71eb00d3230a00e1ce417abb17fe0284c953702 /lib/mpi/mpiutil.c | |
parent | 126db13fa0e6d05c9f94e0125f61e773bd5ab079 (diff) |
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 interrupts 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@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions