[ovs-dev] [PATCH 7/7] datapath: Add support for Geneve tunneling.

Jesse Gross jesse at nicira.com
Wed Jun 11 22:18:55 UTC 2014


On Wed, Jun 11, 2014 at 1:58 PM, Thomas Graf <tgraf at suug.ch> wrote:
> On 06/11/14 at 11:23am, Jesse Gross wrote:
>> These two pieces are actually related.
>>
>> All of the operations during flow lookup (flow extraction, masking,
>> hashing, and comparison) are now variable length to the relevant data.
>> For non-Geneve packets, the option field won't be part of the
>> significant portion of the flow and the memory should be totally
>> untouched. The reason for putting the options at the end of the array
>> is so that even Geneve packets can take advantage of this optimization
>> if less than the maximum size of options are used.
>>
>> I actually did look into breaking the flow key up but the result was
>> messy and arguably worse since it means that the optimizations that we
>> already have might not just work.
>
> Thanks for this excellent explanation.

Thanks for looking it over. I added a comment to at least explain the
options array.



More information about the dev mailing list