Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756543AbZKQWla (ORCPT ); Tue, 17 Nov 2009 17:41:30 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756534AbZKQWl3 (ORCPT ); Tue, 17 Nov 2009 17:41:29 -0500 Received: from moutng.kundenserver.de ([212.227.126.186]:56157 "EHLO moutng.kundenserver.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1756003AbZKQWl0 (ORCPT ); Tue, 17 Nov 2009 17:41:26 -0500 From: Arnd Bergmann To: linux-kernel@vger.kernel.org Cc: netdev@vger.kernel.org, David Miller , Stephen Hemminger , Herbert Xu , Patrick McHardy , Patrick Mullaney , "Eric W. Biederman" , Edge Virtual Bridging , Anna Fischer , bridge@lists.linux-foundation.org, virtualization@linux-foundation.com, Jens Osterkamp , Gerhard Stenzel , Arnd Bergmann Subject: [PATCH 0/3] macvlan: add vepa and bridge mode Date: Tue, 17 Nov 2009 22:39:07 +0000 Message-Id: <1258497551-25959-1-git-send-email-arnd@arndb.de> X-Mailer: git-send-email 1.6.3.3 X-Provags-ID: V01U2FsdGVkX1+5g+6C6szqDfayZ1WzWOy6U9SFjKFnqkRMWiv BMnWhZlNRx1F5RSBwkTT/LOo7JsNpkzVMrHva/XQ1ampJf0bSi 6zZ5X+wqISMkxWEaSndkg== Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1836 Lines: 47 This is based on an earlier patch from Eric Biederman adding forwarding between macvlans. I extended his approach to allow the administrator to choose the mode for each macvlan, and to implement a functional VEPA between macvlan. Still missing from this is support for communication between the lower device that the macvlans are based on. This would be extremely useful but as others have found out before me requires significant changes not only to macvlan but also to the common transmit path. I've seen one panic during testing this that I still need to track down, but it generally does what is advertised. I've tested VEPA operation with the hairpin support added to the bridge driver by Anna Fischer. My current plan is to submit this for inclusion in 2.6.33 when people are happy with it and I tracked down any remaining bugs, and possibly to do the communication with the lower device one release later. Arnd <>< --- Arnd Bergmann (3): macvlan: implement VEPA and private mode macvlan: export macvlan mode through netlink iplink: add macvlan options for bridge mode Eric Biederman (1): macvlan: Reflect macvlan packets meant for other macvlan devices linux/drivers/net/macvlan.c | 170 +++++++++++++++++++++++++++++++++----- linux/include/linux/if_link.h | 15 +++ 2 files changed, 161 insertions(+), 24 deletions(-) iproute2/include/linux/if_link.h | 15 +++ iproute2/ip/Makefile | 3 +- iproute2/ip/iplink_macvlan.c | 93 ++++++++++++++++++ 3 files changed, 110 insertions(+), 1 deletions(-) create mode 100644 ip/iplink_macvlan.c -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/