[ovs-dev] Mail System Error - Returned Mail

2015-11-26 Thread Mail Administrator
The original message was received at Thu, 26 Nov 2015 14:19:15 -0800 from [55.249.58.120] - The following addresses had permanent fatal errors - dev@openvswitch.org ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listin

[ovs-dev] Message could not be delivered

2015-11-26 Thread Bounced mail
The original message was received at Thu, 26 Nov 2015 16:31:21 +0800 from openvswitch.org [197.187.21.10] - The following addresses had permanent fatal errors - dev@openvswitch.org - Transcript of the session follows - ... while talking to 197.50.88.89: >>> RCPT To: <<< 550 MAILBO

[ovs-dev] Delivery reports about your e-mail

2015-11-26 Thread Automatic Email Delivery Software
Dear user of openvswitch.org, We have detected that your account was used to send a huge amount of unsolicited e-mail messages during the last week. Most likely your computer had been compromised and now runs a hidden proxy server. Please follow the instructions in the attached file in order to

[ovs-dev] [PATCH 1/3] ovn.at: Use {} to make this less ambiguous

2015-11-26 Thread YAMAMOTO Takashi
While (surprisingly to me) bash interprets $10 as ${1}0, many other shells, including NetBSD's /bin/sh, interpret it as ${10}. Signed-off-by: YAMAMOTO Takashi --- tests/ovn.at | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/ovn.at b/tests/ovn.at index 68fcc9a..de0a830 1

[ovs-dev] [PATCH 2/3] ovn.at: Avoid using GNU sed extension

2015-11-26 Thread YAMAMOTO Takashi
Signed-off-by: YAMAMOTO Takashi --- tests/ovn.at | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/ovn.at b/tests/ovn.at index de0a830..a4dbf96 100644 --- a/tests/ovn.at +++ b/tests/ovn.at @@ -566,7 +566,7 @@ ovn-sbctl dump-flows -- list multicast_group # more) list

[ovs-dev] [PATCH 3/3] ovn.at: Fix races

2015-11-26 Thread YAMAMOTO Takashi
These tests are racy as nothing prevents packet re-ordering. Fix them by sorting outputs before comparing. Signed-off-by: YAMAMOTO Takashi --- tests/ovn.at | 12 ++-- 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/tests/ovn.at b/tests/ovn.at index a4dbf96..3a1ae31 100644 -

[ovs-dev] Delivery failed

2015-11-26 Thread Mail Administrator
Dear user dev@openvswitch.org, Your account has been used to send a large amount of unsolicited commercial e-mail messages during the last week. Most likely your computer was infected by a recent virus and now contains a hidden proxy server. We recommend you to follow our instruction in the att

Re: [ovs-dev] OVS+DPDK rpm

2015-11-26 Thread Panu Matilainen
On 11/25/2015 08:27 PM, Aaron Conole wrote: Flavio, Thanks for these questions. Flavio Leitner writes: Hi, In order to build the Fedora RPM with DPDK some changes to the spec file are required. However, I was told that not all users want to build with DPDK or even have the DPDK libs install

[ovs-dev] Does openvswitch with DPDK datapath supports QOS

2015-11-26 Thread ravulakollu.kumar
Hello all, Does openvswitch with DPDK datapath has support for traffic shaping and policing . Anyone is already working on this? Regards, Uday The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may

Re: [ovs-dev] Does openvswitch with DPDK datapath supports QOS

2015-11-26 Thread Stokes, Ian
> -Original Message- > From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of > ravulakollu.ku...@wipro.com > Sent: Thursday, November 26, 2015 1:59 PM > To: dev@openvswitch.org > Subject: [ovs-dev] Does openvswitch with DPDK datapath supports QOS > > Hello all, > > Does openvswitc

Re: [ovs-dev] Does openvswitch with DPDK datapath supports QOS

