Date: Wed, 25 Jan 2012 14:38:00 +0000 (UTC) From: Luigi Rizzo <luigi@FreeBSD.org> To: src-committers@freebsd.org, svn-src-user@freebsd.org Subject: svn commit: r230540 - user/luigi/netmap/sys/dev/ixgbe Message-ID: <201201251438.q0PEc0RT028824@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201201251438.q0PEc0RT028824>