summaryrefslogtreecommitdiffstats
path: root/fs/ioprio.c
diff options
context:
space:
mode:
authorAyaz Abdulla <aabdulla@nvidia.com>2009-03-05 08:02:26 +0000
committerDavid S. Miller <davem@davemloft.net>2009-03-10 05:29:49 -0700
commit4145ade2bb265b34331265bfa2221e40b069b3ca (patch)
tree5f1cf1c04fe11d083a362d614747c28134d08e82 /fs/ioprio.c
parentb67874ac1604cda8070d60d432e892c09d761b2e (diff)
downloadlinux-4145ade2bb265b34331265bfa2221e40b069b3ca.tar.bz2
forcedeth: add interrupt moderation logic
This patch adds the logic to moderate the interrupts by changing the mode between throughput and poll. If there has been a large amount of time without any burst of network load, the code will transition to pure throughput mode (where each tx/rx/other will cause an interrupt). If bursts of network load occurs, it will transition to poll based mode to help reduce cpu utilization (it will not interrupt on each packet) while maintaining the optimum network bandwidth utilization. Signed-off-by: Ayaz Abdulla <aabdulla@nvidia.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'fs/ioprio.c')
0 files changed, 0 insertions, 0 deletions