On Tue, Apr 24, 2012 at 10:32:55AM +0900, Simon Horman wrote: > 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 <ho...@verge.net.au> > --- > lib/meta-flow.c | 36 +++++++++++++++++++++++++++++++++--- > lib/meta-flow.h | 9 +++++++++ > 2 files changed, 42 insertions(+), 3 deletions(-) > > diff --git a/lib/meta-flow.c b/lib/meta-flow.c > index 84ba88b..1a85f00 100644 > --- a/lib/meta-flow.c > +++ b/lib/meta-flow.c > @@ -62,6 +62,7 @@ static const struct mf_field mf_fields[MFF_N_IDS] = { > MFP_NONE, > false, > NXM_OF_IN_PORT, "NXM_OF_IN_PORT", > + OXM_OF_IN_PHY_PORT, "OXM_OF_IN_PHY_PORT",
Sorry, the above line should be: OXM_OF_IN_PORT, "OXM_OF_IN_PORT", I will repost. _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev