diff options
author | bz <bz@FreeBSD.org> | 2009-07-26 12:20:07 +0000 |
---|---|---|
committer | bz <bz@FreeBSD.org> | 2009-07-26 12:20:07 +0000 |
commit | 83f14954336214a21ec99ababda1db295709b7b8 (patch) | |
tree | 668aafe1f59a53465c1563f7a85853b908c5e0f5 /sys/modules/if_epair | |
parent | 3aec900b26d9617b51a15ddcb14a13ff18cd1c00 (diff) | |
download | FreeBSD-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/modules/if_epair')
-rw-r--r-- | sys/modules/if_epair/Makefile | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/sys/modules/if_epair/Makefile b/sys/modules/if_epair/Makefile new file mode 100644 index 0000000..aaffa1f --- /dev/null +++ b/sys/modules/if_epair/Makefile @@ -0,0 +1,8 @@ +# $FreeBSD$ + +.PATH: ${.CURDIR}/../../net + +KMOD= if_epair +SRCS= if_epair.c + +.include <bsd.kmod.mk> |