Re: [RFC] macvlan: add tap device backend

2009-12-14 Thread Arnd Bergmann
On Monday 14 December 2009, Patrick McHardy wrote: > > + classdev = device_create(macvtap_class, &dev->dev, devt, > > + dev, "tap%d", dev->ifindex); > > + if (IS_ERR(classdev)) { > > + err = PTR_ERR(classdev); > > + macvtap_del_queues(dev

Re: [RFC] macvlan: add tap device backend

2009-12-14 Thread Patrick McHardy
Arnd Bergmann wrote: > +static int macvtap_newlink(struct net *src_net, > +struct net_device *dev, > +struct nlattr *tb[], > +struct nlattr *data[]) > +{ > + struct device *classdev; > + dev_t devt; > + int err; > +

Re: [RFC] macvlan: add tap device backend

2009-12-14 Thread David Miller
From: Arnd Bergmann Date: Mon, 14 Dec 2009 13:00:36 +0100 > c) prepare a combined patch for net-next.git, or This is probably fine. I'll be taking patches into net-next-2.6 right after Linus releases 2.6.33-rc1. ___ Virtualization mailing list Virtual

Re: [RFC] macvlan: add tap device backend

2009-12-14 Thread Arnd Bergmann
On Saturday 12 December 2009, Herbert Xu wrote: > On Thu, Dec 03, 2009 at 06:52:00PM +0100, Arnd Bergmann wrote: > > This is a second prototype of a new interface into the network > > stack, to eventually replace tun/tap and the bridge driver > > in certain virtual machine setups. The code has chan

Re: [RFC] macvlan: add tap device backend

2009-12-12 Thread Herbert Xu
On Thu, Dec 03, 2009 at 06:52:00PM +0100, Arnd Bergmann wrote: > This is a second prototype of a new interface into the network > stack, to eventually replace tun/tap and the bridge driver > in certain virtual machine setups. The code has changed > significantly, but the goals still remain. The id

[RFC] macvlan: add tap device backend

2009-12-03 Thread Arnd Bergmann
This is a second prototype of a new interface into the network stack, to eventually replace tun/tap and the bridge driver in certain virtual machine setups. The code has changed significantly, but the goals still remain. Background -- The 'Edge Virtual Bridging' working group is discussing