]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
igb: reduce size required to trigger low latency
authorAlexander Duyck <alexander.h.duyck@intel.com>
Thu, 12 Feb 2009 18:17:21 +0000 (18:17 +0000)
committerDavid S. Miller <davem@davemloft.net>
Mon, 16 Feb 2009 07:56:00 +0000 (23:56 -0800)
Update the Adaptive Interrupt Moderation algorithm so that the low latency
state is triggered less easily to prevent high interrupt loads.

Signed-off-by: Alexander Duyck <alexander.h.duyck@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/igb/igb_main.c

index 53e580bdfe29cb99e2b586f18ca246ce2b9d85d9..86782f9218a786d08a21aa6997109f3366751fa0 100644 (file)
@@ -2666,7 +2666,7 @@ static unsigned int igb_update_itr(struct igb_adapter *adapter, u16 itr_setting,
                if (bytes > 25000) {
                        if (packets > 35)
                                retval = low_latency;
-               } else if (bytes < 6000) {
+               } else if (bytes < 1500) {
                        retval = low_latency;
                }
                break;