[ovs-dev] (no subject)

2015-03-25 Thread dev-bounces
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v2] vswitch.ovsschema: Add datapath_types and port_types.

2015-03-25 Thread O Mahony, Billy
Hi Ben, I have verified the modified code works as expected when run with/without --dpdk on the vswitchd command line. I'm wondering why there is a call to 'discover_types' in two places? I think it might be to do with something that I could not figure out when I was trying to ensure discover_

Re: [ovs-dev] [PATCH] dpif-netdev: Wait for threads to quiesce before freeing port.

2015-03-25 Thread Daniele Di Proietto
> On 24 Mar 2015, at 17:03, Ben Pfaff wrote: > > I haven't looked at the code yet, but one restriction on > ovsrcu_synchronize() is that the current thread can't have active > pointers to any RCU-protected data (they can get freed). Is that safe > here? > There’s one point where we call port_

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

2015-03-25 Thread Daniele Di Proietto
Sure, I will rebase and repost soon. Thanks, Daniele > On 24 Mar 2015, at 21:59, Ethan Jackson wrote: > > Patch no longer applies unfortunately, daniele could you please rebase > and resend it when you have a chance? > > Ethan > > On Thu, Mar 12, 2015 at 11:04 AM, Daniele Di Proietto > wro

Re: [ovs-dev] [dpdk-dev] ovs-dpdk: placing the metadata

2015-03-25 Thread Olivier MATZ
Hi Zoltan, On 03/24/2015 06:42 PM, Zoltan Kiss wrote: Hi, I've noticed in lib/netdev-dpdk.c that __rte_pktmbuf_init() stores the packet metadata right after "struct rte_mbuf", and before the buffer data: /* start of buffer is just after mbuf structure */ m->buf_addr = (char *)m + siz

[ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent state.

2015-03-25 Thread Kevin Traynor
As ovsrcu_synchronize() is used when setting virtio_dev to NULL, ovsrcu_quiesce_start() must be called before destroy_device() returns. Otherwise there will be warnings about the thread not quiescing. Use of ovs_thread_create() instead of pthread_create() is optional but as we are now setting quies

Re: [ovs-dev] [dpdk-dev] ovs-dpdk: placing the metadata

2015-03-25 Thread Zoltan Kiss
Hi Olivier, On 25/03/15 17:04, Olivier MATZ wrote: Hi Zoltan, On 03/24/2015 06:42 PM, Zoltan Kiss wrote: Hi, I've noticed in lib/netdev-dpdk.c that __rte_pktmbuf_init() stores the packet metadata right after "struct rte_mbuf", and before the buffer data: /* start of buffer is just after

[ovs-dev] ovs-dpdk: ofpbuf reinitialization

2015-03-25 Thread Zoltan Kiss
Hi, Looking around in the DPDK code I've found that it only initializes the packet metadata (whih contains the struct ofpbuf belonging to the packet) during setup, as the packet initializer of rte_mempool_create. That means that every time a packet buffer is released back by OVS to the buffer

[ovs-dev] BANNED Seduction Method?

2015-03-25 Thread Dana Wesley
Seriously! Getting laid is simple! All you have to do is read this email. And then watch this completely free video that shows you a scientifically-proven mind control trick that gets women turned on, attracted to you, and wanting to bang.within seconds. Click Here To Watch http://hop.k

[ovs-dev] (no subject)

2015-03-25 Thread dev-bounces
___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] ovs-dpdk: ofpbuf reinitialization

2015-03-25 Thread Pravin Shelar
On Wed, Mar 25, 2015 at 12:25 PM, Zoltan Kiss wrote: > Hi, > > Looking around in the DPDK code I've found that it only initializes the > packet metadata (whih contains the struct ofpbuf belonging to the packet) > during setup, as the packet initializer of rte_mempool_create. > That means that ever

[ovs-dev] [PATCH 0/11] datapath-windows: Created multiple tags for memory pools

2015-03-25 Thread Sorin Vinturis
This patch series adds support for multiple memory pool tags for OVS extension. Sorin Vinturis (11): [PATCH 01/11] datapath-windows: Support for allocating/releasing [PATCH 02/11] datapath-windows: Added specific pool tag for datapath code [PATCH 03/11] datapath-windows: Added specific pool

[ovs-dev] [PATCH 01/11] datapath-windows: Support for allocating/releasing memory with tag

2015-03-25 Thread Sorin Vinturis
Added functions for allocating and releasing memory with specified tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Util.c | 15 +++ datapath-windows/ovsext/Util.h | 2 +

[ovs-dev] [PATCH 04/11] datapath-windows: Added specific pool tag for event code

2015-03-25 Thread Sorin Vinturis
All memory allocations within event code have 'ESVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Event.c | 18 ++ datapath-windows/ovsext/Util.h | 1 + 2

[ovs-dev] [PATCH 03/11] datapath-windows: Added specific pool tag for buffermgmt code

2015-03-25 Thread Sorin Vinturis
All MDL memory allocations within buffermgmt code have 'BSVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/BufferMgmt.c | 6 +++--- datapath-windows/ovsext/Util.h | 1

[ovs-dev] [PATCH 02/11] datapath-windows: Added specific pool tag for datapath code

