Add OXM data to mf_fields
authorSimon Horman <horms@verge.net.au>
Wed, 25 Apr 2012 01:18:30 +0000 (10:18 +0900)
committerBen Pfaff <blp@nicira.com>
Wed, 25 Apr 2012 17:04:04 +0000 (10:04 -0700)
commit36f3999b707b5456bacd780d0f9acdac85107f60
treeef4be8134274794cb3857a43f3c663221a643df7
parentcb6e2b01787b71c39678e9ef98e3b9374a7db378
Add OXM data to mf_fields

Add oxm_name and oxm_header elements to struct mf_field
and populate those entries for fields that are present
in both NXM and the OXM basic class.

This implementation was suggested by Ben Pfaff.

This does not address any possible differences in the NXM and
OXM basic class fields, for instance different maskability.
That may be addressed later as needed.

Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Ben Pfaff <blp@nicira.com>
lib/meta-flow.c
lib/meta-flow.h