[Intel-wired-lan] [PATCH] intel-ethernet: warn when fatal read failure happens

Brown, Aaron F aaron.f.brown at intel.com
Sat Feb 2 00:26:31 UTC 2019


> From: Intel-wired-lan [mailto:intel-wired-lan-bounces at osuosl.org] On
> Behalf Of Neftin, Sasha
> Sent: Thursday, January 10, 2019 12:19 AM
> To: intel-wired-lan at osuosl.org
> Subject: Re: [Intel-wired-lan] [PATCH] intel-ethernet: warn when fatal read
> failure happens
> 
> On 1/9/2019 08:30, Feng Tang wrote:
> > Failed in read the HW register is very serious for igb/igc driver,
> > as its hw_addr will be set to NULL and cause the adapter be seen as
> > "REMOVED".
> >
> > We saw the error only a few times in the MTBF test for suspend/resume,
> > but can hardly get any useful info to debug.
> >
> > Adding WARN() so that we can get the necessary information about
> > where and how it happens, and use it for root causing and fixing
> > this "PCIe link lost issue"
> >
> > This affects igb, igc.
> >
> > Signed-off-by: Feng Tang <feng.tang at intel.com>
> > ---
> >   drivers/net/ethernet/intel/igb/igb_main.c | 1 +
> >   drivers/net/ethernet/intel/igc/igc_main.c | 1 +
> >   2 files changed, 2 insertions(+)

With the caveat of recognizing Sasha's suggestion to add a "\n"...
Tested-by: Aaron Brown <aaron.f.brown at intel.com>




More information about the Intel-wired-lan mailing list