Subject: Re: NetBSD and Xen 2.0
To: Christian Limpach <Christian.Limpach@cl.cam.ac.uk>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: port-xen
Date: 12/14/2004 16:40:34
On Tue, Dec 14, 2004 at 03:17:03PM +0000, Christian Limpach wrote:
> > The pseudo ethernet device has an entry in /dev/ for this from userland.
> > Nothing prevent opening his device in kernel and do I/O on it, as does
> > raidframe, ccd, cgd, ...
> 
> If you want to get good performance you need to be able to pass mbufs
> directly to the driver and control the drivers memory allocation for
> received packets.

You mean, to avoid a copy ? Yes, this may be required. But in this case,
it's only a variant of the pseudo ethernet device, which can share some code.
Anyway, it's something I'll have to look at later. First get a dom0 NetBSD
kernel to boot and probe PCI devices :)

--
Manuel Bouyer, LIP6, Universite Paris VI.           Manuel.Bouyer@lip6.fr
     NetBSD: 26 ans d'experience feront toujours la difference
--