[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CYYPR11MB84292258D6E64C35CA5687B6BDF42@CYYPR11MB8429.namprd11.prod.outlook.com>
Date: Thu, 23 May 2024 17:59:03 +0000
From: "Pucha, HimasekharX Reddy" <himasekharx.reddy.pucha@...el.com>
To: Thinh Tran <thinhtr@...ux.ibm.com>, "netdev@...r.kernel.org"
<netdev@...r.kernel.org>, "kuba@...nel.org" <kuba@...nel.org>, "Nguyen,
Anthony L" <anthony.l.nguyen@...el.com>, "Loktionov, Aleksandr"
<aleksandr.loktionov@...el.com>, "Kitszel, Przemyslaw"
<przemyslaw.kitszel@...el.com>, "pmenzel@...gen.mpg.de"
<pmenzel@...gen.mpg.de>
CC: "edumazet@...gle.com" <edumazet@...gle.com>, "Thomas, Rob"
<rob.thomas@....com>, "Keller, Jacob E" <jacob.e.keller@...el.com>,
"intel-wired-lan@...ts.osuosl.org" <intel-wired-lan@...ts.osuosl.org>,
"pabeni@...hat.com" <pabeni@...hat.com>, "davem@...emloft.net"
<davem@...emloft.net>
Subject: RE: [Intel-wired-lan] [PATCH iwl-net V4, 2/2] i40e: Fully suspend and
resume IO operations in EEH case
> -----Original Message-----
> From: Intel-wired-lan <intel-wired-lan-bounces@...osl.org> On Behalf Of Thinh Tran
> Sent: Thursday, May 16, 2024 2:37 AM
> To: netdev@...r.kernel.org; kuba@...nel.org; Nguyen, Anthony L <anthony.l.nguyen@...el.com>; Loktionov, Aleksandr <aleksandr.loktionov@...el.com>; Kitszel, Przemyslaw <przemyslaw.kitszel@...el.com>; pmenzel@...gen.mpg.de
> Cc: edumazet@...gle.com; Thomas, Rob <rob.thomas@....com>; Thinh Tran <thinhtr@...ux.ibm.com>; Keller, Jacob E <jacob.e.keller@...el.com>; intel-wired-lan@...ts.osuosl.org; pabeni@...hat.com; davem@...emloft.net
> 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 <jacob.e.keller@...el.com>
> Tested-by: Robert Thomas <rob.thomas@....com>
> Signed-off-by: Thinh Tran <thinhtr@...ux.ibm.com>
> ---
> drivers/net/ethernet/intel/i40e/i40e_main.c | 9 ++++++---
> 1 file changed, 6 insertions(+), 3 deletions(-)
>
Tested-by: Pucha Himasekhar Reddy <himasekharx.reddy.pucha@...el.com> (A Contingent worker at Intel)
Powered by blists - more mailing lists