[ovs-dev] [PATCH 0/9 v2.8] Basic MPLS actions and matches

Simon Horman horms at verge.net.au
Wed Nov 28 08:27:10 UTC 2012


Hi,

This series implements basic MPLS actions and matches based on work by
Ravi K, Leo Alterman and Yamahata-san.

The main limitation of this implementation is that it only
supports manipulating the outer-most MPLS label.

Key difference between the previous post, v2.8:

* Rebase to allow compilation against new master branch
  and fix tests accordingly

* Always update MPLS bos pointer when
  VLAN pop is performed in kernel datapath.

Changes are details in the changelog of each patch.

The testsuite passes when this series is applied on top
of the current master branch.

Diffstat and git information is provided to aid review.

----------------------------------------------------------------------
The following changes since commit 3f78c3ccb5d024c7e2e7eae58be03f4960b996c8:

  flow: use rule priority in match_format() function (2012-11-27 16:29:37 -0800)

are available in the git repository at:

  git://github.com/horms/openvswitch.git devel/mpls

for you to fetch changes up to e5221b2be8c2a1419ead575f46097a8cea6beb33:

  Add support for copy_ttl_in action (2012-11-28 11:47:13 +0900)

----------------------------------------------------------------
Simon Horman (6):
      datapath: Add basic MPLS support to kernel
      User-Space MPLS actions and matches
      Add support for dec_mpls_ttl action
      Add support for set_mpls_ttl action
      Add support for copy_ttl_out action
      Add support for copy_ttl_in action

 datapath/actions.c            |   84 ++++++++++++-
 datapath/datapath.c           |   53 ++++++++
 datapath/datapath.h           |    7 ++
 datapath/flow.c               |   30 +++++
 datapath/flow.h               |    7 ++
 datapath/vport.c              |    2 +
 include/linux/openvswitch.h   |   32 +++++
 include/openflow/nicira-ext.h |   39 ++++++
 lib/dpif-netdev.c             |   13 ++
 lib/flow.c                    |  126 ++++++++++++++++---
 lib/flow.h                    |   17 ++-
 lib/match.c                   |   88 +++++++++++++-
 lib/match.h                   |    6 +
 lib/meta-flow.c               |  124 +++++++++++++++++++
 lib/meta-flow.h               |    9 ++
 lib/nx-match.c                |   20 ++-
 lib/odp-util.c                |  171 +++++++++++++++++++++++++-
 lib/ofp-actions.c             |  196 +++++++++++++++++++++++++++++-
 lib/ofp-actions.h             |   31 +++++
 lib/ofp-parse.c               |   48 +++++++-
 lib/ofp-print.c               |    9 +-
 lib/ofp-util.c                |   31 ++++-
 lib/ofp-util.def              |   12 ++
 lib/ofpbuf.c                  |    8 +-
 lib/ofpbuf.h                  |    1 +
 lib/packets.c                 |  267 ++++++++++++++++++++++++++++++++++++++++-
 lib/packets.h                 |   91 ++++++++++++++
 ofproto/ofproto-dpif.c        |  166 ++++++++++++++++++++++++-
 tests/odp.at                  |   13 ++
 tests/ofproto-dpif.at         |  232 +++++++++++++++++++++++++++++++++++
 tests/test-bundle.c           |    1 +
 tests/test-multipath.c        |    1 +
 utilities/ovs-dpctl.c         |   18 ++-
 utilities/ovs-ofctl.8.in      |   45 +++++++
 34 files changed, 1951 insertions(+), 47 deletions(-)



More information about the dev mailing list