diff options
author | rwatson <rwatson@FreeBSD.org> | 2003-10-02 02:54:10 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2003-10-02 02:54:10 +0000 |
commit | 01c4c2ef8970342795244c5c97b44f6993713a9c (patch) | |
tree | 9619c0698ec813a0c8abac9acde71bfc9b9d539e /sys/net/netisr.c | |
parent | b9ef48a8b5c980a888e2e6f3efba09e0c9389355 (diff) | |
download | FreeBSD-src-01c4c2ef8970342795244c5c97b44f6993713a9c.zip FreeBSD-src-01c4c2ef8970342795244c5c97b44f6993713a9c.tar.gz |
Create a tunable for net.isr.enable so that it may be set from
inception, rather than having to wait for the boot to finish.
Diffstat (limited to 'sys/net/netisr.c')
-rw-r--r-- | sys/net/netisr.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/netisr.c b/sys/net/netisr.c index 598fde4..d7fc4ec 100644 --- a/sys/net/netisr.c +++ b/sys/net/netisr.c @@ -111,6 +111,7 @@ SYSCTL_NODE(_net, OID_AUTO, isr, CTLFLAG_RW, 0, "netisr counters"); static int netisr_enable = 0; SYSCTL_INT(_net_isr, OID_AUTO, enable, CTLFLAG_RW, &netisr_enable, 0, "enable direct dispatch"); +TUNABLE_INT("net.isr.enable", &netisr_enable); SYSCTL_INT(_net_isr, OID_AUTO, count, CTLFLAG_RD, &isrstat.isrs_count, 0, ""); |