[ovs-dev] [PATCH] Allow OVS_USERSPACE_ATTR_USERDATA to be variable length.

Ben Pfaff blp at nicira.com
Mon Feb 11 22:35:42 UTC 2013

On Mon, Feb 04, 2013 at 04:01:03PM -0800, Ben Pfaff wrote:
> Until now, the optional OVS_USERSPACE_ATTR_USERDATA attribute had to be
> exactly 64 bits long, if it was present.  However, 64 bits is not enough
> space to associate as much information with a flow as would be convenient
> for some userspace features now under development.  This commit generalizes
> the attribute, allowing it to be any length.
> This generalization is backward-compatible: if userspace only uses 64-bit
> attributes, then it will not see any change in behavior.
> CC: Romain Lenglet <rlenglet at vmware.com>
> Signed-off-by: Ben Pfaff <blp at nicira.com>
> ---
> This passes all of the unit tests.  I only build-tested the kernel
> module.

Off-list, Romain told me this looks good to him.

I need a review from at least Jesse, though.

More information about the dev mailing list