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

2012-10-10 Thread Simon Horman
On Wed, Oct 10, 2012 at 12:16:15PM +0900, Isaku Yamahata wrote: > On Tue, Oct 09, 2012 at 04:08:35PM +0900, Simon Horman wrote: > > @@ -938,6 +990,15 @@ mf_is_value_valid(const struct mf_field *mf, const > > union mf_value *value) > > case MFF_IPV6_LABEL: > > return !(value->be32 & ~

Re: [ovs-dev] [PATCH 2/4] user-space datapath: Add basic MPLS support to kernel

2012-10-10 Thread Simon Horman
On Wed, Oct 10, 2012 at 11:59:26AM +0900, Isaku Yamahata wrote: > On Tue, Oct 09, 2012 at 04:08:33PM +0900, Simon Horman wrote: > > This is to match the kernel implementation in the > > patch "datapath: Add basic MPLS support to kernel" > > by Leo Alterman. > > > > Cc: Leo Alterman > > Signed-off

Re: [ovs-dev] [PATCH 1/4] datapath: Add basic MPLS support to kernel

2012-10-10 Thread Simon Horman
On Wed, Oct 10, 2012 at 11:57:15AM +0900, Isaku Yamahata wrote: > On Tue, Oct 09, 2012 at 04:08:32PM +0900, Simon Horman wrote: > > +static int push_mpls(struct sk_buff *skb, const struct > > ovs_action_push_mpls *mpls) > > +{ > > + u32 l2_size; > > + __be32 *new_mpls_label; > > + > > + if (

Re: [ovs-dev] Changing proc title on FreeBSD

2012-10-10 Thread Ed Maste
On 9 October 2012 18:07, Ben Pfaff wrote: > On Tue, Oct 09, 2012 at 06:03:32PM -0400, Ed Maste wrote: >>... >> >> Interesting - I didn't notice this code before. >> >> On FreeBSD we have setproctitle(const char *fmt, ...) for this >> functionality, which has the same interface as proctitle_set. >>

Re: [ovs-dev] Changing proc title on FreeBSD

2012-10-10 Thread Ben Pfaff
On Wed, Oct 10, 2012 at 09:34:29AM -0400, Ed Maste wrote: > On 9 October 2012 18:07, Ben Pfaff wrote: > > On Tue, Oct 09, 2012 at 06:03:32PM -0400, Ed Maste wrote: > >>... > >> > >> Interesting - I didn't notice this code before. > >> > >> On FreeBSD we have setproctitle(const char *fmt, ...) for

Re: [ovs-dev] [PATCH] build: Add support for building RPMs for Fedora Linux

2012-10-10 Thread Kyle Mestery (kmestery)
On Oct 4, 2012, at 12:56 PM, Ben Pfaff wrote: > Thanks, Ralf. I will add >Signed-off-by: Ralf Spenneberg > to the commit log. > Hi Ben: Are you waiting for my feedback on this patch? Just curious as to it's state and if you see anything else you would like me to address. Thanks, Kyle

[ovs-dev] userspace datapath performance (was: Re: Threaded userspace datapath)

2012-10-10 Thread Ben Pfaff
More than anything I'd like to see an analysis, based on at least simple measurements, probably including some conjecture, of the reason or reasons that the threaded datapath yields performance that is so much better. If it comes down to something not fundamental to having threads, then we can tal

Re: [ovs-dev] [PATCH] build: Add support for building RPMs for Fedora Linux

2012-10-10 Thread Ben Pfaff
On Wed, Oct 10, 2012 at 03:19:47PM +, Kyle Mestery (kmestery) wrote: > On Oct 4, 2012, at 12:56 PM, Ben Pfaff wrote: > > Thanks, Ralf. I will add > >Signed-off-by: Ralf Spenneberg > > to the commit log. > > > Hi Ben: > > Are you waiting for my feedback on this patch? Just curious a

Re: [ovs-dev] [PATCH] build: Add support for building RPMs for Fedora Linux

2012-10-10 Thread Kyle Mestery (kmestery)
On Oct 10, 2012, at 11:47 AM, Ben Pfaff wrote: > On Wed, Oct 10, 2012 at 03:19:47PM +, Kyle Mestery (kmestery) wrote: >> On Oct 4, 2012, at 12:56 PM, Ben Pfaff wrote: >>> Thanks, Ralf. I will add >>> Signed-off-by: Ralf Spenneberg >>> to the commit log. >>> >> Hi Ben: >> >> Are you

Re: [ovs-dev] [PATCH 02/11] ofp-msgs: Open Flow 1.1 and 1.2 Port Status Messages

2012-10-10 Thread Ben Pfaff
On Sat, Oct 06, 2012 at 07:39:49PM +0900, Simon Horman wrote: > On Thu, Oct 04, 2012 at 10:18:26AM -0700, Ben Pfaff wrote: > > On Thu, Sep 20, 2012 at 01:10:41PM +0900, Simon Horman wrote: > > > This allows for encoding and decoding Open Flow 1.1 and 1.2 Port Stats > > > Request and Reply message >

Re: [ovs-dev] userspace datapath performance (was: Re: Threaded userspace datapath)

2012-10-10 Thread Luigi Rizzo
On Wed, Oct 10, 2012 at 09:20:19AM -0700, Ben Pfaff wrote: > More than anything I'd like to see an analysis, based on at least > simple measurements, probably including some conjecture, of the reason > or reasons that the threaded datapath yields performance that is so > much better. If it comes d

Re: [ovs-dev] [PATCH 1/2] datapath: Add support for tun_key to Open vSwitch datapath

2012-10-10 Thread Pravin Shelar
Patch looks good, I have few comments inlined. On Tue, Oct 9, 2012 at 11:49 AM, Kyle Mestery wrote: > This is a first pass at providing a tun_key which can be > used as the basis for flow-based tunnelling. The > tun_key includes and replaces the tun_id in both struct > ovs_skb_cb and struct sw_t

Re: [ovs-dev] [PATCH 1/2] datapath: Add support for tun_key to Open vSwitch datapath

2012-10-10 Thread Chris Wright
* Pravin Shelar (pshe...@nicira.com) wrote: > On Tue, Oct 9, 2012 at 11:49 AM, Kyle Mestery wrote: > > @@ -458,6 +477,9 @@ int ovs_execute_actions(struct datapath *dp, struct > > sk_buff *skb) > > struct sw_flow_actions *acts = > > rcu_dereference(OVS_CB(skb)->flow->sf_acts); > >

Re: [ovs-dev] [PATCH 02/11] ofp-msgs: Open Flow 1.1 and 1.2 Port Status Messages

2012-10-10 Thread Simon Horman
On Wed, Oct 10, 2012 at 10:33:00AM -0700, Ben Pfaff wrote: > On Sat, Oct 06, 2012 at 07:39:49PM +0900, Simon Horman wrote: > > On Thu, Oct 04, 2012 at 10:18:26AM -0700, Ben Pfaff wrote: > > > On Thu, Sep 20, 2012 at 01:10:41PM +0900, Simon Horman wrote: > > > > This allows for encoding and decoding

Re: [ovs-dev] [PATCH 1/4] datapath: Add basic MPLS support to kernel

2012-10-10 Thread Isaku Yamahata
On Wed, Oct 10, 2012 at 07:31:25PM +0900, Simon Horman wrote: > On Wed, Oct 10, 2012 at 11:57:15AM +0900, Isaku Yamahata wrote: > > On Tue, Oct 09, 2012 at 04:08:32PM +0900, Simon Horman wrote: > > > +static int push_mpls(struct sk_buff *skb, const struct > > > ovs_action_push_mpls *mpls) > > > +{

[ovs-dev] [PATCH] nicira-ext: Correct and improve nx_flow_update_abbrev comment.

2012-10-10 Thread Ben Pfaff
Notifications always precede a barrier that follows a given flow_mod, not a barrier that precedes a flow_mod as the text here previously claimed. Also, the text about abbreviated notifications is equally applicable to normal, unabbreviated notifications, so say that explicitly. Reported-by: Jean