Re: [ovs-dev] [PATCH v2.29] datapath: Add basic MPLS support to kernel

2013-05-23 Thread Jesse Gross
On Wed, May 22, 2013 at 6:38 PM, Simon Horman wrote: > On Tue, May 21, 2013 at 09:07:06AM -0700, Jesse Gross wrote: >> On Mon, May 20, 2013 at 5:55 PM, Simon Horman wrote: >> > On Fri, May 17, 2013 at 04:14:56PM -0700, Jesse Gross wrote: >> >> On Fri, May 17, 2013 at 12:06 AM, Simon Horman wrote

Re: [ovs-dev] [PATCH v2.29] datapath: Add basic MPLS support to kernel

2013-05-22 Thread Simon Horman
On Tue, May 21, 2013 at 09:07:06AM -0700, Jesse Gross wrote: > On Mon, May 20, 2013 at 5:55 PM, Simon Horman wrote: > > On Fri, May 17, 2013 at 04:14:56PM -0700, Jesse Gross wrote: > >> On Fri, May 17, 2013 at 12:06 AM, Simon Horman wrote: > >> > +static int push_mpls(struct sk_buff *skb, > >> >

Re: [ovs-dev] [PATCH v2.29] datapath: Add basic MPLS support to kernel

2013-05-21 Thread Jesse Gross
On Mon, May 20, 2013 at 5:55 PM, Simon Horman wrote: > On Fri, May 17, 2013 at 04:14:56PM -0700, Jesse Gross wrote: >> On Fri, May 17, 2013 at 12:06 AM, Simon Horman wrote: >> > +static int push_mpls(struct sk_buff *skb, >> > +const struct ovs_action_push_mpls *mpls) >> > +{ >

Re: [ovs-dev] [PATCH v2.29] datapath: Add basic MPLS support to kernel

2013-05-20 Thread Simon Horman
On Fri, May 17, 2013 at 04:14:56PM -0700, Jesse Gross wrote: > On Fri, May 17, 2013 at 12:06 AM, Simon Horman wrote: > > diff --git a/datapath/actions.c b/datapath/actions.c > > index 0dac658..ac4423a 100644 > > --- a/datapath/actions.c > > +++ b/datapath/actions.c > > +/* The end of the mac heade

Re: [ovs-dev] [PATCH v2.29] datapath: Add basic MPLS support to kernel

2013-05-17 Thread Jesse Gross
On Fri, May 17, 2013 at 12:06 AM, Simon Horman wrote: > diff --git a/datapath/actions.c b/datapath/actions.c > index 0dac658..ac4423a 100644 > --- a/datapath/actions.c > +++ b/datapath/actions.c > +/* The end of the mac header. > + * > + * For non-MPLS skbs this will correspond to the network head

[ovs-dev] [PATCH v2.29] datapath: Add basic MPLS support to kernel

2013-05-17 Thread Simon Horman
Allow datapath to recognize and extract MPLS labels into flow keys and execute actions which push, pop, and set labels on packets. Based heavily on work by Leo Alterman and Ravi K. Cc: Ravi K Cc: Leo Alterman Reviewed-by: Isaku Yamahata Signed-off-by: Simon Horman --- This is the remaining