svn commit: r230540 - user/luigi/netmap/sys/dev/ixgbe

Luigi Rizzo luigi at FreeBSD.org
Wed Jan 25 14:38:01 UTC 2012


Author: luigi
Date: Wed Jan 25 14:38:00 2012
New Revision: 230540
URL: http://svn.freebsd.org/changeset/base/230540

Log:
  compute correct value for interrupt rate, and revert to the use of
  the low-latency parameter

Modified:
  user/luigi/netmap/sys/dev/ixgbe/ixgbe.c

Modified: user/luigi/netmap/sys/dev/ixgbe/ixgbe.c
==============================================================================
--- user/luigi/netmap/sys/dev/ixgbe/ixgbe.c	Wed Jan 25 13:47:55 2012	(r230539)
+++ user/luigi/netmap/sys/dev/ixgbe/ixgbe.c	Wed Jan 25 14:38:00 2012	(r230540)
@@ -232,7 +232,7 @@ MODULE_DEPEND(ixgbe, ether, 1, 1, 1);
 static int ixgbe_enable_aim = 0; // TRUE;
 TUNABLE_INT("hw.ixgbe.enable_aim", &ixgbe_enable_aim);
 
-static int ixgbe_max_interrupt_rate = (8000000 / 250); // IXGBE_LOW_LATENCY);
+static int ixgbe_max_interrupt_rate = (4000000 / IXGBE_LOW_LATENCY);
 TUNABLE_INT("hw.ixgbe.max_interrupt_rate", &ixgbe_max_interrupt_rate);
 
 /* How many packets rxeof tries to clean at a time */


More information about the svn-src-user mailing list