metaflow: Allow fields to be marked as variable length.
authorJesse Gross <jesse@nicira.com>
Thu, 7 May 2015 00:57:03 +0000 (17:57 -0700)
committerJesse Gross <jesse@nicira.com>
Thu, 25 Jun 2015 18:08:57 +0000 (11:08 -0700)
commitf047e8468984c35177fb0932116f302b29221550
tree2a12d5525b4f876c986fd8feab2beffb61714ffe
parent3ee6026aba255e9d29b802aca6a80c09eaadf9fd
metaflow: Allow fields to be marked as variable length.

Until now, all fields that OVS can match against have been fixed
size (variable length headers can be skipped during parsing but
the match is fixed). However, Geneve options can vary in size
so we must not require the size of these fields to be known
at compile time.

This allows data types to be annotated with not only their size
but whether the field can be smaller than that. The following
patches will change OpenFlow parsing based on that.

Signed-off-by: Jesse Gross <jesse@nicira.com>
Acked-by: Ben Pfaff <blp@nicira.com>
build-aux/extract-ofp-fields
lib/meta-flow.h