[ovs-dev] [PATCH 3/3] datapath: Renumber non-upstreamable interfaces.

Jesse Gross jesse at nicira.com
Tue Nov 8 00:00:55 UTC 2011


On Mon, Nov 7, 2011 at 11:01 AM, Ben Pfaff <blp at nicira.com> wrote:
> On Sun, Nov 06, 2011 at 12:34:25PM -0800, Jesse Gross wrote:
>> The interfaces related to tunneling aren't finalized enough to be
>> sent upstream but we also still want to retain them in the OVS
>> repository.  Since userspace should be compatible with both versions
>> of the kernel, this renumbers the tunnel interfaces to high numbers
>> so that we can continue to add new interfaces without conflict.
>>
>> Signed-off-by: Jesse Gross <jesse at nicira.com>
>
> We have arrays sized on some of these values.  I have a series out
> that uses policy parsing for key attributes in userspace, so this is
> going to require changes in that series, and I was planning to do the
> same thing in the kernel.  However I don't see a better way to do it
> yet, so...

This definitely results in some unfortunate waste of space though I
don't see really see an alternative.  The thing that I was most
concerned about was kernel stack space, which at the moment, at least,
this doesn't affect.  What would you change in response to this?



More information about the dev mailing list