diff options
author | rwatson <rwatson@FreeBSD.org> | 2005-10-04 07:59:28 +0000 |
---|---|---|
committer | rwatson <rwatson@FreeBSD.org> | 2005-10-04 07:59:28 +0000 |
commit | 21500f458bf4c42509281e45f92b8466ea7205d5 (patch) | |
tree | a81fce6b46b43af78f47931b51a9af7ac14fd294 /sys/net/netisr.c | |
parent | 510b541a29711e776297354bf437b1b923fedb3a (diff) | |
download | FreeBSD-src-21500f458bf4c42509281e45f92b8466ea7205d5.zip FreeBSD-src-21500f458bf4c42509281e45f92b8466ea7205d5.tar.gz |
Rename net.isr.enable to net.isr.dispatch.
No compatibility code is provided, as this will be the production name
as of 6.0.
MFC after: 3 days
Requested by: scottl
Diffstat (limited to 'sys/net/netisr.c')
-rw-r--r-- | sys/net/netisr.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/net/netisr.c b/sys/net/netisr.c index c506e31..3ef16b8 100644 --- a/sys/net/netisr.c +++ b/sys/net/netisr.c @@ -200,10 +200,10 @@ static struct isrstat isrstat; 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); +static int netisr_direct = 0; +SYSCTL_INT(_net_isr, OID_AUTO, direct, CTLFLAG_RW, + &netisr_direct, 0, "enable direct dispatch"); +TUNABLE_INT("net.isr.direct", &netisr_direct); SYSCTL_INT(_net_isr, OID_AUTO, count, CTLFLAG_RD, &isrstat.isrs_count, 0, ""); @@ -265,7 +265,7 @@ netisr_dispatch(int num, struct mbuf *m) * between multiple places in the system (e.g. IP * dispatched from interfaces vs. IP queued from IPSec). */ - if (netisr_enable && (ni->ni_flags & NETISR_MPSAFE)) { + if (netisr_direct && (ni->ni_flags & NETISR_MPSAFE)) { isrstat.isrs_directed++; /* * NB: We used to drain the queue before handling |