On Tue, Jul 01, 2014 at 05:52:23PM -0700, Jesse Gross wrote:
> On Tue, Jul 1, 2014 at 5:10 PM, Ben Pfaff <b...@nicira.com> wrote:
> > On Tue, Jul 01, 2014 at 05:00:45PM -0700, Jesse Gross wrote:
> >> On Tue, Jul 1, 2014 at 3:49 PM, Ben Pfaff <b...@nicira.com> wrote:
> >> > I found when reconfiguring my kernel that if I turned on NET_IPGRE, GRE
> >> > tunnels no longer worked.  (I might not understand this issue.)
> >> >
> >> > Signed-off-by: Ben Pfaff <b...@nicira.com>
> >> > ---
> >> >  INSTALL |    5 +++--
> >> >  1 file changed, 3 insertions(+), 2 deletions(-)
> >> >
> >> > diff --git a/INSTALL b/INSTALL
> >> > index bfd053b..8b2097f 100644
> >> > --- a/INSTALL
> >> > +++ b/INSTALL
> >> > @@ -67,8 +67,9 @@ install the following:
> >> >        obsolete and not needed.)
> >> >
> >> >        To use GRE tunneling on Linux 2.6.37 or newer, kernel support
> >> > -      for GRE must be compiled in or available as a module
> >> > -      (CONFIG_NET_IPGRE_DEMUX).
> >> > +      for GRE demultiplexing (CONFIG_NET_IPGRE_DEMUX) must be compiled
> >> > +      in or available as a module.  GRE tunnels over IP (NET_IPGRE)
> >> > +      must not be compiled in and must not be loaded as a module.
> >>
> >> Hmm, I don't think that this statement is generally true (on at least
> >> new kernels, OVS should be able to peacefully coexist with other
> >> kernel components). What kernel version are you using?
> >
> > Upstream 3.2, no local changes.  I don't have any particular love for
> > that version or anything, it's just the version I've been using for
> > ages.  .config attached.
> >
> > With NET_IPGRE built in, trying to use GRE fails:
> >
> >      rpl_gre_cisco_register: cannot register gre_cisco protocol handler
> >      openvswitch: cannot register gre protocol handler
> >
> > With NET_IPGRE configured as a module (and not loaded), GRE works OK.
> 
> OK, that's expected. I think that if we add "on kernels before 3.11"
> to the end of your original message then it is accurate.

OK, like this?

--8<--------------------------cut here-------------------------->8--

From: Ben Pfaff <b...@nicira.com>
Date: Wed, 2 Jul 2014 11:52:41 -0700
Subject: [PATCH] INSTALL: Mention conflict with NET_IPGRE setting before
 Linux 3.11.

I found when reconfiguring my kernel that if I turned on NET_IPGRE, GRE
tunnels no longer worked.

Signed-off-by: Ben Pfaff <b...@nicira.com>
---
 INSTALL |    6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/INSTALL b/INSTALL
index bfd053b..ede5488 100644
--- a/INSTALL
+++ b/INSTALL
@@ -67,8 +67,10 @@ install the following:
       obsolete and not needed.)
 
       To use GRE tunneling on Linux 2.6.37 or newer, kernel support
-      for GRE must be compiled in or available as a module
-      (CONFIG_NET_IPGRE_DEMUX).
+      for GRE demultiplexing (CONFIG_NET_IPGRE_DEMUX) must be compiled
+      in or available as a module.  Also, on kernels before 3.11, the
+      ip_gre module, for GRE tunnels over IP (NET_IPGRE), must not be
+      loaded or compiled in.
 
       To configure HTB or HFSC quality of service with Open vSwitch,
       you must enable the respective configuration options.
-- 
1.7.10.4

_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to