Netdev List
 help / color / mirror / Atom feed
From: Eric Dumazet <eric.dumazet@gmail.com>
To: James Courtier-Dutton <james.dutton@gmail.com>
Cc: Mitchell Erblich <erblichs@earthlink.net>, netdev@vger.kernel.org
Subject: Re: b44: Reset due to FIFO overflow.
Date: Mon, 28 Jun 2010 13:09:30 +0200	[thread overview]
Message-ID: <1277723370.4235.388.camel@edumazet-laptop> (raw)
In-Reply-To: <AANLkTimK4mGdsSq206aqfusXPvnQczbYDlOWSYXAbOQJ@mail.gmail.com>

Le lundi 28 juin 2010 à 11:17 +0100, James Courtier-Dutton a écrit :
> On 28 June 2010 11:00, Eric Dumazet <eric.dumazet@gmail.com> wrote:
> >
> > Problem is we receive a spike of RX network frames (possibly UDP or some
> > other RX only trafic), and chip raises an RX fifo overflow _error_
> > indication.
> >
> 
> The cause of the RX overflow is in my case is TCP.
> It is reproducible in mythtv.
> While watching LiveTV, press "s" for the program guide.
> The program guide is implemented into mythtv by a SQL query that
> results in a large response.
> The kernel is probably not servicing the RX FIFO quickly enough due to
> it being busy doing something else. In this case, probably a video
> mode switch.
> 

Thats strange, b44 has a big RX ring... and tcp sender should wait for
ACK...

> > Some hardware are buggy enough that such error indication is fatal and
> > _require_ hardware reset. Thats life. I suspect b44 driver doing a full
> > reset is not a random guess from driver author, but to avoid a complete
> > NIC lockup.
> >
> 
> Interesting, which hardware, apart from the b44, is it that "requires"
> a hardware reset after a RX FIFO overflow.

Just take a look at some net drivers and you'll see some of them have
this requirement.

rtl8169_rx_interrupt()
...
	if (status & RxFOVF) {
		rtl8169_schedule_work(dev, rtl8169_reset_task);
		dev->stats.rx_fifo_errors++;
	}





  reply	other threads:[~2010-06-28 11:09 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 [this message]
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
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=1277723370.4235.388.camel@edumazet-laptop \
    --to=eric.dumazet@gmail.com \
    --cc=erblichs@earthlink.net \
    --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