svn commit: r192375 - projects/pnet/sys/net

Robert Watson rwatson at FreeBSD.org
Tue May 19 09:28:10 UTC 2009


Author: rwatson
Date: Tue May 19 09:28:09 2009
New Revision: 192375
URL: http://svn.freebsd.org/changeset/base/192375

Log:
  Minor style tweak for netisr2 sysctls.
  
  Submitted by:	bde

Modified:
  projects/pnet/sys/net/netisr2.c

Modified: projects/pnet/sys/net/netisr2.c
==============================================================================
--- projects/pnet/sys/net/netisr2.c	Tue May 19 09:26:29 2009	(r192374)
+++ projects/pnet/sys/net/netisr2.c	Tue May 19 09:28:09 2009	(r192375)
@@ -109,8 +109,8 @@ static struct rmlock	netisr_rmlock;
 SYSCTL_NODE(_net, OID_AUTO, isr2, CTLFLAG_RW, 0, "netisr2");
 
 static int	netisr_direct = 1;	/* Enable direct dispatch. */
-SYSCTL_INT(_net_isr2, OID_AUTO, direct, CTLFLAG_RW, &netisr_direct, 0,
-    "Direct dispatch");
+SYSCTL_INT(_net_isr2, OID_AUTO, direct, CTLFLAG_RW,
+    &netisr_direct, 0, "Direct dispatch");
 
 /*
  * Allow the administrator to limit the number of threads (CPUs) to use for
@@ -121,19 +121,21 @@ SYSCTL_INT(_net_isr2, OID_AUTO, direct, 
  */
 static int	netisr_maxthreads = 1;		/* Max number of threads. */
 TUNABLE_INT("net.isr2.maxthreads", &netisr_maxthreads);
-SYSCTL_INT(_net_isr2, OID_AUTO, maxthreads, CTLFLAG_RD, &netisr_maxthreads,
-    0, "Use at most this many CPUs for netisr2 processing");
+SYSCTL_INT(_net_isr2, OID_AUTO, maxthreads, CTLFLAG_RD,
+    &netisr_maxthreads, 0,
+    "Use at most this many CPUs for netisr2 processing");
 
 static int	netisr_bindthreads = 0;		/* Bind threads to CPUs. */
 TUNABLE_INT("net.isr2.bindthreads", &netisr_bindthreads);
-SYSCTL_INT(_net_isr2, OID_AUTO, bindthreads, CTLFLAG_RD, &netisr_bindthreads,
-    0, "Bind netisr2 threads to CPUs.");
+SYSCTL_INT(_net_isr2, OID_AUTO, bindthreads, CTLFLAG_RD,
+    &netisr_bindthreads, 0, "Bind netisr2 threads to CPUs.");
 
 #define	NETISR_MAXQLIMIT	10240
 static int	netisr_maxqlimit = NETISR_MAXQLIMIT;
 TUNABLE_INT("net.isr2.bindthreads", &netisr_bindthreads);
-SYSCTL_INT(_net_isr2, OID_AUTO, maxqlimit, CTLFLAG_RD, &netisr_maxqlimit,
-    0, "Maximum netisr2 per-protocol, per-CPU queue depth.");
+SYSCTL_INT(_net_isr2, OID_AUTO, maxqlimit, CTLFLAG_RD,
+    &netisr_maxqlimit, 0,
+    "Maximum netisr2 per-protocol, per-CPU queue depth.");
 
 /*
  * Each protocol is described by an instance of netisr_proto, which holds all


More information about the svn-src-projects mailing list