Netdev List
 help / color / mirror / Atom feed
From: David Miller <davem@davemloft.net>
To: james.dutton@gmail.com
Cc: eric.dumazet@gmail.com, erblichs@earthlink.net, netdev@vger.kernel.org
Subject: Re: b44: Reset due to FIFO overflow.
Date: Wed, 30 Jun 2010 13:22:20 -0700 (PDT)	[thread overview]
Message-ID: <20100630.132220.129754921.davem@davemloft.net> (raw)
In-Reply-To: <AANLkTimK4mGdsSq206aqfusXPvnQczbYDlOWSYXAbOQJ@mail.gmail.com>

From: James Courtier-Dutton <james.dutton@gmail.com>
Date: Mon, 28 Jun 2010 11:17:59 +0100

> Interesting, which hardware, apart from the b44, is it that "requires"
> a hardware reset after a RX FIFO overflow.

This problem is quite common, actually.

Even though it shouldn't be, this is seemingly one of the least tested
paths of a networking chip.

You'd think the recovery would be easy, flush the fifos and drop the
packet, then rewind the RX descriptor pointer.

But it's not and I've seen everything from RX descriptor corruption
to random DMA splats elsewhere corrupting memory entirely, as a result
of a networking card taking a RX fifo overflow.

  parent reply	other threads:[~2010-06-30 20:22 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-28  7:41 b44: Reset due to FIFO overflow James Courtier-Dutton
2010-06-28  9:13 ` Eric Dumazet
2010-06-28  9:33   ` Mitchell Erblich
2010-06-28 10:00     ` Eric Dumazet
2010-06-28 10:17       ` James Courtier-Dutton
2010-06-28 11:09         ` Eric Dumazet
2010-06-28 21:21           ` Mitchell Erblich
2010-06-29  5:17             ` Eric Dumazet
2010-06-30 19:35               ` James Courtier-Dutton
2010-06-30 20:22         ` David Miller [this message]
2010-06-30 22:20           ` James Courtier-Dutton
2010-06-28 10:24   ` James Courtier-Dutton
2010-06-28 11:11     ` Eric Dumazet
2010-06-28 21:37       ` James Courtier-Dutton
2010-06-29  8:42         ` James Courtier-Dutton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100630.132220.129754921.davem@davemloft.net \
    --to=davem@davemloft.net \
    --cc=erblichs@earthlink.net \
    --cc=eric.dumazet@gmail.com \
    --cc=james.dutton@gmail.com \
    --cc=netdev@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox