Re: [ovs-dev] [PATCH] socket-util: Correctly return negative values for errors.

2011-12-06 Thread Justin Pettit
Nice catch. Looks good. --Justin On Dec 6, 2011, at 3:55 PM, Ben Pfaff wrote: > The comment on this function says that negative values indicate errors, and > the callers assume that too, but in fact it was returning positive errno > values, which are indistinguishable from valid fd numbers. >

Re: [ovs-dev] [PATCH] nicira-ext: Improve comment.

2011-12-06 Thread Justin Pettit
Looks good. --Justin On Dec 6, 2011, at 10:40 PM, Ben Pfaff wrote: > --- > include/openflow/nicira-ext.h |2 +- > 1 files changed, 1 insertions(+), 1 deletions(-) > > diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h > index d63d9d6..90505c5 100644 > --- a/include/o

[ovs-dev] [PATCH] nicira-ext: Improve comment.

2011-12-06 Thread Ben Pfaff
--- include/openflow/nicira-ext.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/include/openflow/nicira-ext.h b/include/openflow/nicira-ext.h index d63d9d6..90505c5 100644 --- a/include/openflow/nicira-ext.h +++ b/include/openflow/nicira-ext.h @@ -978,7 +978,7 @@ struct

[ovs-dev] [PATCH] socket-util: Correctly return negative values for errors.

2011-12-06 Thread Ben Pfaff
The comment on this function says that negative values indicate errors, and the callers assume that too, but in fact it was returning positive errno values, which are indistinguishable from valid fd numbers. It really seems to me that this should have been found pretty quickly in the field, since

Re: [ovs-dev] [PATCH] Fix build failure on RHEL 5.5

2011-12-06 Thread Chris Wright
* Pravin Shelar (pshe...@nicira.com) wrote: > On Tue, Dec 6, 2011 at 2:29 PM, Jesse Gross wrote: > > On Tue, Dec 6, 2011 at 12:45 PM, Pravin B Shelar wrote: > >> diff --git a/datapath/linux/compat/include/linux/jiffies.h > >> b/datapath/linux/compat/include/linux/jiffies.h > >> index a64f226..77

[ovs-dev] hello

