aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpi-inline.h
diff options
context:
space:
mode:
authorJacob Keller <[email protected]>2016-06-07 16:08:55 -0700
committerJeff Kirsher <[email protected]>2016-07-20 15:22:14 -0700
commit0593186a17d8427804be162a724a1576367e4d4c (patch)
treec8975fc73f30cc012415275ead7a7210ca15f004 /lib/mpi/mpi-inline.h
parent820c91aa9c39e1923fbe4a6593b3d2dfd7ad593f (diff)
fm10k: implement reset_notify handler for PCIe FLR events
When a function level PCI reset is triggered using sysfs, it calls the driver's .reset_notify error handler. Implement a handler based on the now split fm10k_prepare_for_reset and fm10k_handle_reset functions, so that we fully reset the driver when the PCI function level reset occurs. This also ensures the reset is handled in a clean way by first disabling all the driver bits first and then restoring them after the function reset. Previously the stack simply performed a blind function reset and our driver didn't take any part in the process. Signed-off-by: Jacob Keller <[email protected]> Tested-by: Krishneil Singh <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-inline.h')
0 files changed, 0 insertions, 0 deletions