[ovs-dev] [tunid64 v3 8/8] Expand tunnel IDs from 32 to 64 bits.

Jesse Gross jesse at nicira.com
Fri Dec 10 00:36:22 UTC 2010


On Thu, Dec 9, 2010 at 2:48 PM, Ben Pfaff <blp at nicira.com> wrote:
> We have a need to identify tunnels with keys longer than 32 bits.  This
> commit adds basic datapath and OpenFlow support for such keys.  It doesn't
> actually add any tunnel protocols that support 64-bit keys, so this is not
> very useful yet.
>
> The 'arg' member of struct odp_msg had to be expanded to 64-bits also,
> because it sometimes contains a tunnel ID.  This member also contains the
> argument passed to ODPAT_CONTROLLER, so I expanded that action's argument
> to 64 bits also so that it can use the full width of the expanded 'arg'.
> Userspace doesn't take advantage of the new space though (it was only
> using 16 bits anyhow).
>
> This commit has been tested only to the extent that it doesn't disrupt
> basic Open vSwitch operation.  I have not tested it with tunnel traffic.
>
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> Feature #3976.

Acked-by: Jesse Gross <jesse at nicira.com>




More information about the dev mailing list