[Intel-wired-lan] [PATCH iwl-net V3, 1/2] i40e: fractoring out i40e_suspend/i40e_resume
Jacob Keller
jacob.e.keller at intel.com
Tue May 14 21:30:08 UTC 2024
On 5/14/2024 1:21 PM, Thinh Tran wrote:
> 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 not able to recover. The functions are now used in the
> EEH handling for device suspend/resume callbacks.
>
> Reordered 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 <rob.thomas at ibm.com>
> Signed-off-by: Thinh Tran <thinhtr at linux.ibm.com>
> ---
Reviewed-by: Jacob Keller <jacob.e.keller at intel.com>
More information about the Intel-wired-lan
mailing list