This is an alternative proposal to the OXM VLAN patches that Simon sent earlier beginning here: http://openvswitch.org/pipermail/dev/2012-July/019329.html
Instead of trying to make single metaflow fields look like both OF1.0 and OF1.2, it uses separate ones for each version. Ben Pfaff (3): meta-flow: Rename MFF_VLAN_VID->MFF_DL_VLAN, MFF_VLAN_PCP->MFF_DL_VLAN_PCP. flow: Rename flow_set_vlan_vid() to flow_set_dl_vlan(). meta-flow: Add OF1.2-like MFF_VLAN_VID and MFF_VLAN_PCP. Simon Horman (4): OXM: Add encoding of VLAN VID and VLAN PCP OXM: Add VLAN VID as a prerequisite for VLAN PCP tests: OXM VLAN match encoding and decoding OXM: Add tests for masked VLAN VID match lib/classifier.c | 27 ++++++++++++++++++- lib/classifier.h | 3 ++ lib/flow.c | 13 ++++++++- lib/flow.h | 1 + lib/meta-flow.c | 71 ++++++++++++++++++++++++++++++++++++++++++------ lib/meta-flow.h | 7 +++- lib/nx-match.c | 22 ++++++++++++--- tests/ovs-ofctl.at | 50 ++++++++++++++++++++++++++++++++++ utilities/ovs-ofctl.c | 24 ++++++++++++++++ 9 files changed, 201 insertions(+), 17 deletions(-) -- 1.7.2.5 _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev