]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitd55bd3dc9c2b2f44fc3d63974760cf5fd4a60ff1
tree877b16f6dbb6c8b7a51de51d25b7a59fe66e72c3
parentb42a978cfafef55b8a92b124b6fbbd6d5f7228a8
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