This series adds support and tests for 802.1ad (aka QinQ). It also adds support for a new VLAN mode called "dot1q-tunnel". It is based on work done by Thomas F Herbert and Xiao Liang.
Tested against: - linux 4.9.12 (includes 802.1ad) - Yi Yang's 802.1ad backport, linux 4.4.51 and 3.16.39 Major changes since RFC v6: - Split dot1q-tunnel into a separate patch - Rework xvlan to pass around the entire VLAN stack. - Add NEWS items Eric Garver (7): Add support for 802.1ad (QinQ tunneling) Add new port VLAN mode "dot1q-tunnel" 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. NEWS | 6 + 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 | 202 +++++++++++++---- lib/flow.h | 34 ++- lib/match.c | 73 ++++--- lib/meta-flow.c | 23 +- lib/nx-match.c | 14 +- lib/odp-util.c | 193 +++++++++------- 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 | 440 ++++++++++++++++++++++++++----------- 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 | 5 + tests/system-traffic.at | 312 ++++++++++++++++++++++++++ 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 | 49 +++++ 36 files changed, 1656 insertions(+), 627 deletions(-) -- 2.10.0 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
