i40e: implement split PCI error reset handler
authorAlan Brady <alan.brady@intel.com>
Tue, 29 Aug 2017 09:32:39 +0000 (05:32 -0400)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Fri, 6 Oct 2017 15:11:32 +0000 (08:11 -0700)
commit19b7960b2da1db56ec3f8b478c70bab244feb644
tree877b16f6dbb6c8b7a51de51d25b7a59fe66e72c3
parent013df598d61161d356d5545f56422766ed3a3a38
i40e: implement split PCI error reset handler

This patch implements the PCI error handler reset_prepare and reset_done.
This allows us to handle function level reset.  Without this patch we
are unable to perform and recover from an FLR correctly and this will cause
VFs to be unable to recover from an FLR on the PF.

Signed-off-by: Alan Brady <alan.brady@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/i40e/i40e_main.c