Re: r8169 tx problem (1s pause with ping)

2007-06-20 Thread David Gundersen
diff --git a/drivers/net/r8169.c b/drivers/net/r8169.c index 8f3e0da..8c0851f 100644 --- a/drivers/net/r8169.c +++ b/drivers/net/r8169.c @@ -2682,6 +2688,8 @@ static void rtl8169_tx_interrupt(struct net_device *dev, (TX_BUFFS_AVAIL(tp) >= MAX_SKB_FRAGS)) {

Re: r8169 tx problem (1s pause with ping)

2007-06-19 Thread David Gundersen
Out of curiousity, does it work if you just do a single read (ie RTL_R8(TxPoll);) of the register before writing to it? That would clear things up if it is a PCI posting problem. Hi Ben, I tried your suggestion but it didn't seem to make any difference :( I tried the following combinations

Re: r8169 tx problem (1s pause with ping)

2007-06-14 Thread David Gundersen
Francois Romieu wrote: Benjamin LaHaise <[EMAIL PROTECTED]> : [...] I'm seeing something odd with r8169 on FC7: doing a ping -s 1600 alternates between a 1s latency and sub 1ms. Has anyone else seen anything like this? The system in question is an Asus M2A-VM with an onboard RTL8111 (I think)

Re: Realtek r8168 slow outbound transfer - potential fix/workaround

2007-06-14 Thread David Gundersen
What is the value of the MTU for your 8168 device ? Hi Francois, The MTU for the adapter is set at the default of 1500. A bit more background on how I came across this might be in order. I noticed it when performing very simple SQL queries against a postgres database on my server. I capt

Realtek r8168 slow outbound transfer - potential fix/workaround

2007-06-13 Thread David Gundersen
Hi all, I've been doing a bit of investigation work into a problem that I've been experiencing with the latest available r8168 driver from realtek ('r8168-8.001.00') & linux kernel 2.6.21.1. I have been experiencing wierd problems with slow outbound traffic that seem to go away if there's t