2011-12-06 Thread sallianmanbo
i am single, i am nice, good looking, caring, honest, faithful, understanding and God fearing young girl. i am interested in having a sincere friendship or love relationship with you, it is all about faith, honest and trust in any relationship.here is my direct email id (sallianma...@hotmail.co

Re: [ovs-dev] [PATCH] Fix build failure on RHEL 5.5

2011-12-06 Thread Pravin Shelar
On Tue, Dec 6, 2011 at 2:29 PM, Jesse Gross wrote: > On Tue, Dec 6, 2011 at 12:45 PM, Pravin B Shelar wrote: >> Signed-off-by: Pravin B Shelar >> --- >>  datapath/linux/compat/include/linux/ipv6.h    |    8 >>  datapath/linux/compat/include/linux/jiffies.h |    2 ++ >>  datapath/linux/c

Re: [ovs-dev] [PATCH] Fix build failure on RHEL 5.5

2011-12-06 Thread Jesse Gross
On Tue, Dec 6, 2011 at 12:45 PM, Pravin B Shelar wrote: > Signed-off-by: Pravin B Shelar > --- >  datapath/linux/compat/include/linux/ipv6.h    |    8 >  datapath/linux/compat/include/linux/jiffies.h |    2 ++ >  datapath/linux/compat/include/net/ipv6.h      |   13 + >  3 fil

Re: [ovs-dev] Which userspace tools version for kernel code that's going upstream ?

2011-12-06 Thread Chris Wright
* Ben Pfaff (b...@nicira.com) wrote: > On Tue, Dec 06, 2011 at 12:17:34PM -0800, Chris Wright wrote: > > * Ben Pfaff (b...@nicira.com) wrote: > > > On Tue, Dec 06, 2011 at 03:32:12PM +, selsinork wrote: > > > > If I pull the userspace utils from git, which ones are best to use > > > > with the

Re: [ovs-dev] [PATCH] ofproto-dpif-sflow: avoid to specify agent device when configuring sFlow

2011-12-06 Thread Luca Giraudo
Hi Neil, replies in-line. On Tue, Dec 6, 2011 at 1:43 PM, Neil Mckee wrote: > Hi Luca, > > Just checking does this mean that the sFlow-agent-address might > change just because the first collector in the list changed? Or because > there was a routing change and the packet path to the colle

[ovs-dev] [PATCH] dpif-netdev: Make port numbers predictable for dummy dpif, for unit tests.

2011-12-06 Thread Ben Pfaff
The unit tests feed a lot of flows through the ofproto-dpif "trace" command, which means that they need to know the port numbers of the ports that they create. Until now, they've had to actually query those port numbers from the database, which is a bit of unnecessary overhead for unit tests. Thi

Re: [ovs-dev] [PATCH] ofproto-dpif-sflow: avoid to specify agent device when configuring sFlow

2011-12-06 Thread Neil Mckee
Hi Luca, Just checking does this mean that the sFlow-agent-address might change just because the first collector in the list changed? Or because there was a routing change and the packet path to the collector went out a different interface? The primary purpose of the sflow-agent-address

Re: [ovs-dev] [PATCH] ofproto-dpif-sflow: allow sFlow to infer the agent device.

2011-12-06 Thread Ben Pfaff
Thanks for testing. I pushed this to master. On Tue, Dec 06, 2011 at 01:38:16PM -0800, Luca Giraudo wrote: > It seems to work properly. No differences from the my patch. > > Luca > > On Tue, Dec 6, 2011 at 1:02 PM, Ben Pfaff wrote: > > > From: Luca Giraudo > > > > Bug #2407. > > --- > > Hi L

Re: [ovs-dev] [PATCH] ofproto-dpif-sflow: allow sFlow to infer the agent device.

2011-12-06 Thread Luca Giraudo
It seems to work properly. No differences from the my patch. Luca On Tue, Dec 6, 2011 at 1:02 PM, Ben Pfaff wrote: > From: Luca Giraudo > > Bug #2407. > --- > Hi Luca, here's a version of your patch that I tweaked a bit. > I assume that you have a test case for this feature? Will you > please

[ovs-dev] [PATCH] ofproto-dpif-sflow: allow sFlow to infer the agent device.

2011-12-06 Thread Ben Pfaff
From: Luca Giraudo Bug #2407. --- Hi Luca, here's a version of your patch that I tweaked a bit. I assume that you have a test case for this feature? Will you please try this version of the patch out to verify that I did not break it? Thanks, Ben. diff --git a/AUTHORS b/AUTHORS index 994fc46..

[ovs-dev] [PATCH] Fix build failure on RHEL 5.5

2011-12-06 Thread Pravin B Shelar
Signed-off-by: Pravin B Shelar --- datapath/linux/compat/include/linux/ipv6.h|8 datapath/linux/compat/include/linux/jiffies.h |2 ++ datapath/linux/compat/include/net/ipv6.h | 13 + 3 files changed, 15 insertions(+), 8 deletions(-) create mode 100644 data

[ovs-dev] [PATCH] ofproto-dpif-sflow: avoid to specify agent device when configuring sFlow

2011-12-06 Thread Luca Giraudo
--- NEWS |3 ++ lib/netdev.c | 21 +++ lib/netdev.h |1 + ofproto/ofproto-dpif-sflow.c | 56 +++-- vswitchd/vswitch.xml |4 ++- 5 files changed, 70 insertions(+), 15 dele

Re: [ovs-dev] Which userspace tools version for kernel code that's going upstream ?

2011-12-06 Thread Ben Pfaff
On Tue, Dec 06, 2011 at 12:17:34PM -0800, Chris Wright wrote: > * Ben Pfaff (b...@nicira.com) wrote: > > On Tue, Dec 06, 2011 at 03:32:12PM +, selsinork wrote: > > > If I pull the userspace utils from git, which ones are best to use > > > with the code that's making it's way upstream, branch-1.

Re: [ovs-dev] Which userspace tools version for kernel code that's going upstream ?

2011-12-06 Thread Chris Wright
* Ben Pfaff (b...@nicira.com) wrote: > On Tue, Dec 06, 2011 at 03:32:12PM +, selsinork wrote: > > If I pull the userspace utils from git, which ones are best to use > > with the code that's making it's way upstream, branch-1.3, branch-1.4, > > master ? > > Either branch-1.4 or master should be

[ovs-dev] Digital Photo Editing Services - Photo Cutout

2011-12-06 Thread Rick
You are receiving this email because we wish you to use our digital photo editing services. Digital Photo Editing Services : We are a China based Imaging Professionals. We offer basic and advanced digital photo Editing services and solutions like photo Cutout, morphological photo Editing, phot

Re: [ovs-dev] [patch] openvswitch: small potential memory leak in ovs_vport_alloc()

2011-12-06 Thread David Miller
From: Jesse Gross Date: Tue, 6 Dec 2011 09:32:13 -0800 > On Mon, Dec 5, 2011 at 10:27 PM, Dan Carpenter > wrote: >> We're unlikely to hit this leak, but the static checkers complain if we >> don't take care of it. >> >> Signed-off-by: Dan Carpenter > > Acked-by: Jesse Gross Applied, thanks.

Re: [ovs-dev] [patch] openvswitch: small potential memory leak in ovs_vport_alloc()

2011-12-06 Thread Jesse Gross
On Mon, Dec 5, 2011 at 10:27 PM, Dan Carpenter wrote: > We're unlikely to hit this leak, but the static checkers complain if we > don't take care of it. > > Signed-off-by: Dan Carpenter Acked-by: Jesse Gross Thanks Dan. ___ dev mailing list dev@openv

Re: [ovs-dev] [PATCH 1/1] xenserver: Reduce number of xapi DB calls in plugin

2011-12-06 Thread Ben Pfaff
Thanks a lot for verifying that. I pushed this change to master, branch-1.3, branch-1.4. (It's not strictly a bugfix so I wouldn't ordinarily backport it, but based on the fact that you guys sent it I think it must be important to you.) Thanks, Ben. On Tue, Dec 06, 2011 at 09:36:29AM +, Ro

Re: [ovs-dev] Which userspace tools version for kernel code that's going upstream ?

2011-12-06 Thread Ben Pfaff
On Tue, Dec 06, 2011 at 03:32:12PM +, selsinork wrote: > I've patched a vanilla 3.1 kernel with the v3 patchset that DaveM > recently pulled, have built the kernel and loaded the openvswitch > module. So far so good.. > > Using the 1.2.2 userspace, which the web page suggests is the current >

[ovs-dev] Which userspace tools version for kernel code that's going upstream ?

2011-12-06 Thread selsinork
So I was wanting to try openvswitch as it seems to be making it's way upstream. I've patched a vanilla 3.1 kernel with the v3 patchset that DaveM recently pulled, have built the kernel and loaded the openvswitch module. So far so good.. Using the 1.2.2 userspace, which the web page suggests is th

Re: [ovs-dev] [PATCH 1/1] xenserver: Reduce number of xapi DB calls in plugin

2011-12-06 Thread Rob Hoes
Hi Ben, The get_all_records_where functions are indeed not very well documented, probably because the way to use them is a little awkward. I think we should at some point introduce new APIs to selectively query the database and discourage the use of get_all (because it does not scale). Currentl