Re: RFC: issues concerning the next NAPI interface
From: David Miller <davem@davemloft.net>
Date: 2007-08-27 21:57:53
Also in:
linuxppc-dev, lkml
From: David Miller <davem@davemloft.net>
Date: 2007-08-27 21:57:53
Also in:
linuxppc-dev, lkml
From: James Chapman <jchapman@katalix.com> Date: Mon, 27 Aug 2007 22:41:43 +0100
I don't recall saying anything in previous posts about this. Are you confusing my posts with Jan-Bernd's?
Yes, my bad.
Jan-Bernd has been talking about using hrtimers to _reschedule_ NAPI. My posts are suggesting an alternative mechanism that keeps NAPI active (with interrupts disabled) for a jiffy or two after it would otherwise have gone idle in order to avoid too many interrupts when the packet rate is such that NAPI thrashes between poll-on and poll-off.
So in this scheme what runs ->poll() to process incoming packets? The hrtimer?