[ovs-dev] Approved UK RX Reseller

2015-04-02 Thread Jake
All these natural aphrodisiacs are great fun and so on, but do they help to improve potency? All your problems with sexual activity and performance can be easily solved if you are ready for it. http://x.co/8JGqK ___ dev mailing list dev@openvswitch.or

Re: [ovs-dev] [PATCH RFC 1/1] netdev-dpdk: add dpdk vhost-user ports

2015-04-02 Thread Pravin Shelar
On Thu, Apr 2, 2015 at 8:37 AM, Traynor, Kevin wrote: > >> -Original Message- >> From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Pravin Shelar >> Sent: Friday, March 27, 2015 6:08 PM >> To: Flavio Leitner >> Cc: dev@openvswitch.org >> Subject: Re: [ovs-dev] [PATCH RFC 1/1] netd

Re: [ovs-dev] [PATCH] ovs-ctl: Unload vport modules on force-reload-kmod

2015-04-02 Thread Pravin Shelar
On Mon, Mar 30, 2015 at 6:06 AM, Thomas Graf wrote: > We manually rmmod the loaded vports as using modprobe -r > only works if the modules are available through modules.dep > > Upon restart, the vports get automatically reloaded when the > respective vports are added. > > Reported-by: Pravin Shela

Re: [ovs-dev] [PATCH v2] datapath: Turn vports with dependencies into separate modules

2015-04-02 Thread Pravin Shelar
On Tue, Mar 31, 2015 at 1:30 PM, Thomas Graf wrote: > Upstream commit: > The internal and netdev vport remain part of openvswitch.ko. Encap > vports including vxlan, gre, and geneve can be built as separate > modules and are loaded on demand. Modules can be unloaded after use. > Da

