]> git.baikalelectronics.ru Git - kernel.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)
commit0f457135d0b40ed9c021dda3122431d73447e897
treeadcb7b1f344209de1db703abd1d1b25e497a613b
parent617f7064f17f56a36a3897baeaa6e71c3bc2d679
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