From: Alexander Duyck Date: Thu, 12 Feb 2009 18:17:21 +0000 (+0000) Subject: igb: reduce size required to trigger low latency X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=1e5c3d218ac19d5a5e9b3a8f09777c2b555b2499;p=linux-beck.git igb: reduce size required to trigger low latency 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 Signed-off-by: Jeff Kirsher Signed-off-by: David S. Miller --- diff --git a/drivers/net/igb/igb_main.c b/drivers/net/igb/igb_main.c index 53e580bdfe29..86782f9218a7 100644 --- a/drivers/net/igb/igb_main.c +++ b/drivers/net/igb/igb_main.c @@ -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;