]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
ixgbe: Introduce adaptive interrupt moderation
authorAyyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
Mon, 3 Mar 2008 23:03:57 +0000 (15:03 -0800)
committerJeff Garzik <jeff@garzik.org>
Mon, 17 Mar 2008 11:49:28 +0000 (07:49 -0400)
commitf494e8faa77bd4147324f7666441e0b780e7db94
treeadcb7b1f344209de1db703abd1d1b25e497a613b
parent30eba97a3f076cf4e100b598ee9a1b1439b0cfaa
ixgbe: Introduce adaptive interrupt moderation

82598 can produce a formidable interrupt rate, and is largely
unusable without some form of moderation. The default behaviour
before this patch is to limit irq's to a reasonable number.
However, just like our other drivers we can reduce latency
for small packet-type traffic considerably by allowing the
irq rate to go up dynamically.

This patch introduces a simple irq moderation algorithm based
on traffic analysis. The driver will use more CPU to service
small packets quicker but will perform the same on bulk traffic
as the old code.

Signed-off-by: Ayyappan Veeraiyan <ayyappan.veeraiyan@intel.com>
Signed-off-by: Auke Kok <auke-jan.h.kok@intel.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
drivers/net/ixgbe/ixgbe.h
drivers/net/ixgbe/ixgbe_ethtool.c
drivers/net/ixgbe/ixgbe_main.c