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.7:

* Rebase to allow compilation against new master banch

Key difference between v2.7 and 2.6:

* When encoding TTL actions (the last 4 patches) for
  an OpenFlow 1.1+ message, encode them as OpenFlow 1.1+
  actions. Previously they were encoded as NX matches.

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 568e23fc2772235204dcabb61e1425b312070da2:

  CodingStyle: Fix indentation. (2012-11-16 16:08:15 -0800)

are available in the git repository at:

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

for you to fetch changes up to 83263c9ee9b86e64f151af4d1d75a8ae10916bfa:

  Add support for copy_ttl_in action (2012-11-19 14:46:02 +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              |   81 ++++++++++++
 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 ++++++
 include/openflow/openflow-1.2.h |    2 +
 lib/dpif-netdev.c               |   13 ++
 lib/flow.c                      |  127 ++++++++++++++++---
 lib/flow.h                      |   16 ++-
 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             |    2 +
 tests/test-multipath.c          |    2 +
 utilities/ovs-dpctl.c           |   18 ++-
 utilities/ovs-ofctl.8.in        |   45 +++++++
 35 files changed, 1954 insertions(+), 45 deletions(-)
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to