Subject: Re: [PATCH 2/5] sky2: add fake idle irq timer

From: Stephen Hemminger <[email-masked]>
Date: Tue, 25 Apr 2006 15:45:03 -0700

On Wed, 26 Apr 2006 00:39:00 +0200
Francois Romieu <[email-masked]> wrote:

> Stephen Hemminger <[email-masked]> :
> [...]
> > > Any objection against moving mod_timer() from sky2_poll() to sky2_idle()
> > > so as to keep poll() path unmodified ?
> > > 
> > 
> > If traffic is moving, then I want the timer to keep getting rescheduled
> > farther out.
> 
> If my version of the driver is not stale, the timer will not be
> rescheduled when work_done >= work_limit.

I am trying to work around possible lost IRQ's, not netdev scheduler
screw up's.  If workdone >= work_limit, then it will already be
called back later when it return's 1.