[ovs-git] Open vSwitch: User-Space MPLS actions and matches (master)

dev at openvswitch.org dev at openvswitch.org
Tue Feb 5 17:18:48 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  b02475c53b3ca857c45eb5e17d12fdf233a9dac8 (commit)
      from  d224e3501437af4a8480d734a99ca371a1eafa11 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit b02475c53b3ca857c45eb5e17d12fdf233a9dac8
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=b02475c53b3ca857c45eb5e17d12fdf233a9dac8
Author: Simon Horman <horms at verge.net.au>
		
User-Space MPLS actions and matches
		
This patch implements use-space datapath and non-datapath code
to match and use the datapath API set out in Leo Alterman's patch
"user-space datapath: Add basic MPLS support to kernel".

The resulting MPLS implementation supports:
* Pushing a single MPLS label
* Poping a single MPLS label
* Modifying an MPLS lable using set-field or load actions
  that act on the label value, tc and bos bit.
* There is no support for manipulating the TTL
  this is considered future work.

The single-level push pop limitation is implemented by processing
push, pop and set-field/load actions in order and discarding information
that would require multiple levels of push/pop to be supported.

e.g.
   push,push -> the first push is discarded
   pop,pop -> the first pop is discarded

This patch is based heavily on work by Ravi K.

Cc: Ravi K <rkerur at gmail.com>
Reviewed-by: Isaku Yamahata <yamahata at valinux.co.jp>
Signed-off-by: Simon Horman <horms at verge.net.au>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 include/linux/openvswitch.h     |   36 +++++++-
 include/openflow/nicira-ext.h   |   26 ++++++-
 include/openflow/openflow-1.1.h |    4 +-
 lib/dpif-netdev.c               |   14 +++
 lib/flow.c                      |   73 ++++++++++++++--
 lib/flow.h                      |   28 +++++-
 lib/match.c                     |   85 ++++++++++++++++++-
 lib/match.h                     |    6 ++
 lib/meta-flow.c                 |  113 ++++++++++++++++++++++++
 lib/meta-flow.h                 |   11 +++
 lib/nx-match.c                  |   18 ++++-
 lib/odp-util.c                  |  170 +++++++++++++++++++++++++++++++++----
 lib/ofp-actions.c               |   93 ++++++++++++++++++++-
 lib/ofp-actions.h               |   20 ++++-
 lib/ofp-parse.c                 |   16 +++-
 lib/ofp-print.c                 |    4 +
 lib/ofp-util.c                  |   36 +++++++-
 lib/ofp-util.def                |    4 +
 lib/ofpbuf.c                    |    8 ++-
 lib/ofpbuf.h                    |    1 +
 lib/packets.c                   |  179 ++++++++++++++++++++++++++++++++++++++-
 lib/packets.h                   |   80 +++++++++++++++++
 ofproto/ofproto-dpif.c          |   69 ++++++++++++++--
 tests/odp.at                    |   13 +++
 tests/ofproto-dpif.at           |  129 ++++++++++++++++++++++++++++
 tests/test-bundle.c             |    1 +
 tests/test-multipath.c          |    1 +
 utilities/ovs-dpctl.c           |   18 +++-
 utilities/ovs-ofctl.8.in        |   28 ++++++
 29 files changed, 1223 insertions(+), 61 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list