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

Simon Horman horms at verge.net.au
Thu Oct 18 09:02:17 UTC 2012


Hi,

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

Some limitations in the scope of this series are described in the changelog
entry for the last patch in the series.

This series differes from the previous post, v2.3, in two ways

* Minor cleanup to "User-Space MPLS actions and matches"
  as detailed in its changelog.

* A new patch at the end of the series
  "Add support for set_mpls_ttl action"

  I would appreciate some feedback on the approach taken in this patch.
  If acceptable it seems that a similar technique may be used
  to implement at least set_mpls_ttl.


Git and diffstat information is provided below to aid review.

----------------------------------------------------------------
The following changes since commit f7b7ee9753cd75da86c21ac6364dab07e5e8d51a:

  stream.py: un-decorator Stream.register_method (2012-10-17 11:22:08 -0700)

are available in the git repository at:

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

for you to fetch changes up to f8ab5c48fc4d906be1c4a9c0ab5e062cdf1c6adf:

  Add support for set_mpls_ttl action (2012-10-18 17:54:38 +0900)

----------------------------------------------------------------
Simon Horman (4):
      datapath: Add basic MPLS support to kernel
      nx-match: Do not check pre-requisites for load actions
      User-Space MPLS actions and matches
      Add support for set_mpls_ttl action

 datapath/actions.c              |   81 ++++++++++++
 datapath/datapath.c             |   60 +++++++++
 datapath/datapath.h             |    8 ++
 datapath/flow.c                 |   30 +++++
 datapath/flow.h                 |    7 +
 datapath/vport.c                |    2 +
 include/linux/openvswitch.h     |   32 +++++
 include/openflow/nicira-ext.h   |   25 ++++
 include/openflow/openflow-1.2.h |    2 +
 lib/autopath.c                  |    6 +-
 lib/autopath.h                  |    3 +-
 lib/bundle.c                    |    7 +-
 lib/bundle.h                    |    3 +-
 lib/dpif-netdev.c               |   13 ++
 lib/flow.c                      |  115 +++++++++++++++--
 lib/flow.h                      |   14 +-
 lib/learn.c                     |   10 +-
 lib/learn.h                     |    2 +-
 lib/match.c                     |   69 +++++++++-
 lib/match.h                     |    6 +
 lib/meta-flow.c                 |  138 ++++++++++++++++++--
 lib/meta-flow.h                 |   13 +-
 lib/multipath.c                 |    7 +-
 lib/multipath.h                 |    3 +-
 lib/nx-match.c                  |   36 ++++--
 lib/nx-match.h                  |    6 +-
 lib/odp-util.c                  |  171 ++++++++++++++++++++++++-
 lib/ofp-actions.c               |  133 +++++++++++++++++--
 lib/ofp-actions.h               |   27 +++-
 lib/ofp-parse.c                 |   34 +++++
 lib/ofp-print.c                 |    4 +
 lib/ofp-util.c                  |   28 +++-
 lib/ofp-util.def                |    6 +
 lib/ofpbuf.c                    |    8 +-
 lib/ofpbuf.h                    |    1 +
 lib/packets.c                   |  269 ++++++++++++++++++++++++++++++++++++++-
 lib/packets.h                   |   91 +++++++++++++
 ofproto/ofproto-dpif.c          |  127 +++++++++++++++++-
 ofproto/ofproto.c               |    4 +-
 tests/odp.at                    |   13 ++
 tests/ofproto-dpif.at           |   85 +++++++++++++
 tests/test-bundle.c             |    1 +
 tests/test-multipath.c          |    1 +
 utilities/ovs-dpctl.c           |   18 ++-
 utilities/ovs-ofctl.8.in        |   21 +++
 45 files changed, 1644 insertions(+), 96 deletions(-)



More information about the dev mailing list