Re: [ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 06:44:08PM -0300, Flavio Leitner wrote: > On Thu, 2 Apr 2015 13:47:56 -0700 > Ben Pfaff wrote: > > > On Thu, Apr 02, 2015 at 05:45:34PM -0300, Flavio Leitner wrote: > > > On Thu, 2 Apr 2015 13:37:06 -0700 > > > Ben Pfaff wrote: > > > > > > > On Thu, Apr 02, 2015 at 05:33

Re: [ovs-dev] [PATCH ovn v2] ovn-nbd: Populate OVN Bindings table.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 08:09:16PM -0400, Russell Bryant wrote: > When ovn-nbd gets notified that the contents of the OVN_Northbound > database have changed, it will now ensure that the contents of the > Bindings table in the OVN database are up to date. It will create a > binding if none exists.

Re: [ovs-dev] [PATCH ovn] ovn.xml: Add a tiny bit more detail.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 08:33:02PM -0400, Russell Bryant wrote: > On 04/02/2015 07:02 PM, Ben Pfaff wrote: > > Also correct spelling error: s/ndb/nbd/. > > > > Signed-off-by: Ben Pfaff > > Acked-by: Russell Bryant Thanks for the review! Applied to ovn.

Re: [ovs-dev] [PATCH] INSTALL.md: Add note about EXTRA_CFLAGS.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 05:51:49PM -0400, Russell Bryant wrote: > Add a note about the use of EXTRA_CFLAGS to provide custom CFLAGS for > the build of the Linux kernel module. > > This addition is technically in the "configuring the sources" section > of the document. However, it's the spot where

Re: [ovs-dev] [PATCH v5 4/7] dpif-netdev: Count exact match cache hits.

2015-04-02 Thread Ethan Jackson
Yeah I'd definitely like to see a re-spin of this with a "relaxed increment" helper. Acked-by: Ethan Jackson On Wed, Apr 1, 2015 at 9:21 AM, Daniele Di Proietto wrote: > We used to count exact match cache hits and masked classifier hits > together. This commit splits the DP_STAT_HIT counter in

Re: [ovs-dev] [PATCH v5 3/7] dpif-netdev: Make datapath and flow stats atomic.

2015-04-02 Thread Ethan Jackson
Do we have to use the ATOMIC(long long) syntax, or can we use atomic_ullong for most of the struct variable definitions? If we have to use the former, there should be a comment explaining why. In dp_netdev_flow_used() I don't think we need to read the time and do a MAX. time_msec() is monotonic,

Re: [ovs-dev] [PATCH v5 0/7] Add pmd thread statistics

2015-04-02 Thread Ethan Jackson
Oops nvm, looks like they ended up in my spam folder. Ethan On Thu, Apr 2, 2015 at 6:03 PM, Ethan Jackson wrote: > Could you please resend the emails for these patches? They showed up > on the mailing list, but for some reason they didn't end up in my > inbox. Wondering if there's was a tempor

Re: [ovs-dev] [PATCH v5 0/7] Add pmd thread statistics

2015-04-02 Thread Ethan Jackson
Could you please resend the emails for these patches? They showed up on the mailing list, but for some reason they didn't end up in my inbox. Wondering if there's was a temporary failure or something. Ethan On Wed, Apr 1, 2015 at 9:20 AM, Daniele Di Proietto wrote: > The goal of this series is

Re: [ovs-dev] [PATCH v2 2/2] datapath: Add Stateless TCP Tunneling protocol.

2015-04-02 Thread Jesse Gross
On Thu, Apr 2, 2015 at 12:18 PM, Pravin Shelar wrote: > On Tue, Mar 31, 2015 at 5:07 PM, Jesse Gross wrote: >> On Thu, Mar 26, 2015 at 4:41 PM, Pravin B Shelar wrote: >>> diff --git a/datapath/datapath.c b/datapath/datapath.c >>> index 7f431ed..ea9c6ae 100644 >>> --- a/datapath/datapath.c >>> ++

Re: [ovs-dev] [PATCH v5 2/7] dpif-netdev: Group statistics updates in the slow path.

2015-04-02 Thread Ethan Jackson
Acked-by: Ethan Jackson On Wed, Apr 1, 2015 at 9:20 AM, Daniele Di Proietto wrote: > Since statistics updates might require locking (in future commits) > grouping them will reduce the locking overhead. > > Signed-off-by: Daniele Di Proietto > --- > lib/dpif-netdev.c | 11 ++- > 1 file

Re: [ovs-dev] [PATCH v5 1/7] dpif-netdev: Remove support for DPIF_FP_ZERO_STATS flag

2015-04-02 Thread Ethan Jackson
Acked-by: Ethan Jackson On Wed, Apr 1, 2015 at 9:20 AM, Daniele Di Proietto wrote: > Since flow statistics are thread local and updated without any lock, > it is not correct to do a memset from another thread. > > This commit simply removes the support for the flag. It is not needed > by ofpro

Re: [ovs-dev] [PATCH ovn] ovn.xml: Add a tiny bit more detail.

2015-04-02 Thread Russell Bryant
On 04/02/2015 07:02 PM, Ben Pfaff wrote: > Also correct spelling error: s/ndb/nbd/. > > Signed-off-by: Ben Pfaff Acked-by: Russell Bryant -- Russell Bryant ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] question about availability of Centos 7.1 kernel support

2015-04-02 Thread Sabyasachi Sengupta
Thanks. A patch off branch-2.3 will certainly help as 2.3.1 the latest released OVS version and it would be nice to see it compatible with latest Centos official distro. Can you also update the FAQ/NEWs version matrix? On Thu, 2 Apr 2015, Joe Stringer wrote: I pushed a fix to master for wha

[ovs-dev] [PATCH ovn v2] ovn-nbd: Populate OVN Bindings table.

2015-04-02 Thread Russell Bryant
When ovn-nbd gets notified that the contents of the OVN_Northbound database have changed, it will now ensure that the contents of the Bindings table in the OVN database are up to date. It will create a binding if none exists. If one does exist, it will update its contents as necessary, though tod

Re: [ovs-dev] question about availability of Centos 7.1 kernel support

