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.4: * Various clean-ups and fises to "User-Space MPLS actions and matches" as noted in its changelog. * New patches to add support for TLS actions * Inclusion of Justin Pettit's patch "flow: Set ttl in flow_compose()", which is a dependency of the "Add support for copy_ttl_out action" patch. ---------------------------------------------------------------- The following changes since commit f43e80e023378a2c1ef18d3caee9b76d6d2a6d23: poll-loop: Log backtraces when CPU usage is high. (2012-10-25 11:14:07 -0700) are available in the git repository at: git://github.com/horms/openvswitch.git devel/mpls for you to fetch changes up to 0d2c5e8efbf05c132ff273c3013c933df2b9759a: Add support for copy_ttl_in action (2012-10-27 14:52:02 +0900) ---------------------------------------------------------------- Justin Pettit (1): flow: Set ttl in flow_compose(). Simon Horman (7): 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 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 | 34 ++++- include/openflow/nicira-ext.h | 39 ++++++ 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 | 123 ++++++++++++++++-- lib/flow.h | 17 ++- lib/learn.c | 10 +- lib/learn.h | 2 +- lib/match.c | 88 ++++++++++++- 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 | 186 +++++++++++++++++++++++++-- lib/ofp-actions.h | 33 ++++- lib/ofp-parse.c | 46 +++++++ 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 | 268 ++++++++++++++++++++++++++++++++++++++- lib/packets.h | 91 +++++++++++++ ofproto/ofproto-dpif.c | 166 +++++++++++++++++++++++- ofproto/ofproto.c | 4 +- tests/odp.at | 13 ++ tests/ofproto-dpif.at | 268 ++++++++++++++++++++++++++++++++++++--- tests/test-bundle.c | 1 + tests/test-multipath.c | 1 + utilities/ovs-dpctl.c | 18 ++- utilities/ovs-ofctl.8.in | 46 +++++++ 45 files changed, 1987 insertions(+), 119 deletions(-) _______________________________________________ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev