[ovs-git] Open vSwitch: datapath: Add support for namespace. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jan 30 15:33:55 UTC 2012


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  2a4999f3f33467f4fa22ed6e5b06350615fb2dac (commit)
      from  b5d29991cc4722aec39c346c3f82291581e92aa0 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 2a4999f3f33467f4fa22ed6e5b06350615fb2dac
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=2a4999f3f33467f4fa22ed6e5b06350615fb2dac
Author: Pravin B Shelar <pshelar at nicira.com>
		
datapath: Add support for namespace.
		
Following patch adds support for Linux net-namespace. Now we can
have independent OVS instance in each net-ns.
Namespace support requires 2.6.32 or newer kernel as per-net-ns
genl-sock is not available in earlier kernel.

Signed-off-by: Pravin B Shelar <pshelar at nicira.com>
Acked-by: Jesse Gross <jesse at nicira.com>

Bug #7821


-----------------------------------------------------------------------

Summary of changes:
 datapath/Modules.mk                               |    1 +
 datapath/brcompat.c                               |   55 +++--
 datapath/compat.h                                 |    8 +
 datapath/datapath.c                               |  244 +++++++++++++--------
 datapath/datapath.h                               |   37 +++-
 datapath/dp_notify.c                              |    9 +-
 datapath/dp_sysfs_dp.c                            |   13 +-
 datapath/dp_sysfs_if.c                            |   10 +-
 datapath/genl_exec.c                              |    2 +
 datapath/linux/Modules.mk                         |    3 +
 datapath/linux/compat/include/net/genetlink.h     |    4 +
 datapath/linux/compat/include/net/net_namespace.h |   84 +++++++-
 datapath/linux/compat/include/net/netns/generic.h |   12 +
 datapath/linux/compat/include/net/sock.h          |   15 ++
 datapath/linux/compat/net_namespace.c             |  108 +++++++++
 datapath/tunnel.c                                 |   52 +++---
 datapath/tunnel.h                                 |   22 ++-
 datapath/vport-capwap.c                           |  124 +++++++----
 datapath/{vport-internal_dev.h => vport-capwap.h} |   20 +-
 datapath/vport-gre.c                              |   14 +-
 datapath/vport-internal_dev.c                     |    9 +-
 datapath/vport-netdev.c                           |    2 +-
 datapath/vport-patch.c                            |   35 ++--
 datapath/vport.c                                  |   24 ++-
 datapath/vport.h                                  |   11 +-
 25 files changed, 669 insertions(+), 249 deletions(-)
 create mode 100644 datapath/linux/compat/include/net/netns/generic.h
 create mode 100644 datapath/linux/compat/include/net/sock.h
 create mode 100644 datapath/linux/compat/net_namespace.c
 copy datapath/{vport-internal_dev.h => vport-capwap.h} (69%)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list