[ovs-git] Open vSwitch: gre: Temporary workarounds for GRE on Xen. (next)

dev at openvswitch.org dev at openvswitch.org
Mon Dec 7 21:12:13 UTC 2009

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, next has been updated
       via  1e50dd6c34222ac5a823a9064e0ba6cacbdbfa74 (commit)
       via  a740f0de5bec1e62dfa64173e6925e7872c66560 (commit)
       via  c3e3d2a1e72f2fec8580e7974f809846788bc8ff (commit)
       via  db12f2fc076e2d5bb5ae364e217ca2d84c8b0154 (commit)
      from  e9e2856e084383b4f93b371dfba8320b51d4cd03 (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 1e50dd6c34222ac5a823a9064e0ba6cacbdbfa74
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=1e50dd6c34222ac5a823a9064e0ba6cacbdbfa74
Author: Jesse Gross <jesse at nicira.com>
gre: Temporary workarounds for GRE on Xen.
Two issues exist that prevent GRE tunnels from working properly on
Xen: iptables rules and brcompatd.  The first issue is that GRE
traffic is not permitted by the default iptables rules.  The second
is that brcompatd removes ports from the configuration that it
believes do not exist, which causes GRE ports to be deleted before
they are created.

This commit avoids these issues though not in the most optimal way.
Better fixes will be forthcoming in the near future.

commit a740f0de5bec1e62dfa64173e6925e7872c66560
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=a740f0de5bec1e62dfa64173e6925e7872c66560
Author: Jesse Gross <jesse at nicira.com>
gre: Add userspace GRE support.
This implements the userspace portion of GRE on Linux. It communicates
with the kernel module to setup tunnels using either Netlink or ioctls
as appropriate based on the kernel version.

Significant portions of this commit were actually written by
Justin Pettit.

commit c3e3d2a1e72f2fec8580e7974f809846788bc8ff
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=c3e3d2a1e72f2fec8580e7974f809846788bc8ff
Author: Jesse Gross <jesse at nicira.com>
gre: Add kernel GRE support.
This implements the kernel portion of GRE on Linux.  It consists
of a backported module that provides the GRE capabilities of 2.6.32
plus bug fixes to kernels 2.6.18+.

commit db12f2fc076e2d5bb5ae364e217ca2d84c8b0154
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=db12f2fc076e2d5bb5ae364e217ca2d84c8b0154
Author: Jesse Gross <jesse at nicira.com>
gre: Compatibility with older Linux kernel versions.
The upcoming GRE kernel module compiles on a range (2.6.18+) of
Linux kernel versions.  The module expects the kernel headers to
look like newer versions.  Where older and newer versions of the
kernel differ this commit implements shims to paper over the changes.


Summary of changes:
 acinclude.m4                                       |   11 +
 datapath/linux-2.6/Makefile.main.in                |    1 +
 datapath/linux-2.6/Modules.mk                      |   23 +
 datapath/linux-2.6/compat-2.6/include/linux/if.h   |   13 +
 .../linux-2.6/compat-2.6/include/linux/if_ether.h  |   13 +
 datapath/linux-2.6/compat-2.6/include/linux/in.h   |   16 +
 .../compat-2.6/include/linux/inetdevice.h          |   14 +
 .../linux-2.6/compat-2.6/include/linux/netdevice.h |   23 +
 .../linux-2.6/compat-2.6/include/linux/skbuff.h    |   24 +
 datapath/linux-2.6/compat-2.6/include/net/dst.h    |   18 +
 datapath/linux-2.6/compat-2.6/include/net/ipip.h   |   93 +
 .../compat-2.6/include/net/net_namespace.h         |   26 +
 .../compat-2.6/include/net/netns/generic.h         |   16 +
 datapath/linux-2.6/compat-2.6/include/net/route.h  |   14 +
 datapath/linux-2.6/compat-2.6/ip_gre.c             | 1877 ++++++++++++++++++++
 .../linux-2.6/compat-2.6/net_namespace-ip_gre.c    |   49 +
 debian/openvswitch-switch.init                     |   16 +
 include/openvswitch/automake.mk                    |    1 +
 include/openvswitch/gre.h                          |   75 +
 lib/netdev-linux.c                                 |  490 +++++-
 lib/netdev-provider.h                              |    4 +
 lib/netdev.c                                       |   29 +-
 vswitchd/bridge.c                                  |   50 +-
 vswitchd/ovs-brcompatd.c                           |    4 +-
 xenserver/etc_init.d_vswitch                       |    6 +
 xenserver/vswitch-xen.spec                         |    3 +
 26 files changed, 2855 insertions(+), 54 deletions(-)
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/if.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/if_ether.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/in.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/linux/inetdevice.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/net/dst.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/net/ipip.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/net/net_namespace.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/net/netns/generic.h
 create mode 100644 datapath/linux-2.6/compat-2.6/include/net/route.h
 create mode 100644 datapath/linux-2.6/compat-2.6/ip_gre.c
 create mode 100644 datapath/linux-2.6/compat-2.6/net_namespace-ip_gre.c
 create mode 100644 include/openvswitch/gre.h

Open vSwitch

More information about the git mailing list