summaryrefslogtreecommitdiff
path: root/sys/net/if_pppoe.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2015-04-10 13:58:21 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2015-04-10 13:58:21 +0000
commit250513adf3ae568c024bafdf3e845f1276740ad4 (patch)
tree77683efc78bd0dba266f3daef8e373a90f87e85d /sys/net/if_pppoe.h
parenteef7b0919e36bece6c9cf91b19a2f5062a1acaa2 (diff)
replace the use of ifqueues for most input queues serviced by netisr
with niqueues. this change is so big because there's a lot of code that takes pointers to different input queues (eg, ether_input picks between ipv4, ipv6, pppoe, arp, and mpls input queues) and falls through to code to enqueue packets against the pointer. if i changed only one of the input queues id have to add sepearate code paths, one for ifqueues and one for niqueues in each of these places by flipping all these input queues at once i can keep the currently common code common. testing by mpi@ sthen@ and rafael zalamena ok mpi@ sthen@ claudio@ henning@
Diffstat (limited to 'sys/net/if_pppoe.h')
-rw-r--r--sys/net/if_pppoe.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/net/if_pppoe.h b/sys/net/if_pppoe.h
index 8251cf0f369..4aa6ad2aae7 100644
--- a/sys/net/if_pppoe.h
+++ b/sys/net/if_pppoe.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: if_pppoe.h,v 1.5 2008/08/28 13:10:54 brad Exp $ */
+/* $OpenBSD: if_pppoe.h,v 1.6 2015/04/10 13:58:20 dlg Exp $ */
/* $NetBSD: if_pppoe.h,v 1.5 2003/11/28 08:56:48 keihan Exp $ */
/*
@@ -66,8 +66,8 @@ struct pppoeconnectionstate {
#ifdef _KERNEL
-extern struct ifqueue pppoediscinq;
-extern struct ifqueue pppoeinq;
+extern struct niqueue pppoediscinq;
+extern struct niqueue pppoeinq;
void pppoeintr(void);