From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Michael S. Tsirkin" Subject: Re: Does macvtap support host to guest communication? Date: Tue, 26 Apr 2011 12:34:37 +0300 Message-ID: <20110426093437.GA6836@redhat.com> References: <4DABD5BC.2040204@gmail.com> <201104181705.39772.arnd@arndb.de> <4DAC589D.8040204@gmail.com> <201104191414.25203.arnd@arndb.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Asias He , Ingo Molnar , Jason Wang , Pekka Enberg , Amos Kong , kvm@vger.kernel.org To: Arnd Bergmann Return-path: Received: from mx1.redhat.com ([209.132.183.28]:47385 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752590Ab1DZJfH (ORCPT ); Tue, 26 Apr 2011 05:35:07 -0400 Content-Disposition: inline In-Reply-To: <201104191414.25203.arnd@arndb.de> Sender: kvm-owner@vger.kernel.org List-ID: On Tue, Apr 19, 2011 at 02:14:25PM +0200, Arnd Bergmann wrote: > On Monday 18 April 2011, Asias He wrote: > > > > > > If you want a regular device to be able to send to a macvlan > > > port, that would require at least these changes: > > > > > > * Add an option to put a plain device into macvlan-bridge mode > > > * Add support for that option into iproute2 > > > * Add a hook into dev_queue_xmit() to check for macvlan ports > > > > Cool! Arnd, mind to add this feature to macvtap? > > No, not after I just explained why I haven't done it before > and why it's so controversial. > > Also, I have moved on to other projects and am no longer doing > active development of the macvtap driver. I'd be happy to > pass on the ownership to someone else and help him or her extend > it. > > Arnd There's overlap between macvtap and some ongoing work on vhost-net. In particular there are efforts to add zero copy and multiqueue support. So if you like, apply something like the below: Signed-off-by: Michael S. Tsirkin diff --git a/MAINTAINERS b/MAINTAINERS index 649600c..28861a4 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -4034,6 +4034,13 @@ S: Maintained F: drivers/net/macvlan.c F: include/linux/if_macvlan.h +MACVTAP DRIVER +M: Michael S. Tsirkin +M: Arnd Bergmann +L: netdev@vger.kernel.org +S: Maintained +F: drivers/net/macvtap.c + MAN-PAGES: MANUAL PAGES FOR LINUX -- Sections 2, 3, 4, 5, and 7 M: Michael Kerrisk W: http://www.kernel.org/doc/man-pages