the purpose of this series is to: * Add encoding of the OXM VLAN VID and VLAN PCP matches and; * Correct the decoding of OXM VLAN VID and VLAN PCP matches without breaking ovs-ofctl add-flows, which uses some of the same code paths.
This series differs to v2 in that internally the CFI bit is now honoured which in turn allows it to be honoured for the OXM VLAN VID match. Backwards compatibility for ovs-ofcfl add-flows dl_vlan and dl_vlan_pcp is provided by the first patch in this series. Patch List: [PATCH 1/6] classifier: Honour CFI bit internally [PATCH 2/6] OXM: Allow VLAN VID to include CFI bit [PATCH 3/6] OXM: Add encoding of encode VLAN VID and VLAN PCP [PATCH 4/6] OXM: Add VLAN VID as a prerequsite for VLAN PCP [PATCH 5/6] OXM: Allow VLAN VID match to be masked [PATCH 6/6] tests: OXM VLAN match encoding and decoding Overall Diffstat: lib/classifier.c | 24 +++++++++-------------- lib/classifier.h | 1 lib/flow.c | 13 ++++-------- lib/meta-flow.c | 12 +++++++---- lib/meta-flow.h | 1 lib/nx-match.c | 22 +++++++++++++++++---- lib/ofp-parse.c | 20 +++++++++++++++++++ lib/packets.h | 1 tests/ovs-ofctl.at | 50 +++++++++++++++++++++++++++++++++++++++++++++++++ utilities/ovs-ofctl.c | 24 +++++++++++++++++++++++ 10 files changed, 138 insertions(+), 30 deletions(-) _______________________________________________ dev mailing list [email protected] http://openvswitch.org/mailman/listinfo/dev
