diff options
author | Thinh Tran <[email protected]> | 2024-05-28 15:06:05 -0700 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-29 18:56:30 -0700 |
commit | 218ed820d364ddc2b0150951e6b1a1bd1e49469d (patch) | |
tree | 932bc97243a3ce288e3dcecf55bd18883459b2b9 /scripts/generate_rust_analyzer.py | |
parent | bfd546a552e140b0a4c8a21527c39d6d21addb28 (diff) |
i40e: factoring out i40e_suspend/i40e_resume
Two new functions, i40e_io_suspend() and i40e_io_resume(), have been
introduced. These functions were factored out from the existing
i40e_suspend() and i40e_resume() respectively. This factoring was
done due to concerns about the logic of the I40E_SUSPENSED state, which
caused the device to be unable to recover. The functions are now used
in the EEH handling for device suspend/resume callbacks.
The function i40e_enable_mc_magic_wake() has been moved ahead of
i40e_io_suspend() to ensure it is declared before being used.
Tested-by: Robert Thomas <[email protected]>
Signed-off-by: Thinh Tran <[email protected]>
Reviewed-by: Simon Horman <[email protected]>
Tested-by: Pucha Himasekhar Reddy <[email protected]>
Reviewed-by: Jacob Keller <[email protected]>
Signed-off-by: Jacob Keller <[email protected]>
Link: https://lore.kernel.org/r/20240528-net-2024-05-28-intel-net-fixes-v1-2-dc8593d2bbc6@intel.com
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions