Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 May 2009 09:28:09 +0000 (UTC)
From:      Robert Watson <rwatson@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-projects@freebsd.org
Subject:   svn commit: r192375 - projects/pnet/sys/net
Message-ID:  <200905190928.n4J9SAsN091046@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905190928.n4J9SAsN091046>