From owner-freebsd-net@FreeBSD.ORG Wed Mar 21 22:46:46 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 2D4F216A414 for ; Wed, 21 Mar 2007 22:46:46 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outZ.internet-mail-service.net (outZ.internet-mail-service.net [216.240.47.249]) by mx1.freebsd.org (Postfix) with ESMTP id 1A0B813C48A for ; Wed, 21 Mar 2007 22:46:45 +0000 (UTC) (envelope-from julian@elischer.org) Received: from mx0.idiom.com (HELO idiom.com) (216.240.32.160) by out.internet-mail-service.net (qpsmtpd/0.32) with ESMTP; Wed, 21 Mar 2007 15:04:46 -0700 Received: from [10.251.22.38] (nat.ironport.com [63.251.108.100]) by idiom.com (Postfix) with ESMTP id CF031125AE4; Wed, 21 Mar 2007 15:32:49 -0700 (PDT) Message-ID: <4601B28B.7090204@elischer.org> Date: Wed, 21 Mar 2007 15:32:43 -0700 From: Julian Elischer User-Agent: Thunderbird 1.5.0.10 (Macintosh/20070221) MIME-Version: 1.0 To: Luigi Rizzo References: <20070321201936.GN41715@comp.chem.msu.su> <20070321132306.A1936@xorpc.icir.org> In-Reply-To: <20070321132306.A1936@xorpc.icir.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Yar Tikhiy , 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 22:46:46 -0000 Luigi Rizzo wrote: > 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. > I think the question I have is why eiface couldn't cope..? I think it should have so I'll look at it.. > 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" > _______________________________________________ > 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"