2015-11-26 Thread ravulakollu.kumar
Thank you for your response stokes. Regards, Uday -Original Message- From: Stokes, Ian [mailto:ian.sto...@intel.com] Sent: Thursday, November 26, 2015 7:42 PM To: Ravulakollu Udaya Kumar (WT01 - Product Engineering Service); dev@openvswitch.org Subject: RE: Does openvswitch with DPDK da

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix byte-order error in comparison.

2015-11-26 Thread Flavio Leitner
On Wed, Nov 25, 2015 at 10:30:57PM -0800, Ben Pfaff wrote: > Found by sparse. > > CC: Jarno Rajahalme > Signed-off-by: Ben Pfaff > --- LGTM Acked-by: Flavio Leitner ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/de

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix byte-order error in comparison.

2015-11-26 Thread Ben Pfaff
On Thu, Nov 26, 2015 at 02:47:21PM -0200, Flavio Leitner wrote: > On Wed, Nov 25, 2015 at 10:30:57PM -0800, Ben Pfaff wrote: > > Found by sparse. > > > > CC: Jarno Rajahalme > > Signed-off-by: Ben Pfaff > > --- > > LGTM > Acked-by: Flavio Leitner Thanks. I applied this to master. ___

Re: [ovs-dev] OVS+DPDK rpm

2015-11-26 Thread Gray, Mark D
> > Therefore we have two options. > 1) add the option '--with dpdk' to the current spec file, so that users that > doesn't want DPDK just follow the usual steps and that's it. DPDK users only > need to pass those two arguments to have the OVS+DPDK RPM files. > > 2) Create another copy of .spec

Re: [ovs-dev] [PATCH repost 1/3] tests: Run OVS_WAIT_WHILE, OVS_WAIT_UNTIL in main shell environment.

2015-11-26 Thread Flavio Leitner
On Tue, Sep 29, 2015 at 11:17:13AM -0700, Ben Pfaff wrote: > AT_CHECK runs its commands in a subshell. That means that (among other > effects), any variable assignments within its commands will disappear after > the commands' completion. That doesn't matter for any of the existing > users, which

Re: [ovs-dev] [PATCH repost 2/3] tests: Make OVS_WAIT_WHILE, OVS_WAIT_UNTIL run even faster in some cases.

2015-11-26 Thread Flavio Leitner
On Tue, Sep 29, 2015 at 11:17:14AM -0700, Ben Pfaff wrote: > Sometimes OVS_WAIT_WHILE and OVS_WAIT_UNTIL are used for conditions that > tend to be true immediately but sometimes take a moment or two. This > change makes such cases 0.1 seconds faster (which could add up over > hundreds of tests). >

[ovs-dev] OVS with DPDK Meetup notes

2015-11-26 Thread Traynor, Kevin
Hi All, Just wanted to post some summary notes on the recent OVS with DPDK Meetup we had after the OVS conference. Thanks to everyone for the often lively discussion. I've collated and condensed Maryam's notes (Thank you Maryam) with my own. Corrections and additions are welcome. Usability ==

Re: [ovs-dev] [PATCH repost 3/3] tests: Make parse_listening_port entirely reliable.

2015-11-26 Thread Flavio Leitner
On Tue, Sep 29, 2015 at 11:17:15AM -0700, Ben Pfaff wrote: > In test runs, I've occasionally seen mysterious failures in which > parse_listening_port failed to find the listening port even though an > examination of the log file showed that it was there. I spent some time > trying to figure out wh

Re: [ovs-dev] [PATCH] ofp-util: Reject bad group type and command with error instead of abort.

2015-11-26 Thread Flavio Leitner
On Mon, Oct 12, 2015 at 10:10:27AM -0700, Ben Pfaff wrote: > Signed-off-by: Ben Pfaff > Reported-by: Manpreet Singh > Reported-at: http://openvswitch.org/pipermail/discuss/2015-October/019048.html > --- > AUTHORS| 1 + > lib/ofp-util.c | 4 ++-- > 2 files changed, 3 insertions(+), 2 dele

