> -----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]>; Keller, Jacob E <[email protected]>; 
> [email protected]; [email protected]; [email protected]
> Subject: [Intel-wired-lan] [PATCH iwl-net V4, 2/2] i40e: Fully suspend and 
> resume IO operations in EEH case
>
> When EEH events occurs, the callback functions in the i40e, which are managed 
> by the EEH driver, will completely suspend and resume all IO operations.
>
> - In the PCI error detected callback, replaced i40e_prep_for_reset()
>   with i40e_io_suspend(). The change is to fully suspend all I/O
>   operations
> - In the PCI error slot reset callback, replaced pci_enable_device_mem()
>   with pci_enable_device(). This change enables both I/O and memory of
>   the device.
> - In the PCI error resume callback, replaced i40e_handle_reset_warning()
>   with i40e_io_resume(). This change allows the system to resume I/O
>   operations
>
> Fixes: a5f3d2c17b07 ("powerpc/pseries/pci: Add MSI domains")
> Reviewed-by: Jacob Keller <[email protected]>
> Tested-by: Robert Thomas <[email protected]>
> Signed-off-by: Thinh Tran <[email protected]>
> ---
>  drivers/net/ethernet/intel/i40e/i40e_main.c | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
>

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

Reply via email to