<div dir="ltr"><div><div>Thanks, I will address this point in V2 patch. <br><br></div>I agree with you to remove it from the other locations, but want to make sure you meant within the scope of kernel code, right? <br></div>
<br>Andy <br></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jun 6, 2013 at 4:41 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">It looks good - I might also add that if the mask attribute is not<br>
specified at all then the flow is exact match. I agree that it is<br>
probably clearer to not use the term &quot;mega flow&quot; here but we should<br>
then also remove it from the other locations in the code as well.<br>
<div class="HOEnZb"><div class="h5"><br>
On Thu, Jun 6, 2013 at 3:15 PM, Andy Zhou &lt;<a href="mailto:azhou@nicira.com">azhou@nicira.com</a>&gt; wrote:<br>
&gt; How about the following change? I choose not to use the term &quot;mega flow&quot;<br>
&gt; here to avoid confusing outside people.<br>
&gt;<br>
&gt; diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h<br>
&gt; index 6e71b4c..203c7eb 100644<br>
&gt; --- a/include/linux/openvswitch.h<br>
&gt; +++ b/include/linux/openvswitch.h<br>
&gt; @@ -410,9 +410,11 @@ struct ovs_key_nd {<br>
&gt;<br>
&gt;   * @OVS_FLOW_ATTR_CLEAR: If present in a %OVS_FLOW_CMD_SET request, clears<br>
&gt; the<br>
&gt;   * last-used time, accumulated TCP flags, and statistics for this flow.<br>
&gt;   * Otherwise ignored in requests.  Never present in notifications.<br>
&gt; - * @OVS_FLOW_ATTR_MASK: Optional Nested %OVS_KEY_ATTR_* attributes<br>
&gt; specifying<br>
&gt; - * the mega flow mask. OVS_KEY_ATTR_* attributes specified only in<br>
&gt; OVS_FLOW_ATT<br>
&gt; - * but not here will be treated as wildcard field.<br>
&gt; + * @OVS_FLOW_ATTR_MASK: Nested %OVS_KEY_ATTR_* attributes specifying the<br>
&gt; + * mask bits for wildcarded flow match. Mask bit value &#39;1&#39; specifies exact<br>
&gt; + * match with corresponding flow key bit, while mask bit value &#39;0&#39;<br>
&gt; specifies<br>
&gt; + * a wildcarded match. Omitting attribute is treated as wildcarding<br>
&gt; + * all corresponding fields. Optional for all requests.<br>
&gt;<br>
&gt;<br>
&gt; On Thu, Jun 6, 2013 at 10:46 AM, Jesse Gross &lt;<a href="mailto:jesse@nicira.com">jesse@nicira.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; On Wed, Jun 5, 2013 at 10:46 PM, Andy Zhou &lt;<a href="mailto:azhou@nicira.com">azhou@nicira.com</a>&gt; wrote:<br>
&gt;&gt; &gt; diff --git a/include/linux/openvswitch.h b/include/linux/openvswitch.h<br>
&gt;&gt; &gt; index e890fd8..6e71b4c 100644<br>
&gt;&gt; &gt; --- a/include/linux/openvswitch.h<br>
&gt;&gt; &gt; +++ b/include/linux/openvswitch.h<br>
&gt;&gt; &gt; @@ -410,6 +410,9 @@ struct ovs_key_nd {<br>
&gt;&gt; &gt;   * @OVS_FLOW_ATTR_CLEAR: If present in a %OVS_FLOW_CMD_SET request,<br>
&gt;&gt; &gt; clears the<br>
&gt;&gt; &gt;   * last-used time, accumulated TCP flags, and statistics for this flow.<br>
&gt;&gt; &gt;   * Otherwise ignored in requests.  Never present in notifications.<br>
&gt;&gt; &gt; + * @OVS_FLOW_ATTR_MASK: Optional Nested %OVS_KEY_ATTR_* attributes<br>
&gt;&gt; &gt; specifying<br>
&gt;&gt; &gt; + * the mega flow mask. OVS_KEY_ATTR_* attributes specified only in<br>
&gt;&gt; &gt; OVS_FLOW_ATTR_KEY<br>
&gt;&gt; &gt; + * but not here will be treated as wildcard field.<br>
&gt;&gt;<br>
&gt;&gt; Can you expand this comment a little bit? Outside of people that have<br>
&gt;&gt; been working on it, I&#39;m not sure that the term mega flow is really<br>
&gt;&gt; self-descriptive.<br>
&gt;<br>
&gt;<br>
</div></div></blockquote></div><br></div>