[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <AE90C24D6B3A694183C094C60CF0A2F6026B70BD@saturn3.aculab.com>
Date: Mon, 26 Nov 2012 09:15:19 -0000
From: "David Laight" <David.Laight@...LAB.COM>
To: Stéphane ANCELOT <sancelot@...e.fr>,
<netdev@...r.kernel.org>
Cc: <sancelot@...alliance.com>
Subject: RE: Re: RTL 8169 linux driver question
> I had problem with it, my application sends a frame that is immediately
> transmitted back by some slaves, there was abnormally 100us lost
> between the send and receive call.
>
> Finally I found it was coming from the following register setup in the
> driver :
>
> RTL_W16(IntrMitigate, 0x5151);
>
> Can you give me some details about it, since I do not have the RTL8169
> programming guide.
That sounds like an 'interrupt mitigation' setting - which will cause
RX interrupts to be delayed a short time in order to reduce the
interrupt load on the kernel.
There is usually an 'ethtool' setting to disable interrupt mitigation.
David
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists