[ovs-dev] [PATCH 0/6 v2.7] Basic MPLS actions and matches
Simon Horman
horms at verge.net.au
Fri Nov 16 02:25:14 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.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 29c7a2b26ed005902b2179d7fe242eb711184b88:
odp-utils: Print human readable ipv4-tunnel-key flags. (2012-11-14 21:17:27 -0800)
are available in the git repository at:
git://github.com/horms/openvswitch.git devel/mpls
for you to fetch changes up to fd964b725d260441779cee0145dd55779df9a7cf:
Add support for copy_ttl_in action (2012-11-16 11:14:55 +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 | 28 +++-
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, 1951 insertions(+), 45 deletions(-)
More information about the dev
mailing list