On Wed, Nov 7, 2012 at 8:58 AM, Jesse Gross <[email protected]> wrote:

> On Tue, Nov 6, 2012 at 8:04 PM, Pravin Shelar <[email protected]> wrote:
>
>>
>>
>>
>> On Tue, Nov 6, 2012 at 6:32 PM, Jesse Gross <[email protected]> wrote:
>>
>>> If a key used to find a port then we mark it as being not present
>>> (previously this was accomplished by setting it to zero).  However,
>>> we also still pass the key to userspace which could lead to an
>>> inconsistent state.  This also zeros out the key as before in order
>>> to make our reported results consistent.
>>>
>>>
>> I am not sure why is it inconsistent, zeroing key can not mean it is not
>> present since zero is valid key. only key_present flag can be used for
>> check and I think it is set correctly.
>>
>
> It's possible to have a key that is present and zero but it's illogical to
> have a value for a key that nominally doesn't exist.
>
I think key_present flags that matters and value of key not. key value
least can be used for debugging as we getting it for free.

either ways it does not matter much.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to