A dummy Ethernet driver

gnn at freebsd.org gnn at freebsd.org
Thu Mar 22 03:53:36 UTC 2007


At Wed, 21 Mar 2007 23:19:36 +0300,
Yar Tikhiy wrote:
> 
> Hi folks,
> 
> We have disc(4) for testing and benchmarking.  However, it's a
> loopback driver, so such things as vlan or bridge cannot attach to
> it.  I needed a similar dummy interface mimicing Ethernet and failed
> to find a ready solution.  I tried ng_eiface+ng_hole, but it just
> couldn't keep up with gigabit rates.  So I knocked up a new dummy
> driver, edsc(4): Ethernet discard interface.  I'd like to commit it
> if there are no objections.  Then it could also serve as the bones
> of an Ethernet driver for those who study kernel internals or want
> to write a new driver.
> 
Works for me and it ought to be able to be the "documentation"
interface as well.  As in we try to document the (pick expletive) out
of it.  

Best,
George


More information about the freebsd-net mailing list