From: David R <david@unsolicited.net>
To: Francois Romieu <romieu@fr.zoreil.com>
Cc: "Frédéric Leroy" <fredo@starox.org>,
netdev@vger.kernel.org,
"Realtek linux nic maintainers" <nic_swsd@realtek.com>,
"Hayes Wang" <hayeswang@realtek.com>
Subject: Re: Realtek r8168 hangs when sending data at full speed on a gigabit link
Date: Sat, 07 Sep 2013 18:19:40 +0100 [thread overview]
Message-ID: <522B602C.80701@unsolicited.net> (raw)
In-Reply-To: <20130907101546.GA19560@electric-eye.fr.zoreil.com>
Hi
You mean this line from the dmesg? :-
[ 6.015979] r8169 Gigabit Ethernet driver 2.3LK-NAPI loaded
[ 6.016285] r8169 0000:02:00.0: irq 73 for MSI/MSI-X
[ 6.016549] r8169 0000:02:00.0 eth0: RTL8168f/8111f at
0xffffc9000060e000, 60:a4:4c:2c:ff:a1, XID 08000800 IRQ 73
Cheers
David
On 07/09/13 11:15, Francois Romieu wrote:
> Frédéric Leroy <fredo@starox.org> :
> [...]
>
> Sorry for the delay. It was a busy week.
>
> Can you give the hack below a try ?
>
> David, could you send me the r8169 XID line from a kernel running on
> the hardware for which I sent you a similar patch back in 2013/04 ?
> You appeared to own a 8168f and it could be a RTL_GIGA_MAC_VER_36.
>
> Thanks.
>
> Hayes, see http://marc.info/?l=linux-netdev&m=137794473416308&w=1 for
> history. It could be eb2dc35d99028b698cdedba4f5522bc43e576bd2
> ("r8169: RxConfig hack for the 8168evl.") return, with a revenge.
>
> ---
> drivers/net/ethernet/realtek/r8169.c | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/drivers/net/ethernet/realtek/r8169.c b/drivers/net/ethernet/realtek/r8169.c
> index 6f87f2c..3397cee 100644
> --- a/drivers/net/ethernet/realtek/r8169.c
> +++ b/drivers/net/ethernet/realtek/r8169.c
> @@ -4231,6 +4231,7 @@ static void rtl_init_rxcfg(struct rtl8169_private *tp)
> case RTL_GIGA_MAC_VER_23:
> case RTL_GIGA_MAC_VER_24:
> case RTL_GIGA_MAC_VER_34:
> + case RTL_GIGA_MAC_VER_35:
> RTL_W32(RxConfig, RX128_INT_EN | RX_MULTI_EN | RX_DMA_BURST);
> break;
> case RTL_GIGA_MAC_VER_40:
next prev parent reply other threads:[~2013-09-07 17:41 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-08-31 10:15 Realtek r8168 hangs when sending data at full speed on a gigabit link Frédéric Leroy
2013-09-01 21:36 ` Francois Romieu
2013-09-02 9:46 ` Frédéric Leroy
2013-09-07 10:15 ` Francois Romieu
2013-09-07 17:19 ` David R [this message]
2013-09-07 19:35 ` Frédéric Leroy
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=522B602C.80701@unsolicited.net \
--to=david@unsolicited.net \
--cc=fredo@starox.org \
--cc=hayeswang@realtek.com \
--cc=netdev@vger.kernel.org \
--cc=nic_swsd@realtek.com \
--cc=romieu@fr.zoreil.com \
/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;
as well as URLs for NNTP newsgroup(s).