svn commit: r268027 - head/sys/netinet
Adrian Chadd
adrian at FreeBSD.org
Mon Jun 30 04:26:30 UTC 2014
Author: adrian
Date: Mon Jun 30 04:26:29 2014
New Revision: 268027
URL: http://svnweb.freebsd.org/changeset/base/268027
Log:
If we're doing RSS then ensure the TCP timer selection uses the multi-CPU
callwheel setup, rather than just dumping all the timers on swi0.
Modified:
head/sys/netinet/tcp_timer.c
Modified: head/sys/netinet/tcp_timer.c
==============================================================================
--- head/sys/netinet/tcp_timer.c Mon Jun 30 04:25:51 2014 (r268026)
+++ head/sys/netinet/tcp_timer.c Mon Jun 30 04:26:29 2014 (r268027)
@@ -127,7 +127,11 @@ SYSCTL_INT(_net_inet_tcp, OID_AUTO, rexm
&tcp_rexmit_drop_options, 0,
"Drop TCP options from 3rd and later retransmitted SYN");
+#ifdef RSS
+static int per_cpu_timers = 1;
+#else
static int per_cpu_timers = 0;
+#endif
SYSCTL_INT(_net_inet_tcp, OID_AUTO, per_cpu_timers, CTLFLAG_RW,
&per_cpu_timers , 0, "run tcp timers on all cpus");
More information about the svn-src-head
mailing list