2015-04-02 Thread Joe Stringer
I pushed a fix to master for what looks like the corresponding RHEL7 kernel last week (I didn't backport this to 2.3, was I meant to?): https://github.com/openvswitch/ovs/commit/13dd4a9738e99684a56b10ce2f1a5ee2d2ec2f9f On 1 April 2015 at 16:57, Ben Pfaff wrote: > Seems likely. > > For new kernel

Re: [ovs-dev] [PATCH ovn] ovn-nbd: Populate OVN Bindings table.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 07:30:28PM -0400, Russell Bryant wrote: > On 04/02/2015 06:58 PM, Ben Pfaff wrote: > > On Thu, Apr 02, 2015 at 05:42:15PM -0400, Russell Bryant wrote: > >> When ovn-nbd gets notified that the contents of the OVN_Northbound > >> database have changed, it will now ensure that

Re: [ovs-dev] [PATCH ovn] ovn-nbd: Populate OVN Bindings table.

2015-04-02 Thread Russell Bryant
On 04/02/2015 06:58 PM, Ben Pfaff wrote: > On Thu, Apr 02, 2015 at 05:42:15PM -0400, Russell Bryant wrote: >> When ovn-nbd gets notified that the contents of the OVN_Northbound >> database have changed, it will now ensure that the contents of the >> Bindings table in the OVN database are up to date

Re: [ovs-dev] Offloading OVS Flows to the device.

2015-04-02 Thread David Christensen
> > I thought of creating one "dummy netdev" per function which will represent > > each function in open vswitch. These ports can be treated like logical > > connection to the functions. Whenever there is flow-miss in the device, it > will > > punt the packet to the linux kernel via respective "dum

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when uninstalling the driver (race condition)

2015-04-02 Thread Eitan Eliahu
Hi Sorin, Per your example: suppose there is another IRP which is currently executing and almost completed. This thread will call release and free the memory pointed by switchContext. As you said the switchContext of the first thread maintains its value. Then, reference to - switchContext ->ref

[ovs-dev] [PATCH ovn] ovn.xml: Add a tiny bit more detail.

2015-04-02 Thread Ben Pfaff
Also correct spelling error: s/ndb/nbd/. Signed-off-by: Ben Pfaff --- ovn/ovn.xml |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ovn/ovn.xml b/ovn/ovn.xml index f3cd3b6..0906272 100644 --- a/ovn/ovn.xml +++ b/ovn/ovn.xml @@ -472,9 +472,9 @@ For every

Re: [ovs-dev] [PATCH ovn] ovn-nbd: Populate OVN Bindings table.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 05:42:15PM -0400, Russell Bryant wrote: > When ovn-nbd gets notified that the contents of the OVN_Northbound > database have changed, it will now ensure that the contents of the > Bindings table in the OVN database are up to date. It will create a > binding if none exists.

Re: [ovs-dev] [ovsdb speedup 00/18] improve ovsdb connection scaling

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 02:39:22PM -0700, Andy Zhou wrote: > On Wed, Apr 1, 2015 at 4:17 PM, Ben Pfaff wrote: > > On Thu, Mar 19, 2015 at 12:08:16AM -0700, Andy Zhou wrote: > >> This patch set implements two ideas improve ovsdb connection scaling: > >> > >> * Allow multiple jsonrpc connection to s

Re: [ovs-dev] [PATCH RFC 1/1] docs: Clarify bonding of DPDK enabled interfaces.

2015-04-02 Thread O Mahony, Billy
> -Original Message- > From: Ben Pfaff [mailto:b...@nicira.com] > Sent: Thursday, April 2, 2015 4:45 PM > To: O Mahony, Billy > Cc: dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH RFC 1/1] docs: Clarify bonding of DPDK > enabled interfaces. > > On Wed, Apr 01, 2015 at 04:33:15PM +0100

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when uninstalling the driver (race condition)

2015-04-02 Thread Sorin Vinturis
Hi Eitan, I will try to explain with an example. Considering that switchContext != NULL and switchContext->refCount == 1, we have the following scenario: On thread 1, a new packet is received and OvsAcquireSwitchContext() is called. The first condition checks the switchContext against NULL and

[ovs-dev] [PATCH] INSTALL.md: Add note about EXTRA_CFLAGS.

2015-04-02 Thread Russell Bryant
Add a note about the use of EXTRA_CFLAGS to provide custom CFLAGS for the build of the Linux kernel module. This addition is technically in the "configuring the sources" section of the document. However, it's the spot where custom CFLAGS is discussed already, so that seemed like the best place to

