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.
This commit is contained in:
rwatson 2003-10-02 02:54:10 +00:00
parent 22637b0692
commit 59cf1a9e0c

View File

@ -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, "");