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 <[email protected]>
> Signed-off-by: Thinh Tran <[email protected]>
> ---
Reviewed-by: Jacob Keller <[email protected]>