Ben Hutchings 6fb70fd1b5 sfc: Implement adaptive IRQ moderation
Calculate a score for each 1000 IRQs:
- TX completions are worth 1 point
- RX completions are worth 4 if merged using LRO or 2 otherwise

Reduce moderation if the score is less than 10000, down to a minimum
of 5 us.  Increase moderation if the score is more than 20000, up to
the specified maximum.

Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2009-03-21 19:06:58 -07:00
..
2009-03-21 19:06:58 -07:00
2009-03-21 19:06:58 -07:00
2008-12-12 22:00:49 -08:00
2008-12-12 21:57:57 -08:00
2009-01-21 14:34:06 -08:00
2008-12-12 21:58:17 -08:00
2008-12-12 21:58:17 -08:00
2009-03-02 03:15:04 -08:00
2009-03-02 03:15:04 -08:00
2009-03-02 03:15:04 -08:00
2009-01-21 14:34:06 -08:00
2008-09-03 09:53:48 -04:00
2009-03-02 03:15:04 -08:00