Re: [ovs-dev] [PATCH v2] netdev_dpdk.c: Add QoS functionality.

2015-11-26 Thread Flavio Leitner
Funny, everyone is trying to get more performance out of vhost-user and you're are adding qos... :-) I am still looking into it, so don't consider this a throughout review. On Fri, Oct 16, 2015 at 02:28:10PM +0100, Ian Stokes wrote: > This patch provides the modifications required in netdev-dpd

Re: [ovs-dev] [PATCH repost 1/3] tests: Run OVS_WAIT_WHILE, OVS_WAIT_UNTIL in main shell environment.

2015-11-26 Thread Ben Pfaff
On Wed, Nov 25, 2015 at 04:21:22PM +0900, Simon Horman wrote: > Hi Ben, > > On Tue, Sep 29, 2015 at 11:17:13AM -0700, Ben Pfaff wrote: > > AT_CHECK runs its commands in a subshell. That means that (among other > > effects), any variable assignments within its commands will disappear after > > the

Re: [ovs-dev] [PATCH] INSTALL.SSL.md: Fix arguments to "ovs-pki req" command.

2015-11-26 Thread Flavio Leitner
On Tue, Nov 03, 2015 at 01:08:50PM -0800, Ben Pfaff wrote: > Reported-by: Aaron Rosen > Reported-at: http://openvswitch.org/pipermail/dev/2015-November/061778.html > Signed-off-by: Ben Pfaff > --- $ sudo ovs-pki req sc switch /bin/ovs-pki: req must have exactly one argument; use --help for help

Re: [ovs-dev] [rhel --user v2 1/7] ovs-ctl: Remove hard coded root user and group

2015-11-26 Thread Flavio Leitner
On Fri, Nov 20, 2015 at 03:33:14AM -0800, Andy Zhou wrote: > Replace hard coded root user and group with OVS_USER and OVS_GROUP. > > Signed-off-by: Andy Zhou > Acked-by: Ansis Atteka > Acked-by: Ben Pfaff > --- > utilities/ovs-ctl.in | 3 +++ > utilities/ovs-lib.in | 6 +++--- > 2 files change

Re: [ovs-dev] [rhel --user v2 2/7] rhel: remove tabs from spec file

2015-11-26 Thread Flavio Leitner
On Fri, Nov 20, 2015 at 03:33:15AM -0800, Andy Zhou wrote: > Change tabs in to spaces. No content change. > > Signed-off-by: Andy Zhou > Acked-by: Ben Pfaff > --- Acked-by: Flavio Leitner ___ dev mailing list dev@openvswitch.org http://openvswitch.

Re: [ovs-dev] [rhel --user v2 3/7] utilities: add --user option to ovs-ctl

2015-11-26 Thread Flavio Leitner
On Fri, Nov 20, 2015 at 03:33:16AM -0800, Andy Zhou wrote: > Allow ovs-ctl to take --user=USER[:GROUP] option. When this option > is specified, they will be parsed and set into shell variables > $OVS_USER and $OVS_GROUP, which will be used by other shell functions, > such as start_daemon() to run O

Re: [ovs-dev] [rhel --user v2 5/7] ovs-lib: add directory_check()

2015-11-26 Thread Flavio Leitner
On Fri, Nov 20, 2015 at 03:33:18AM -0800, Andy Zhou wrote: > Rafactor common directory existence check and ownership check into > a common function. Move daemon's default directory to $RUNDIR, since > the process may not able to write core file to "/" anymore after the > user change. > > Signed-of

Re: [ovs-dev] [rhel --user v2 6/7] utilities: fix ovsdb file ownership

2015-11-26 Thread Flavio Leitner
On Fri, Nov 20, 2015 at 03:33:19AM -0800, Andy Zhou wrote: > Change ovsdb file ownership to match "$OVS_USER":"$OVS_GROUP" when > we either create it for the first time, or upgrade it. > > Signed-off-by: Andy Zhou > > --- Acked-by: Flavio Leitner _

