]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
e1000e: Add interrupt moderation run-time ethtool interface
authorAuke Kok <auke-jan.h.kok@intel.com>
Wed, 23 Apr 2008 18:09:08 +0000 (11:09 -0700)
committerJeff Garzik <jgarzik@redhat.com>
Fri, 25 Apr 2008 06:07:12 +0000 (02:07 -0400)
commitde5b3077da8275e87196a1e34c5535f5279c5e1a
tree6e98ea368a62f8a0350da5a758188cd180086383
parent7c25769f88ff0b186766d6a9f9390a2e9fd4670f
e1000e: Add interrupt moderation run-time ethtool interface

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: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
drivers/net/e1000e/e1000.h
drivers/net/e1000e/ethtool.c