diff options
author | Ben Hutchings <bhutchings@solarflare.com> | 2009-03-20 14:30:37 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-03-22 03:06:58 +0100 |
commit | 6fb70fd1b57707a5c7b9fb167b7790b2cba13f04 (patch) | |
tree | 311192bd4de07e1da571f1a6ac6a3ad123ab3f50 /net/atm/mpc.h | |
parent | sfc: Optimise falcon_writel_page_locked() for page > 0 (diff) | |
download | linux-6fb70fd1b57707a5c7b9fb167b7790b2cba13f04.tar.xz linux-6fb70fd1b57707a5c7b9fb167b7790b2cba13f04.zip |
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>
Diffstat (limited to 'net/atm/mpc.h')
0 files changed, 0 insertions, 0 deletions