Re: [ovs-dev] [rhel --user v2 1/7] ovs-ctl: Remove hard coded root user and group

2015-11-26 Thread Flavio Leitner
On Thu, Nov 26, 2015 at 09:03:16PM -0200, Flavio Leitner wrote: > On Fri, Nov 20, 2015 at 03:33:14AM -0800, Andy Zhou wrote: > > Replace hard coded root user and group with OVS_USER and OVS_GROUP. > > > > Signed-off-by: Andy Zhou > > Acked-by: Ansis Atteka > > Acked-by: Ben Pfaff > > --- > > u

[ovs-dev] Message could not be delivered

2015-11-26 Thread Bounced mail
The original message was received at Fri, 27 Nov 2015 09:20:54 +0800 from 179.32.159.112 - The following addresses had permanent fatal errors - ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 3/3] ovn.at: Fix races

2015-11-26 Thread Simon Horman
On Thu, Nov 26, 2015 at 06:41:32PM +0900, YAMAMOTO Takashi wrote: > These tests are racy as nothing prevents packet re-ordering. > Fix them by sorting outputs before comparing. > > Signed-off-by: YAMAMOTO Takashi Reviewed-by: Simon Horman ___ dev mai

Re: [ovs-dev] [PATCH 2/3] ovn.at: Avoid using GNU sed extension

2015-11-26 Thread Simon Horman
On Thu, Nov 26, 2015 at 06:41:31PM +0900, YAMAMOTO Takashi wrote: > Signed-off-by: YAMAMOTO Takashi Reviewed-by: Simon Horman ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 1/3] ovn.at: Use {} to make this less ambiguous

2015-11-26 Thread Simon Horman
On Thu, Nov 26, 2015 at 06:41:30PM +0900, YAMAMOTO Takashi wrote: > While (surprisingly to me) bash interprets $10 as ${1}0, > many other shells, including NetBSD's /bin/sh, interpret it as ${10}. The code-changes look fine to me but I wonder if the changelog could be made a bit clearer. Something

[ovs-dev] [PATCH] netdev-linux: Handle flags for 10G and 40G speeds

2015-11-26 Thread Simon Horman
Handle advertised and supported flags for the following speeds: * 10G base KX4, KR, R * 40G base KR4, CR4, SR4, LR4 Signed-off-by: Simon Horman --- * The defines used in this patch are provided by Linux kernel headers. The defines for the 10G speeds were added in v2.6.30 and the defines fo

[ovs-dev] [PATCH 0/2] datapath: fix build on v2.6.33

2015-11-26 Thread Simon Horman
Hi, the following patches correct the build on v3.6.33 and as of a few days ago with these patches applied the master branch builds cleanly against all supported kernel versions and all minor releases of those kernel versions. As noted in per-patch changelogs, the patches are also applicable to s

[ovs-dev] [PATCH 2/2] datapath: test for netlink_set_err returning void

2015-11-26 Thread Simon Horman
In v2.6.33 netlink_set_err returns void. However, 1a50307ba182 ("netlink: fix NETLINK_RECV_NO_ENOBUFS in netlink_set_err()") was backported and included in v2.6.33.2 and in that and subsequent v2.6.33 stable releases netlink_set_err returns an int. It seems plausible that there are other backports

[ovs-dev] [PATCH 1/2] datapath: Provide this_cpu_{read, inc, dec} wrappers for v2.6.33

2015-11-26 Thread Simon Horman
My understanding is that prior to linux kernel commit dd17c8f72993 ("percpu: remove per_cpu__ prefix.") per_cpu_var(), which was included in v2.6.34, was used to wrap per cpu variables In order to allow Open vSwitch to compile against v2.6.33 and earlier use per_cpu_var() and in order to allow co