Re: [ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Flavio Leitner
On Thu, 2 Apr 2015 13:47:56 -0700 Ben Pfaff wrote: > On Thu, Apr 02, 2015 at 05:45:34PM -0300, Flavio Leitner wrote: > > On Thu, 2 Apr 2015 13:37:06 -0700 > > Ben Pfaff wrote: > > > > > On Thu, Apr 02, 2015 at 05:33:25PM -0300, Flavio Leitner wrote: > > > > On Thu, 2 Apr 2015 12:58:37 -0700 > >

[ovs-dev] [PATCH ovn] ovn-nbd: Populate OVN Bindings table.

2015-04-02 Thread Russell Bryant
When ovn-nbd gets notified that the contents of the OVN_Northbound database have changed, it will now ensure that the contents of the Bindings table in the OVN database are up to date. It will create a binding if none exists. If one does exist, it will update its contents as necessary, though tod

Re: [ovs-dev] [ovsdb speedup 00/18] improve ovsdb connection scaling

2015-04-02 Thread Andy Zhou
On Wed, Apr 1, 2015 at 4:17 PM, Ben Pfaff wrote: > On Thu, Mar 19, 2015 at 12:08:16AM -0700, Andy Zhou wrote: >> This patch set implements two ideas improve ovsdb connection scaling: >> >> * Allow multiple jsonrpc connection to share a single ovsdb monitor, thus >> maintaining a single set of ch

Re: [ovs-dev] [PATCH] datapath-windows: Solved BSOD when uninstalling the driver (race condition)

2015-04-02 Thread Eitan Eliahu
Hi Sorin, Can you please explain how the case where FilterDetach is called on a different core concurrently with the Release and between switchContext is checked for NULL and the swicthContext->refCount is referenced ? (where it is marked >>) It seems that FilterDetach would set gOvsSwit

[ovs-dev] [PATCH v3] datapath: Update inner offsets when expanding headroom.

2015-04-02 Thread Jesse Gross
skb protocol offsets are relative to the beginning of the buffer and therefore must be updated if the buffer size is expanded. Kernel functions do this automatically for existing fields but obviously not for anything that we backport. This introduces a wrapper for pskb_expand_head() to update the i

[ovs-dev] UK Pfizer-made medications

2015-04-02 Thread Lelia
All you need is sex! To make sure your life is full of sex, try out this brand new medication now! An erection always requires the interaction of your brain, nerves, and blood vessels. http://x.co/8JGpC ___ dev mailing list dev@openvswitch.org http://

Re: [ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 05:45:34PM -0300, Flavio Leitner wrote: > On Thu, 2 Apr 2015 13:37:06 -0700 > Ben Pfaff wrote: > > > On Thu, Apr 02, 2015 at 05:33:25PM -0300, Flavio Leitner wrote: > > > On Thu, 2 Apr 2015 12:58:37 -0700 > > > Ben Pfaff wrote: > > > > > > > On Thu, Apr 02, 2015 at 03:57

Re: [ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Flavio Leitner
On Thu, 2 Apr 2015 13:37:06 -0700 Ben Pfaff wrote: > On Thu, Apr 02, 2015 at 05:33:25PM -0300, Flavio Leitner wrote: > > On Thu, 2 Apr 2015 12:58:37 -0700 > > Ben Pfaff wrote: > > > > > On Thu, Apr 02, 2015 at 03:57:20PM -0300, Flavio Leitner wrote: > > > > The ofproto-dpif creates dummies back

Re: [ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 05:33:25PM -0300, Flavio Leitner wrote: > On Thu, 2 Apr 2015 12:58:37 -0700 > Ben Pfaff wrote: > > > On Thu, Apr 02, 2015 at 03:57:20PM -0300, Flavio Leitner wrote: > > > The ofproto-dpif creates dummies backed by sockets so depending > > > on the order of execution when b

Re: [ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Flavio Leitner
On Thu, 2 Apr 2015 12:58:37 -0700 Ben Pfaff wrote: > On Thu, Apr 02, 2015 at 03:57:20PM -0300, Flavio Leitner wrote: > > The ofproto-dpif creates dummies backed by sockets so depending > > on the order of execution when bridge is reconfiguring, an active > > socket may run first and not find the

Re: [ovs-dev] [PATCH] datapath: Update inner offsets when expanding headroom.

2015-04-02 Thread Jesse Gross
On Tue, Mar 31, 2015 at 4:34 PM, Pravin Shelar wrote: > On Tue, Mar 31, 2015 at 1:18 PM, Jesse Gross wrote: >> On Tue, Mar 31, 2015 at 1:12 PM, Pravin Shelar wrote: >>> On Tue, Mar 31, 2015 at 11:44 AM, Jesse Gross wrote: On Tue, Mar 31, 2015 at 11:02 AM, Pravin Shelar wrote: > On Tue

Re: [ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 03:57:20PM -0300, Flavio Leitner wrote: > The ofproto-dpif creates dummies backed by sockets so depending > on the order of execution when bridge is reconfiguring, an active > socket may run first and not find the file. That is usually not a > problem because it will try to

Re: [ovs-dev] [PATCH] INSTALL.md: Document how to add custom compiler flags.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 01:49:12PM -0400, Russell Bryant wrote: > On 04/02/2015 12:52 PM, Ben Pfaff wrote: > > CC: Mark B Kavanagh > > Signed-off-by: Ben Pfaff > > --- > > INSTALL.md | 8 > > 1 file changed, 8 insertions(+) > > > > diff --git a/INSTALL.md b/INSTALL.md > > index 273093b

Re: [ovs-dev] [PATCH v3] datapath-windows: Make GET_PID a separate IOCTL

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 07:35:32PM +, Sorin Vinturis wrote: > Added a new IOCTL in order to retrieve the PID from the kernel datapath. > The new method uses a direct and cleaner way, as opposed to the old way > of using a Netlink transaction, avoiding the unnecessary overhead. > > Signed-off-b

[ovs-dev] [PATCH v3] datapath-windows: Make GET_PID a separate IOCTL

2015-04-02 Thread Sorin Vinturis
Added a new IOCTL in order to retrieve the PID from the kernel datapath. The new method uses a direct and cleaner way, as opposed to the old way of using a Netlink transaction, avoiding the unnecessary overhead. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https:/

Re: [ovs-dev] [PATCH v2 2/2] datapath: Add Stateless TCP Tunneling protocol.

2015-04-02 Thread Pravin Shelar
On Tue, Mar 31, 2015 at 5:07 PM, Jesse Gross wrote: > On Thu, Mar 26, 2015 at 4:41 PM, Pravin B Shelar wrote: >> diff --git a/datapath/datapath.c b/datapath/datapath.c >> index 7f431ed..ea9c6ae 100644 >> --- a/datapath/datapath.c >> +++ b/datapath/datapath.c >> @@ -2192,6 +2192,7 @@ static int __

[ovs-dev] [PATCH v2] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Flavio Leitner
The ofproto-dpif creates dummies backed by sockets so depending on the order of execution when bridge is reconfiguring, an active socket may run first and not find the file. That is usually not a problem because it will try to reconnect one second later. However, it breaks the testsuite. This pat

[ovs-dev] [PATCH branch-2.3] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Flavio Leitner
The ofproto-dpif creates dummies backed by sockets so depending on the order of execution when bridge is reconfiguring, an active socket may run first and not find the file. That is usually not a problem because it will try to reconnect one second later. However, it breaks the testsuite. This pat

[ovs-dev] [PATCH] testsuite: ofproto-dpif: fix sockets dependencies

2015-04-02 Thread Flavio Leitner
The ofproto-dpif creates dummies backed by sockets so depending on the order of execution when bridge is reconfiguring, an active socket may run first and not find the file. That is usually not a problem because it will try to reconnect one second later. However, it breaks the testsuite. This pat

Re: [ovs-dev] [PATCH] INSTALL.md: Document how to add custom compiler flags.

2015-04-02 Thread Russell Bryant
On 04/02/2015 12:52 PM, Ben Pfaff wrote: > CC: Mark B Kavanagh > Signed-off-by: Ben Pfaff > --- > INSTALL.md | 8 > 1 file changed, 8 insertions(+) > > diff --git a/INSTALL.md b/INSTALL.md > index 273093b..cde9a20 100644 > --- a/INSTALL.md > +++ b/INSTALL.md > @@ -192,6 +192,14 @@ To u

Re: [ovs-dev] sFlow extension for tunnels / MPLS - question about user-space flow-cache

2015-04-02 Thread Neil McKee
I found the thread where we discussed option (3) back in August 2011. I had forgotten that in the earlier implementations we really did send the actions to userspace with the sample upcall. It looks like this was taken out as part of the process of simplifying the kernel module so it could be ups

[ovs-dev] [PATCH] INSTALL.md: Document how to add custom compiler flags.

2015-04-02 Thread Ben Pfaff
CC: Mark B Kavanagh Signed-off-by: Ben Pfaff --- INSTALL.md | 8 1 file changed, 8 insertions(+) diff --git a/INSTALL.md b/INSTALL.md index 273093b..cde9a20 100644 --- a/INSTALL.md +++ b/INSTALL.md @@ -192,6 +192,14 @@ To use 'clang' compiler: `% ./configure CC=clang` +To su

Re: [ovs-dev] [PATCH RFC] automake: fix rte_memcopy for gcc versions <=4.8.2

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 04:38:13PM +, Kavanagh, Mark B wrote: > > >On 04/01/15 at 07:45am, Kavanagh, Mark B wrote: > >> > >> >What's wrong with setting CFLAGS on the "configure" or "make" command > >> >line? This is the standard way to do this with Automake and Autoconf. > >> > > >> > >> Sure

Re: [ovs-dev] [PATCH RFC] automake: fix rte_memcopy for gcc versions <=4.8.2

2015-04-02 Thread Kavanagh, Mark B
>On 04/01/15 at 07:45am, Kavanagh, Mark B wrote: >> >> >What's wrong with setting CFLAGS on the "configure" or "make" command >> >line? This is the standard way to do this with Automake and Autoconf. >> > >> >> Sure. However, setting CFLAGS on the command line overwrites any values >> CFLAGS has

[ovs-dev] [PATCH v2 7/7] INSTALL.DPDK.md: Update documentation on multiple threads.

2015-04-02 Thread Daniele Di Proietto
Signed-off-by: Daniele Di Proietto --- INSTALL.DPDK.md | 32 ++-- 1 file changed, 26 insertions(+), 6 deletions(-) diff --git a/INSTALL.DPDK.md b/INSTALL.DPDK.md index 60889d0..82aadc2 100644 --- a/INSTALL.DPDK.md +++ b/INSTALL.DPDK.md @@ -11,8 +11,6 @@ It has not bee

[ovs-dev] [PATCH v2 6/7] dpif-netdev: Allow configuring number of PMD threads.

2015-04-02 Thread Daniele Di Proietto
Dealing with CPU masks can be confusing and unnecessary for simple configurations. This commit introduces the 'other_config:n-pmd-cores' key to specify the desired number of CPU cores reserved to the PMD threads. The 'other_config:pmd-cpu-mask' (if specified) overrides this parameter. Signed-off

[ovs-dev] [PATCH v2 5/7] dpif-netdev: Allow controlling non PMD threads' affinity.

2015-04-02 Thread Daniele Di Proietto
This commit introduces the 'other_config:nonpmd-cpu-mask' key to control the CPU affinity of non PMD threads. Signed-off-by: Daniele Di Proietto --- lib/dpif-netdev.c | 62 +- lib/dpif-provider.h| 7 ++-- lib/dpif.c | 5 +-- lib/

[ovs-dev] [PATCH v2 4/7] ovs-thread: Keep a list of all threads.

2015-04-02 Thread Daniele Di Proietto
This will be used by next commit Signed-off-by: Daniele Di Proietto --- lib/ovs-thread.c | 51 +-- lib/ovs-thread.h | 13 + 2 files changed, 50 insertions(+), 14 deletions(-) diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c index 7d38c

[ovs-dev] [PATCH v2 3/7] dpif-netdev: Never free non-pmd structure.

2015-04-02 Thread Daniele Di Proietto
The non-pmd structure (the dp_netdev_pmd_thread with core_id == NON_PMD_CORE_ID) should have the same lifecycle as the dp_netdev structure, for two reasons: * Destroying and recreating it is useless * Some thread (i.e. a monitor thread) calling dpif_netdev_execute() expects the structure to be t

[ovs-dev] [PATCH v2 1/7] netdev-dpdk: Use specific spinlock for stats.

2015-04-02 Thread Daniele Di Proietto
Right now ethernet and ring devices use a mutex, while vhost devices use a mutex or a a spinlock to protect statistics. This commit introduces a single spinlock that's always used for stats updates. Signed-off-by: Daniele Di Proietto --- lib/netdev-dpdk.c | 29 + 1 f

[ovs-dev] [PATCH v2 0/7] DPDK: simplify configuration

2015-04-02 Thread Daniele Di Proietto
This series improves OVS configuration with DPDK in three ways: * netdev-dpdk is patched to work with smaller NICs (without lots of transmission queues). * the 'other_config:nonpmd-cpu-mask' key is introduced: it can be used to limit OVS non PMD threads to a particular set of cores. * the 'oth

[ovs-dev] [PATCH v2 2/7] netdev-dpdk: Adapt the requested number of tx and rx queues.

2015-04-02 Thread Daniele Di Proietto
This commit changes the semantics of 'netdev_set_multiq()' to allow OVS DPDK to run on device with limited multi queue support. * If a netdev doesn't have the requested number of rxqs it can simply inform the datapath without failing. * If a netdev doesn't have the requested number of txqs it sh

Re: [ovs-dev] [PATCH ovn] ovs-sandbox: Add support for ovn-nbd.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 11:49:47AM -0400, Russell Bryant wrote: > Update ovs-sandbox to run ovn-nbd when it is run with OVN enabled. In > passing, also fix the indentation of two lines to use spaces instead > of tabs. > > Signed-off-by: Russell Bryant Applied, thanks! __

[ovs-dev] [PATCH ovn] ovs-sandbox: Add support for ovn-nbd.

2015-04-02 Thread Russell Bryant
Update ovs-sandbox to run ovn-nbd when it is run with OVN enabled. In passing, also fix the indentation of two lines to use spaces instead of tabs. Signed-off-by: Russell Bryant --- tutorial/ovs-sandbox | 15 --- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/tutoria

Re: [ovs-dev] [PATCH RFC 1/1] docs: Clarify bonding of DPDK enabled interfaces.

2015-04-02 Thread Ben Pfaff
On Wed, Apr 01, 2015 at 04:33:15PM +0100, billy.o.mah...@intel.com wrote: > From: Billy O'Mahony > > Unlike system interfaces, DPDK enabled interfaces must have their interface > type explicitly set when used to create bonded ports. Mention this at the > relevant points in the documentation. >

Re: [ovs-dev] Offloading OVS Flows to the device.

2015-04-02 Thread Gray, Mark D
> 2. I saw a new "netlink" interface added to add flows/actions to the switch > device. Does ovs-ofctl usethis new netlink to add flows to the hardware? Or > is there any other utility to do the same? By the way, John cc'ed, is also working on this. He might have some thoughts > > Thanks,Mehul.

Re: [ovs-dev] [PATCH RFC 1/1] netdev-dpdk: add dpdk vhost-user ports

2015-04-02 Thread Traynor, Kevin
> -Original Message- > From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Pravin Shelar > Sent: Friday, March 27, 2015 6:08 PM > To: Flavio Leitner > Cc: dev@openvswitch.org > Subject: Re: [ovs-dev] [PATCH RFC 1/1] netdev-dpdk: add dpdk vhost-user ports > > On Fri, Mar 27, 2015 a

Re: [ovs-dev] [PATCH ovn 2/2] ovn-nbd: Calculate 'up' state for logical ports.

2015-04-02 Thread Russell Bryant
On 04/02/2015 11:27 AM, Ben Pfaff wrote: > On Thu, Apr 02, 2015 at 11:24:51AM -0400, Russell Bryant wrote: >> On 04/02/2015 11:18 AM, Ben Pfaff wrote: >>> On Wed, Apr 01, 2015 at 08:04:21PM -0400, Russell Bryant wrote: When the state of the chassis column in the Bindings table changes for

Re: [ovs-dev] [PATCH ovn 2/2] ovn-nbd: Calculate 'up' state for logical ports.

2015-04-02 Thread Ben Pfaff
On Thu, Apr 02, 2015 at 11:24:51AM -0400, Russell Bryant wrote: > On 04/02/2015 11:18 AM, Ben Pfaff wrote: > > On Wed, Apr 01, 2015 at 08:04:21PM -0400, Russell Bryant wrote: > >> When the state of the chassis column in the Bindings table changes for > >> any row, ovn-nbd will notice and trigger re

Re: [ovs-dev] [PATCH ovn 2/2] ovn-nbd: Calculate 'up' state for logical ports.

2015-04-02 Thread Russell Bryant
On 04/02/2015 11:18 AM, Ben Pfaff wrote: > On Wed, Apr 01, 2015 at 08:04:21PM -0400, Russell Bryant wrote: >> When the state of the chassis column in the Bindings table changes for >> any row, ovn-nbd will notice and trigger recalculating the 'up' state >> for all logical ports. >> >> This can be t

Re: [ovs-dev] [PATCH ovn 2/2] ovn-nbd: Calculate 'up' state for logical ports.

2015-04-02 Thread Ben Pfaff
On Wed, Apr 01, 2015 at 08:04:21PM -0400, Russell Bryant wrote: > When the state of the chassis column in the Bindings table changes for > any row, ovn-nbd will notice and trigger recalculating the 'up' state > for all logical ports. > > This can be tesed manually by starting up ovs-sandbox with o

Re: [ovs-dev] [PATCH v2] datapath-windows: Make GET_PID a separate IOCTL

2015-04-02 Thread Nithin Raju
> On Apr 2, 2015, at 2:14 AM, Sorin Vinturis > wrote: > > Added a new IOCTL in order to retrieve the PID from the kernel datapath. > The new method uses a direct and cleaner way, as opposed to the old way > of using a Netlink transaction, avoiding the unnecessary overhead. > > Signed-off-by: So

Re: [ovs-dev] [PATCH] ovn: Add logo in SVG and PNG format.

2015-04-02 Thread Kyle Mestery
On Thu, Apr 2, 2015 at 12:57 AM, Ben Pfaff wrote: > On Thu, Apr 02, 2015 at 12:35:21AM +0200, Thomas Graf wrote: > > On 04/01/15 at 09:17am, Ben Pfaff wrote: > > > On Wed, Apr 01, 2015 at 11:12:39AM -0500, Kyle Mestery wrote: > > > > On Wed, Apr 1, 2015 at 10:39 AM, Ben Pfaff wrote: > > > > > Ho

Re: [ovs-dev] [PATCH v2] datapath-windows: Make GET_PID a separate IOCTL

2015-04-02 Thread Alin Serdean
Just a small nit, indentation issue: +static NTSTATUS OvsGetPidHandler(POVS_USER_PARAMS_CONTEXT usrParamsCtx, +UINT32 *replyLen); Acked-by: Alin Gabriel Serdean Tested-by: Alin Gabriel Serdean -Mesaj original- De la: dev [mailto:dev-boun...@openvswitc

[ovs-dev] Male impotence drug

2015-04-02 Thread Elise
As the population ages erectile dysfunction increases its rates! Have you been injured? Be realistic about sexual expectations for yourself and your partner. It is not always idealistic. http://x.co/8JGmZ ___ dev mailing list dev@openvswitch.org http:

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

2015-04-02 Thread Mail Administrator
The original message was received at Thu, 2 Apr 2015 19:51:37 +0800 from 101.193.36.235 - The following addresses had permanent fatal errors - dev@openvswitch.org - Transcript of session follows - ... while talking to openvswitch.org.: 554 Service unavailable; [20.144.61.26] block

Re: [ovs-dev] Offloading OVS Flows to the device.

2015-04-02 Thread Gray, Mark D
> > I thought of creating one "dummy netdev" per function which will represent > each function in open vswitch. These ports can be treated like logical > connection to the functions. Whenever there is flow-miss in the device, it > will > punt the packet to the linux kernel via respective "dummy n

Re: [ovs-dev] Offloading OVS Flows to the device.

2015-04-02 Thread Mehul Vora
I thought of creating one "dummy netdev" per function which will represent each function in open vswitch. These ports can be treated like logical connection to the functions. Whenever there is flow-miss in the device, it will punt the packet to the linux kernel via respective "dummy netdev" and

[ovs-dev] [PATCH v2] datapath-windows: Make GET_PID a separate IOCTL

2015-04-02 Thread Sorin Vinturis
Added a new IOCTL in order to retrieve the PID from the kernel datapath. The new method uses a direct and cleaner way, as opposed to the old way of using a Netlink transaction, avoiding the unnecessary overhead. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https:/

Re: [ovs-dev] [PATCH] datapath-windows: Make GET_PID a separate IOCTL

2015-04-02 Thread Sorin Vinturis
Hi Nithin, Thanks for your review. Please see my answers inline. --Sorin -Original Message- From: Nithin Raju [mailto:nit...@vmware.com] Sent: Thursday, 2 April, 2015 04:27 To: Sorin Vinturis Cc: dev@openvswitch.org Subject: Re: [ovs-dev] [PATCH] datapath-windows: Make GET_PID a separa

Re: [ovs-dev] Offloading OVS Flows to the device.

2015-04-02 Thread Gray, Mark D
> Hello, > I am working on PF/VF driver for PCI-E based SR-IOV capable card. This > device has got few cpus and ram and is capable of running linux and any > linux-userland application on the device it self. Register layout (for > datapath > like TX/RX ring, stats etc.) between host and device is