• Ayaz Abdulla's avatar
    forcedeth: add interrupt moderation logic · 4145ade2
    Ayaz Abdulla authored
    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: default avatarAyaz Abdulla <aabdulla@nvidia.com>
    Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
    4145ade2
forcedeth.c 192 KB