[ovs-git] [openvswitch/ovs] f0fb82: Add support for 802.1ad (QinQ tunneling)

GitHub noreply at github.com
Thu Mar 16 22:22:32 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: f0fb825a3785320430686834741c718ff4f8ebf4
      https://github.com/openvswitch/ovs/commit/f0fb825a3785320430686834741c718ff4f8ebf4
  Author: Eric Garver <e at erig.me>
  Date:   2017-03-16 (Thu, 16 Mar 2017)

  Changed paths:
    M NEWS
    M include/openvswitch/flow.h
    M include/openvswitch/ofp-actions.h
    M include/openvswitch/packets.h
    M lib/dpctl.c
    M lib/dpif-netdev.c
    M lib/flow.c
    M lib/flow.h
    M lib/match.c
    M lib/meta-flow.c
    M lib/nx-match.c
    M lib/odp-util.c
    M lib/odp-util.h
    M lib/ofp-actions.c
    M lib/ofp-util.c
    M lib/tnl-ports.c
    M ofproto/bond.c
    M ofproto/ofproto-dpif-ipfix.c
    M ofproto/ofproto-dpif-rid.h
    M ofproto/ofproto-dpif-sflow.c
    M ofproto/ofproto-dpif-xlate.c
    M ofproto/ofproto-dpif-xlate.h
    M ofproto/ofproto-dpif.c
    M ofproto/ofproto.c
    M ofproto/ofproto.h
    M ovn/controller/pinctrl.c
    M tests/ofp-print.at
    M tests/ofproto-dpif.at
    M tests/test-classifier.c
    M tests/test-odp.c
    M utilities/ovs-ofctl.c
    M vswitchd/bridge.c
    M vswitchd/vswitch.xml

  Log Message:
  -----------
  Add support for 802.1ad (QinQ tunneling)

Flow key handling changes:
 - Add VLAN header array in struct flow, to record multiple 802.1q VLAN
   headers.
 - Add dpif multi-VLAN capability probing. If datapath supports
   multi-VLAN, increase the maximum depth of nested OVS_KEY_ATTR_ENCAP.

Refactor VLAN handling in dpif-xlate:
 - Introduce 'xvlan' to track VLAN stack during flow processing.
 - Input and output VLAN translation according to the xbundle type.

Push VLAN action support:
 - Allow ethertype 0x88a8 in VLAN headers and push_vlan action.
 - Support push_vlan on dot1q packets.

Use other_config:vlan-limit in table Open_vSwitch to limit maximum VLANs
that can be matched. This allows us to preserve backwards compatibility.

Add test cases for VLAN depth limit, Multi-VLAN actions and QinQ VLAN
handling

Co-authored-by: Thomas F Herbert <thomasfherbert at gmail.com>
Signed-off-by: Thomas F Herbert <thomasfherbert at gmail.com>
Co-authored-by: Xiao Liang <shaw.leon at gmail.com>
Signed-off-by: Xiao Liang <shaw.leon at gmail.com>
Signed-off-by: Eric Garver <e at erig.me>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list