[ovs-dev] [PATCH 4/8] User-Space MPLS actions and matches

Simon Horman horms at verge.net.au
Tue Oct 30 01:02:02 UTC 2012


On Mon, Oct 29, 2012 at 11:28:29AM -0700, Ben Pfaff wrote:
> On Sat, Oct 27, 2012 at 03:05:58PM +0900, Simon Horman wrote:
> > 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: Isaku Yamahata <yamahata at valinux.co.jp>
> > Cc: Ravi K <rkerur at gmail.com>
> > Signed-off-by: Simon Horman <horms at verge.net.au>
> 
> Why does this modify datapath/datapath.c and datapath/flow.h?

Sorry, they are some improvements suggested by Yamahata-san
which I should have rolled into an earlier patch in the series.



More information about the dev mailing list