openvswitch: Allow OVS_USERSPACE_ATTR_USERDATA to be variable length.
authorBen Pfaff <blp@nicira.com>
Sat, 16 Feb 2013 01:29:22 +0000 (17:29 -0800)
committerJesse Gross <jesse@nicira.com>
Sat, 23 Feb 2013 00:29:22 +0000 (16:29 -0800)
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@vmware.com>
Signed-off-by: Ben Pfaff <blp@nicira.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>

No differences found