summaryrefslogtreecommitdiffstats
path: root/sys/net/netisr.h
diff options
context:
space:
mode:
authorbz <bz@FreeBSD.org>2009-07-26 12:20:07 +0000
committerbz <bz@FreeBSD.org>2009-07-26 12:20:07 +0000
commit83f14954336214a21ec99ababda1db295709b7b8 (patch)
tree668aafe1f59a53465c1563f7a85853b908c5e0f5 /sys/net/netisr.h
parent3aec900b26d9617b51a15ddcb14a13ff18cd1c00 (diff)
downloadFreeBSD-src-83f14954336214a21ec99ababda1db295709b7b8.zip
FreeBSD-src-83f14954336214a21ec99ababda1db295709b7b8.tar.gz
Update epair(4) to the new netisr implementation and polish
things a bit: - use dpcpu data to track the ifps with packets queued up, - per-cpu locking and driver flags - along with .nh_drainedcpu and NETISR_POLICY_CPU. - Put the mbufs in flight reference count, preventing interfaces from going away, under INVARIANTS as this is a general problem of the stack and should be solved in if.c/netisr but still good to verify the internal queuing logic. - Permit changing the MTU to virtually everythinkg like we do for loopback. Hook epair(4) up to the build. Approved by: re (kib)
Diffstat (limited to 'sys/net/netisr.h')
-rw-r--r--sys/net/netisr.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/net/netisr.h b/sys/net/netisr.h
index ec7df3a..0ab424f 100644
--- a/sys/net/netisr.h
+++ b/sys/net/netisr.h
@@ -50,6 +50,7 @@
#define NETISR_ETHER 9 /* ethernet input */
#define NETISR_IPV6 10
#define NETISR_NATM 11
+#define NETISR_EPAIR 12 /* if_epair(4) */
/*-
* Protocols express ordering constraints and affinity preferences by
OpenPOWER on IntegriCloud