> -----Original Message-----
> From: Intel-wired-lan <[email protected]> On Behalf Of Thinh 
> Tran
> Sent: Thursday, May 16, 2024 2:37 AM
> To: [email protected]; [email protected]; Nguyen, Anthony L 
> <[email protected]>; Loktionov, Aleksandr 
> <[email protected]>; Kitszel, Przemyslaw 
> <[email protected]>; [email protected]
> Cc: [email protected]; Thomas, Rob <[email protected]>; Thinh Tran 
> <[email protected]>; [email protected]; [email protected]; 
> [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-net V4, 1/2] 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]>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 248 +++++++++++---------
>  1 file changed, 134 insertions(+), 114 deletions(-)
>

Tested-by: Pucha Himasekhar Reddy <[email protected]> (A 
Contingent worker at Intel)

Reply via email to