Thread (4 messages) flat view 4 messages, 2 authors, 2012-09-26

RE: [PATCH net-next] be2net: Ignore spurious UE indication from NIC

From: Khaparde, Ajit <hidden>
Date: 2012-09-26 22:35:16

From: David Miller [davem@davemloft.net]
Sent: Friday, September 21, 2012 2:04 PM
To: Khaparde, Ajit
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] be2net: Ignore spurious UE indication from NIC

From: Ajit Khaparde <redacted>
Date: Fri, 21 Sep 2012 11:36:20 -0500
quoted
Ignore spurious UE indication seen on some platforms.
Consider the error as un-recoverable only when the bits
stay high during second sampling.

Signed-off-by: Ajit Khaparde <redacted>
Treating uncorrectable errors as spurious seems like an invitation
for hard to track down data corruption to me.

You'll need to come up with a more sophisticated test for
spurious other than "happens more than once" before I'm willing
to subject the entire world to this kind of potential problem.
If the UE is real, then the hardware will stop responding to requests.
The hardware block goes offline automatically and no traffic will flow.
After this the hardware will generate a register dump, which can be
retrived using ethtool.

A spurious UE or a data corruption will not generate this dump.

The detection logic is merely to inform the user about the failure
and also avoid any further access to the NIC. This will also prevent
the driver unload from having to timeout on each access to the hardware
which could take a long time to complete.

Please let me know if this is enough to differentiate the scenarios.

Thanks
-Ajit
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help