From mboxrd@z Thu Jan 1 00:00:00 1970 From: Patrick Mullaney Subject: [PATCH 0/3] macvlan: support for guest vm direct rx/tx Date: Fri, 13 Nov 2009 14:55:06 -0500 Message-ID: <20091113195201.11184.25766.stgit@mimic.site> References: <4AFAD86A.9070506@trash.net> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Cc: alacrityvm-devel@lists.sourceforge.net, linux-kernel@vger.kernel.org, arnd@arndb.de, bridge@lists.linux-foundation.org To: kaber@trash.net, netdev@vger.kernel.org Return-path: In-Reply-To: <4AFAD86A.9070506@trash.net> Sender: netdev-owner@vger.kernel.org List-ID: (Applies to net-2.6.git/master:1dfc5827) These patches allow other modules to override the receive path of a macvlan. This is being done to support guest VMs operating directly over a macvlan. Routines to allow creation and deletion of macvlans from in-kernel modules were also exposed/added. --- Patrick Mullaney (3): macvlan: allow in-kernel modules to create and manage macvlan devices macvlan: derived from Arnd Bergmann's patch for macvtap netdevice: provide common routine for macvlan and vlan operstate management drivers/net/macvlan.c | 135 ++++++++++++++++++++++----------------------- include/linux/macvlan.h | 41 ++++++++++++++ include/linux/netdevice.h | 3 + net/8021q/vlan.c | 29 +--------- net/core/dev.c | 27 +++++++++ 5 files changed, 142 insertions(+), 93 deletions(-) create mode 100644 include/linux/macvlan.h