RE: r8169 : always copying the rx buffer to new skb
From: hayeswang <hidden>
Date: 2011-05-03 11:59:21
-----Original Message----- From: Chris Friesen [mailto:chris.friesen@genband.com] Sent: Tuesday, May 03, 2011 3:04 AM To: John Lumby Cc: Francois Romieu; netdev@vger.kernel.org; Ben Hutchings; nic_swsd Subject: Re: r8169 : always copying the rx buffer to new skb On 04/26/2011 08:18 PM, John Lumby wrote:quoted
So - question : is there any way, when returning from rtl8169_poll, to tell napi something like : " finish this interrupt context and let something else runon this CPUquoted
(always CPU0 on my machine) BUT reschedule another napipoll on thisquoted
same device at some time after that "Does the hardware support any options for interrupt mitigation? I've used some devices where you can specify a minimum time between interrupts such that even if NAPI re-enabled interrupts and there were packets waiting the hardware would wait a certain time before raising a new interrupt.
Yes, please refer to the register 0xE2 of datasheet. And the time is influenced by the register 0xE0. Best Regards, Hayes