mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Francois Romieu <romieu@fr.zoreil.com>
To: Seblu <seblu@seblu.net>
Cc: Eric Dumazet <eric.dumazet@gmail.com>,
	lkml <linux-kernel@vger.kernel.org>,
	netdev <netdev@vger.kernel.org>, Ivan Vecera <ivecera@redhat.com>
Subject: Re: Mass udp flow reboot linux with RealTek RTL-8169 Gigabit
Date: Sun, 13 Feb 2011 21:34:17 +0100	[thread overview]
Message-ID: <20110213203417.GA11442@electric-eye.fr.zoreil.com> (raw)
In-Reply-To: <AANLkTikLOJ-XcwfdbWS19DKzh2s91tn5pQjJe0+CeAN-@mail.gmail.com>

Seblu <seblu@seblu.net> :
[...]
> > NIC seems to be reset frequently but host stop rebooting. \o//
> ok after about 1 hour of iperf, host reboot.

Can you apply the patch below on top of 2.6.38-rc4 ?

diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c
index 59ccf0c..5d64b80 100644
--- a/drivers/net/r8169.c
+++ b/drivers/net/r8169.c
@@ -4645,6 +4645,7 @@ static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance)
 			switch (tp->mac_version) {
 			/* Work around for rx fifo overflow */
 			case RTL_GIGA_MAC_VER_11:
+			case RTL_GIGA_MAC_VER_20:
 			case RTL_GIGA_MAC_VER_22:
 			case RTL_GIGA_MAC_VER_26:
 				netif_stop_queue(dev);
@@ -4653,7 +4654,6 @@ static irqreturn_t rtl8169_interrupt(int irq, void *dev_instance)
 			/* Testers needed. */
 			case RTL_GIGA_MAC_VER_17:
 			case RTL_GIGA_MAC_VER_19:
-			case RTL_GIGA_MAC_VER_20:
 			case RTL_GIGA_MAC_VER_21:
 			case RTL_GIGA_MAC_VER_23:
 			case RTL_GIGA_MAC_VER_24:

  reply	other threads:[~2011-02-13 20:37 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-13  1:35 Seblu
2011-02-13  7:17 ` Eric Dumazet
2011-02-13 13:56   ` Francois Romieu
2011-02-13 17:27     ` Seblu
2011-02-13 18:02       ` Seblu
2011-02-13 20:34         ` Francois Romieu [this message]
2011-02-18  2:54           ` Seblu
2011-02-18  9:30             ` Francois Romieu
2011-03-06  0:29               ` Seblu
2011-03-10 12:08                 ` Francois Romieu
2011-02-21 11:56 Hans Nieser
2011-02-22 17:33 Hans Nieser
2011-02-23  9:55 ` Francois Romieu
2011-02-23 12:21   ` Hans Nieser
2011-02-23 18:31     ` Hans Nieser
2011-02-25 13:45       ` Hans Nieser
2011-03-03 19:53         ` Hans Nieser

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=20110213203417.GA11442@electric-eye.fr.zoreil.com \
    --to=romieu@fr.zoreil.com \
    --cc=eric.dumazet@gmail.com \
    --cc=ivecera@redhat.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=netdev@vger.kernel.org \
    --cc=seblu@seblu.net \
    /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

all inboxes | Powered by JetHome®