2015-03-25 Thread Sorin Vinturis
All memory allocations within datapath code have 'DSVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Datapath.c | 38 +++--- datapath-windows

[ovs-dev] [PATCH 05/11] datapath-windows: Added specific pool tag for flow code

2015-03-25 Thread Sorin Vinturis
All memory allocations within flow code have 'LSVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Flow.c | 11 ++- datapath-windows/ovsext/Util.h | 1 + 2 files chan

[ovs-dev] [PATCH 06/11] datapath-windows: Added specific pool tag for vxlan code

2015-03-25 Thread Sorin Vinturis
All memory allocations within vxlan code have 'XSVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Util.h | 1 + datapath-windows/ovsext/Vxlan.c | 5 +++-- 2 files changed,

[ovs-dev] [PATCH 07/11] datapath-windows: Added specific pool tag for iphelper code

2015-03-25 Thread Sorin Vinturis
All memory allocations within iphelper code have 'HSVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/IpHelper.c | 75 +- datapath-windows

[ovs-dev] [PATCH 08/11] datapath-windows: Added specific pool tag for oid code

2015-03-25 Thread Sorin Vinturis
All memory allocations within oid code have 'ASVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Oid.c | 41 + datapath-windows/ovsex

[ovs-dev] [PATCH 11/11] datapath-windows: Added specific pool tag for vport code

2015-03-25 Thread Sorin Vinturis
All memory allocations within vport code have 'PSVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Util.h | 1 + datapath-windows/ovsext/Vport.c | 31 --

[ovs-dev] [PATCH 09/11] datapath-windows: Added specific pool tag for switch code

2015-03-25 Thread Sorin Vinturis
All memory allocations within switch code have 'SSVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/Switch.c | 53 +++- datapath-windows/o

[ovs-dev] [PATCH 10/11] datapath-windows: Added specific pool tag for user code

2015-03-25 Thread Sorin Vinturis
All memory allocations within user code have 'USVO' pool tag. Signed-off-by: Sorin Vinturis Reported-by: Alin Gabriel Serdean Reported-at: https://github.com/openvswitch/ovs-issues/issues/56 --- datapath-windows/ovsext/User.c | 18 ++ datapath-windows/ovsext/Util.h | 1 + 2 fil

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

2015-03-25 Thread Pravin Shelar
On Tue, Mar 17, 2015 at 5:00 AM, 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 v4 4/5] ofproto-dpif: Restore metadata and registers on recirculation.

2015-03-25 Thread Ethan Jackson
Copyright year in ofproto-dpif-rid.c needs to be updated. In compose_output_action__() it's not clear to me why we don't pass the table_id to xlate_table_action() anymore. Ask discussed offline, I think it would be a bit cleaner to garbage collect the recird ids. That said, I don't think it shou

Re: [ovs-dev] [PATCH] compat: Fix RHEL7 build.

2015-03-25 Thread Pravin Shelar
On Tue, Mar 24, 2015 at 4:59 PM, Joe Stringer wrote: > Tested against 3.10.0-229.el7.x86_64. > > Signed-off-by: Joe Stringer looks good. Acked-by: Pravin B Shelar ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] Mail System Error - Returned Mail

2015-03-25 Thread Bounced mail
The original message was received at Thu, 26 Mar 2015 09:17:11 +0700 from 154.87.35.105 - The following addresses had permanent fatal errors - - Transcript of session follows - ... while talking to 134.60.247.29: >>> MAIL FROM:"Bounced mail" <<< 502 Access denied __

Re: [ovs-dev] [PATCH] netdev-dpdk: Put cuse thread into quiescent state.

2015-03-25 Thread Ben Pfaff
On Wed, Mar 25, 2015 at 05:43:06PM +, Kevin Traynor wrote: > As ovsrcu_synchronize() is used when setting virtio_dev to NULL, > ovsrcu_quiesce_start() must be called before destroy_device() returns. > Otherwise there will be warnings about the thread not quiescing. > Use of ovs_thread_create()

[ovs-dev] [PATCH 1/2] ovs-sandbox: Initialize database before starting ovs-vswitchd.

2015-03-25 Thread Ben Pfaff
Otherwise ovs-vswitchd can't immediately start working (until some other call to ovs-vsctl initializes the database). This is most obvious if one runs "ovs-vsctl list Open_vSwitch ." as the first command, because the output will not show the changes that ovs-vswitchd will make to the database at s

[ovs-dev] [PATCH 2/2] bridge: Remove redundant call to discover_types().

2015-03-25 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- vswitchd/bridge.c | 4 1 file changed, 4 deletions(-) diff --git a/vswitchd/bridge.c b/vswitchd/bridge.c index 2e90ea2..be149c3 100644 --- a/vswitchd/bridge.c +++ b/vswitchd/bridge.c @@ -578,10 +578,6 @@ bridge_reconfigure(const struct ovsrec_open_vswitch *ovs_

Re: [ovs-dev] [PATCH v2] vswitch.ovsschema: Add datapath_types and port_types.

2015-03-25 Thread Ben Pfaff
On Wed, Mar 25, 2015 at 12:29:56PM +, O Mahony, Billy wrote: > I have verified the modified code works as expected when run with/without > --dpdk on the vswitchd command line. > > I'm wondering why there is a call to 'discover_types' in two places? I made a mistake, sorry. Thanks for pointi