[ovs-dev] NVGRE support in OVS

Jesse Gross jesse at nicira.com
Thu Oct 4 15:57:42 UTC 2012

You can't have multiple handlers for the same IP type because there
would be no way to distinguish which one to hand packets to.

However, NV-GRE shouldn't be implemented directly in the kernel
anyways.  There is a lot of tunnel work ongoing which is going to both
completely change the tunnel code and make it very easy to support
this type of use case.

On Thu, Oct 4, 2012 at 2:43 AM, Farrukh Aftab Khan
<Farrukh.Khan at xflowresearch.com> wrote:
> Thanks for the time. I found my mistake. Without the use of a key to
> differentiate between the two tunnels, so if you give a different key to
> both tunnels, you can set up as many as you would want.
> But I do still have this query of GRE handler. Can it only be invoked once?
> I try to use it for NVGRE but so far, haven't really succeeded in doing
> that.
> -Farrukh
> On Thu, Oct 4, 2012 at 11:26 AM, Farrukh Aftab Khan
> <Farrukh.Khan at xflowresearch.com> wrote:
>> Hey! Some help here would be appreciated. I am using OVS-1.7.1 on Ubuntu
>> 11.10. I am trying to add support for NVGRE in OVS. I took a lot of help
>> from Pravin Shelar's patch for 64bit GRE support.
>> I had a couple of queries in this regard:
>> 1) Is is possible to register more than one GRE handler? When I try to set
>> up the NVGRE tunnel, it throws me an exception of: "Cannot register GRE
>> handler". Since NVGRE is an extension to GRE, I am trying to register the
>> same handler.
>> 2) Is is even possible to set up more than one interface of type GRE? I
>> tried to do that but somehow the 2nd one was not working.
>> I tried using 'dmesg' but there were no handler issues in the 2nd
>> scenario. Am I missing something regarding the intrinsic functionality of
>> OVS? Any sort of heads up in this regard would be appreciated.
>> Regards.
>> --Farrukh
> _______________________________________________
> dev mailing list
> dev at openvswitch.org
> http://openvswitch.org/mailman/listinfo/dev

More information about the dev mailing list