From owner-freebsd-net@FreeBSD.ORG Wed Mar 21 20:23:21 2007 Return-Path: X-Original-To: net@freebsd.org Delivered-To: freebsd-net@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5D3A516A4E5 for ; Wed, 21 Mar 2007 20:23:21 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id 4A82813C4C9 for ; Wed, 21 Mar 2007 20:23:21 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l2LKN6t6001976; Wed, 21 Mar 2007 12:23:06 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l2LKN6PY001975; Wed, 21 Mar 2007 13:23:06 -0700 (PDT) (envelope-from rizzo) Date: Wed, 21 Mar 2007 13:23:06 -0700 From: Luigi Rizzo To: Yar Tikhiy Message-ID: <20070321132306.A1936@xorpc.icir.org> References: <20070321201936.GN41715@comp.chem.msu.su> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20070321201936.GN41715@comp.chem.msu.su>; from yar@comp.chem.msu.su on Wed, Mar 21, 2007 at 11:19:36PM +0300 Cc: net@freebsd.org Subject: Re: A dummy Ethernet driver X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Mar 2007 20:23:21 -0000 On Wed, Mar 21, 2007 at 11:19:36PM +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. seems like a good idea. cheers luigi > -- > Yar > _______________________________________________ > freebsd-net@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-net > To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"