• Auke Kok's avatar
    e1000e: Add interrupt moderation run-time ethtool interface · de5b3077
    Auke Kok authored
    The ethtool -c / -C interface can now be used to modify the
    irq moderation algorithm. This change does not require an
    adapter reset and can thus be used at all times. The adapter
    only supports changing/reading rx-usecs which has special
    values for 0, 1 and 3:
    
    0 - no irq moderation whatsoever
    1 - normal moderation favoring regular mixed traffic (default)
    3 - best attempt at low latency possible at cost of CPU
    
    For values between 10 and 10000 the rx-usecs defines "the minimum
    time between successive irqs" in usec, unlike the module parameter.
    Signed-off-by: default avatarAuke Kok <auke-jan.h.kok@intel.com>
    Signed-off-by: default avatarJeff Garzik <jgarzik@redhat.com>
    de5b3077
ethtool.c 51.3 KB