aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/igb/igb_main.c
diff options
context:
space:
mode:
authorAlexander Duyck <alexander.h.duyck@intel.com>2009-02-12 13:17:21 -0500
committerDavid S. Miller <davem@davemloft.net>2009-02-16 02:56:00 -0500
commit1e5c3d218ac19d5a5e9b3a8f09777c2b555b2499 (patch)
tree148abdb10e8d32bdef455f5b3c4e7f3c94272a44 /drivers/net/igb/igb_main.c
parent73cd78f1d36da244b8b3b81d3a0f32372a636e5c (diff)
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 <alexander.h.duyck@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/igb/igb_main.c')
-rw-r--r--drivers/net/igb/igb_main.c2
1 files changed, 1 insertions, 1 deletions
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,
2666 if (bytes > 25000) { 2666 if (bytes > 25000) {
2667 if (packets > 35) 2667 if (packets > 35)
2668 retval = low_latency; 2668 retval = low_latency;
2669 } else if (bytes < 6000) { 2669 } else if (bytes < 1500) {
2670 retval = low_latency; 2670 retval = low_latency;
2671 } 2671 }
2672 break; 2672 break;