datapath: Add support for namespace.
authorPravin B Shelar <pshelar@nicira.com>
Mon, 30 Jan 2012 14:56:54 +0000 (06:56 -0800)
committerPravin B Shelar <pshelar@nicira.com>
Mon, 30 Jan 2012 14:56:54 +0000 (06:56 -0800)
commit2a4999f3f33467f4fa22ed6e5b06350615fb2dac
tree0749f09b09a7547efffe43648456768438ba293a
parentb5d29991cc4722aec39c346c3f82291581e92aa0
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@nicira.com>
Acked-by: Jesse Gross <jesse@nicira.com>
Bug #7821
25 files changed:
datapath/Modules.mk
datapath/brcompat.c
datapath/compat.h
datapath/datapath.c
datapath/datapath.h
datapath/dp_notify.c
datapath/dp_sysfs_dp.c
datapath/dp_sysfs_if.c
datapath/genl_exec.c
datapath/linux/Modules.mk
datapath/linux/compat/include/net/genetlink.h
datapath/linux/compat/include/net/net_namespace.h
datapath/linux/compat/include/net/netns/generic.h [new file with mode: 0644]
datapath/linux/compat/include/net/sock.h [new file with mode: 0644]
datapath/linux/compat/net_namespace.c [new file with mode: 0644]
datapath/tunnel.c
datapath/tunnel.h
datapath/vport-capwap.c
datapath/vport-capwap.h [new file with mode: 0644]
datapath/vport-gre.c
datapath/vport-internal_dev.c
datapath/vport-netdev.c
datapath/vport-patch.c
datapath/vport.c
datapath/vport.h