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

Simon Horman horms at verge.net.au
Fri Oct 5 08:05:51 UTC 2012


Hi,

This series implements basic MPLS actions and matches based
on the kernel datapath work by Leo Alterman.

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

I have preformed a limited amount of testing of this code using both the
testsuite (make check) and by combining is series with my Open Flow 1.2
work and using Ryu as a controller to set up MPLS flows.


Git and diffstat information is provided below to aid review.

----------------------------------------------------------------
The following changes since commit f0b8759908a74f018f6bd75fdc1b7f1ff8776f5f:

  tests: jemalloc debug config for FreeBSD 9 and 10. (2012-10-02 09:23:20 -0700)

are available in the git repository at:

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

for you to fetch changes up to a6bfbe4e4e2efdeb93381f3890ffabfe6a34852c:

  User-Space MPLS actions and matches (2012-10-05 17:01:36 +0900)

----------------------------------------------------------------
Leo Alterman (1):
      datapath: Add basic MPLS support to kernel

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

 datapath/actions.c              |   81 +++++++++
 datapath/datapath.c             |   61 +++++++
 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   |   84 +++++++++
 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                      |  122 ++++++++++++--
 lib/flow.h                      |   22 ++-
 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                  |   38 ++++-
 lib/nx-match.h                  |    6 +-
 lib/odp-util.c                  |  194 ++++++++++++++++++++-
 lib/ofp-actions.c               |  107 ++++++++++--
 lib/ofp-actions.h               |   20 ++-
 lib/ofp-parse.c                 |   14 ++
 lib/ofp-print.c                 |    4 +
 lib/ofp-util.c                  |   30 +++-
 lib/ofp-util.def                |    4 +
 lib/ofpbuf.c                    |    8 +-
 lib/ofpbuf.h                    |    1 +
 lib/packets.c                   |  356 +++++++++++++++++++++++++++++++++++++++
 lib/packets.h                   |   88 ++++++++++
 ofproto/ofproto-dpif.c          |   96 ++++++++++-
 ofproto/ofproto.c               |    4 +-
 tests/automake.mk               |    5 +
 tests/odp.at                    |   16 +-
 tests/ofp-print.at              |    6 +-
 tests/ofproto-dpif.at           |  141 +++++++++++++---
 tests/ofproto.at                |   12 +-
 tests/test-bundle.c             |    2 +-
 tests/test-mpls.c               |  288 +++++++++++++++++++++++++++++++
 tests/test-multipath.c          |    2 +-
 utilities/ovs-dpctl.c           |   18 +-
 utilities/ovs-ofctl.8.in        |   21 +++
 49 files changed, 2077 insertions(+), 135 deletions(-)
 create mode 100644 tests/test-mpls.c



More information about the dev mailing list