<font face="trebuchet ms,sans-serif">Thank you for the reply Jesse. I was thinking of implementing it in the same way as Pravin implemented GRE64 i.e. without actually defining a separate protocol handler since NV-GRE is merely an extension to GRE. <br>
<br>I have been trying to keep myself up to date with what you guys have been doing. I hope to be able to contribute to it someday as well. At the moment, I am just coming to grips with OVS and trying out some tunneling protocols.<br>
<br>Anyways thanks for the clarification. Much appreciated.<br clear="all"><font color="#333333"><br>-Farrukh</font></font><div><font><span style="color:rgb(51,51,51)"><span style="font-family:trebuchet ms,sans-serif"></span></span></font><br>
</div><div class="gmail_quote">On Thu, Oct 4, 2012 at 8:57 PM, Jesse Gross <span dir="ltr"><<a href="mailto:jesse@nicira.com" target="_blank">jesse@nicira.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
You can't have multiple handlers for the same IP type because there<br>
would be no way to distinguish which one to hand packets to.<br>
<br>
However, NV-GRE shouldn't be implemented directly in the kernel<br>
anyways. There is a lot of tunnel work ongoing which is going to both<br>
completely change the tunnel code and make it very easy to support<br>
this type of use case.<br>
<br>
On Thu, Oct 4, 2012 at 2:43 AM, Farrukh Aftab Khan<br>
<div><div class="h5"><<a href="mailto:Farrukh.Khan@xflowresearch.com">Farrukh.Khan@xflowresearch.com</a>> wrote:<br>
> Thanks for the time. I found my mistake. Without the use of a key to<br>
> differentiate between the two tunnels, so if you give a different key to<br>
> both tunnels, you can set up as many as you would want.<br>
><br>
> But I do still have this query of GRE handler. Can it only be invoked once?<br>
> I try to use it for NVGRE but so far, haven't really succeeded in doing<br>
> that.<br>
><br>
> -Farrukh<br>
><br>
><br>
><br>
> On Thu, Oct 4, 2012 at 11:26 AM, Farrukh Aftab Khan<br>
> <<a href="mailto:Farrukh.Khan@xflowresearch.com">Farrukh.Khan@xflowresearch.com</a>> wrote:<br>
>><br>
>> Hey! Some help here would be appreciated. I am using OVS-1.7.1 on Ubuntu<br>
>> 11.10. I am trying to add support for NVGRE in OVS. I took a lot of help<br>
>> from Pravin Shelar's patch for 64bit GRE support.<br>
>><br>
>> I had a couple of queries in this regard:<br>
>><br>
>> 1) Is is possible to register more than one GRE handler? When I try to set<br>
>> up the NVGRE tunnel, it throws me an exception of: "Cannot register GRE<br>
>> handler". Since NVGRE is an extension to GRE, I am trying to register the<br>
>> same handler.<br>
>><br>
>> 2) Is is even possible to set up more than one interface of type GRE? I<br>
>> tried to do that but somehow the 2nd one was not working.<br>
>><br>
>> I tried using 'dmesg' but there were no handler issues in the 2nd<br>
>> scenario. Am I missing something regarding the intrinsic functionality of<br>
>> OVS? Any sort of heads up in this regard would be appreciated.<br>
>><br>
>> Regards.<br>
>><br>
>> --Farrukh<br>
><br>
><br>
><br>
</div></div>> _______________________________________________<br>
> dev mailing list<br>
> <a href="mailto:dev@openvswitch.org">dev@openvswitch.org</a><br>
> <a href="http://openvswitch.org/mailman/listinfo/dev" target="_blank">http://openvswitch.org/mailman/listinfo/dev</a><br>
><br>
</blockquote></div><br>