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