This series adds support and tests for 802.1ad (aka QinQ). It is based on work
done by Thomas F Herbert and Xiao Liang.

Areas for improvement:
  - flow_vlan_limit global. I tried removing this global but didn't come up
    with a good solution as miniflow_extract() doesn't have much information.
    Recommendations would be appreciated.

v6 changes:
  - only add VLAN miniflow encoding if VLANs exist
  - For tests, always show first zero VLAN. Adjust tests accordingly.
  - include system-traffic.at tests
  - fix checkpatch.py and sparse errors
  - cleanup odp_flow_key_from_flow__() and parse_8021q_onward(). Removed code
    to make them simpler.

This series should apply clean on top of 7971b36c3acc.

Eric Garver (6):
  Add support for 802.1ad (QinQ tunneling)
  system-common-macros: Add macro to check for 802.1ad support.
  system-traffic: 802.1ad: Add conntrack ping tests for CVLANs.
  system-traffic: 802.1ad: Add vlan_limit test case.
  system-traffic: 802.1ad: Add push/pop test cases.
  system-traffic: 802.1ad: Add dot1q-tunnel test case.

 include/openvswitch/flow.h        |  15 +-
 include/openvswitch/ofp-actions.h |  10 +-
 include/openvswitch/packets.h     |   8 +
 lib/dpctl.c                       |  29 ++-
 lib/dpif-netdev.c                 |  79 ++++---
 lib/flow.c                        | 200 +++++++++++++----
 lib/flow.h                        |  34 ++-
 lib/match.c                       |  73 ++++---
 lib/meta-flow.c                   |  23 +-
 lib/nx-match.c                    |  14 +-
 lib/odp-util.c                    | 195 ++++++++++-------
 lib/odp-util.h                    |   8 +-
 lib/ofp-actions.c                 |  62 +++---
 lib/ofp-util.c                    |  58 ++---
 lib/tnl-ports.c                   |   2 +-
 ofproto/bond.c                    |   2 +-
 ofproto/ofproto-dpif-ipfix.c      |   6 +-
 ofproto/ofproto-dpif-rid.h        |   2 +-
 ofproto/ofproto-dpif-sflow.c      |   4 +-
 ofproto/ofproto-dpif-xlate.c      | 433 +++++++++++++++++++++++++-----------
 ofproto/ofproto-dpif-xlate.h      |   6 +-
 ofproto/ofproto-dpif.c            |  72 +++++-
 ofproto/ofproto.c                 |   7 +
 ofproto/ofproto.h                 |   9 +-
 ovn/controller/pinctrl.c          |   5 +-
 tests/ofp-print.at                |   6 +-
 tests/ofproto-dpif.at             | 450 ++++++++++++++++++++++++--------------
 tests/system-common-macros.at     |   6 +
 tests/system-traffic.at           | 311 ++++++++++++++++++++++++++
 tests/test-classifier.c           |  17 +-
 tests/test-odp.c                  |   1 +
 utilities/ovs-ofctl.c             |  29 +--
 vswitchd/bridge.c                 |  29 ++-
 vswitchd/vswitch.ovsschema        |  16 +-
 vswitchd/vswitch.xml              |  48 ++++
 35 files changed, 1638 insertions(+), 631 deletions(-)

-- 
2.10.0

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to