[ovs-dev] [PATCH 0/2 V5] Add 802.1ad (qinq) support

Thomas F Herbert thomasfherbert at entpnt.com
Tue Dec 30 15:12:58 UTC 2014


This patch adds support for 802.1ad. The first part of the series includes 
changes to the Linux kernel datapath for 802.1ad push and pop.
The second part of the series includes user space changes and a test. 

Version 5 updates the patch to properly use nested attributes, fixes some
whitespace problems and allows TPID 0x88a8 tag be pushed with either single or
outer tag because Open Flow does not specifically prohibit it.

This effort is supported by Entry Point LLC. as part of the Virtual Broadband
Gateway project. This patch been tested in VMs as well as real-world environment 
at ATC Communications Inc.

Thanks to Robert Peterson for inspiring and leading this work and people at 
ATC for helping with configuring the test lab including the Cisco and Brocade 
equipment. Thanks to Ben Pfaff and others that have commented on previous
versions of this patch. Also, thanks to Dave Benson who contributed the test
included in this patch.

We would be interested in any feedback and results from any other testers.

Signed-off-by: Thomas F Herbert <thomasfherbert at entpnt.com>

Thomas F Herbert (2):
  Linux datapath changes to support 802.1AD
  Add 802.1AD (qinq) support including 0x88a8 TPID

 NEWS                                              |   2 +
 datapath/actions.c                                |  32 +++-
 datapath/flow.c                                   |  80 ++++++--
 datapath/flow.h                                   |   1 +
 datapath/flow_netlink.c                           |  62 ++++++-
 datapath/linux/compat/include/linux/openvswitch.h |  16 +-
 lib/flow.c                                        |  22 ++-
 lib/flow.h                                        |  10 +-
 lib/match.c                                       |   2 +-
 lib/nx-match.c                                    |   2 +-
 lib/odp-execute.c                                 |   3 +-
 lib/odp-util.c                                    | 217 +++++++++++++++++++---
 lib/odp-util.h                                    |   2 +-
 lib/ofp-actions.c                                 |  32 ++--
 lib/ofp-actions.h                                 |  13 +-
 lib/ofp-util.c                                    |   2 +-
 lib/packets.c                                     |   2 +-
 lib/packets.h                                     |   7 +
 ofproto/ofproto-dpif-xlate.c                      |  13 +-
 tests/ofproto-dpif.at                             |  40 ++++
 utilities/ovs-ofctl.8.in                          |   3 +-
 21 files changed, 460 insertions(+), 103 deletions(-)

-- 
1.8.3.2




More information about the dev mailing list