[ovs-dev] [PATCH 7/7] tests: Add learn action with limit tests.

2017-02-24 Thread Daniele Di Proietto
Signed-off-by: Daniele Di Proietto --- tests/learn.at | 175 + 1 file changed, 175 insertions(+) diff --git a/tests/learn.at b/tests/learn.at index 3f6fb5a7e..f91a662ad 100644 --- a/tests/learn.at +++ b/tests/learn.at @@ -626,3 +626,178 @@

[ovs-dev] [PATCH 6/7] ofproto: Implement learning limit.

2017-02-24 Thread Daniele Di Proietto
With this commit we honor the newly introduced limit to the learn action. When learning a new rule (with the limit set), the rule will hold a reference to a counter. The ukey that learned the rule will also keep the same reference, so the counter will be decremented when both the ukey and the or

[ovs-dev] [PATCH 5/7] ofproto-dpif-upcall: Encapsulate 'struct recirc_refs' into struct 'ukey_refs'.

2017-02-24 Thread Daniele Di Proietto
We're going to need to introduce another member in struct udpif_key very similar to 'struct recirc_refs', so this will make next commit easier. No functional change. Signed-off-by: Daniele Di Proietto --- ofproto/ofproto-dpif-upcall.c | 43 +-- 1 file cha

[ovs-dev] [PATCH 4/7] ofproto: New cookie-counters module.

2017-02-24 Thread Daniele Di Proietto
The new module will be used by ofproto to keep track of the number of learned flows with the same cookie in the same table. The counters are used to implement limits for the learn action. The module implements its own internal locking, because the counters can be increased/decreased from handlers

[ovs-dev] [PATCH 3/7] ofproto-dpif-xlate: Create XC_LEARN entry after learning.

2017-02-24 Thread Daniele Di Proietto
This will be useful in a separate commit, because learning can fail. Signed-off-by: Daniele Di Proietto --- ofproto/ofproto-dpif-xlate.c | 24 +--- 1 file changed, 17 insertions(+), 7 deletions(-) diff --git a/ofproto/ofproto-dpif-xlate.c b/ofproto/ofproto-dpif-xlate.c index

[ovs-dev] [PATCH 1/7] ofp-actions: Factor out decode_LEARN_common().

2017-02-24 Thread Daniele Di Proietto
No functional change, it will be used by next commit. Signed-off-by: Daniele Di Proietto --- lib/ofp-actions.c | 77 +++ 1 file changed, 43 insertions(+), 34 deletions(-) diff --git a/lib/ofp-actions.c b/lib/ofp-actions.c index ce80f57e8..78f8

[ovs-dev] [PATCH 2/7] ofp-actions: Add limit to learn action.

2017-02-24 Thread Daniele Di Proietto
This commit adds a new feature to the learn actions: the possibility to limit the number of learned flows. To be compatible with users of the old learn action, a new structure is introduced as well as a new OpenFlow raw action number. This commit only implements parsing of the action and document

[ovs-dev] [PATCH 0/7] Learn action limit

2017-02-24 Thread Daniele Di Proietto
This series implements the possibility to have a limit on the number of flows learned by a learn action. After the learn action execution the pipeline can read the result (to know if the limit was exceeded). Since the datapath flows cache the result of the learn execution, we have to postpone dec

[ovs-dev] [PATCH] ofproto/bond: Simplify bond_may_recirc()

2017-02-24 Thread Andy Zhou
The extra information passed back is no longer used outside bond.c. Make the API simpler. Signed-off-by: Andy Zhou --- ofproto/bond.c | 25 ++--- ofproto/bond.h | 3 +-- ofproto/ofproto-dpif-xlate.c | 2 +- 3 files changed, 12 insertions(+), 18 d

Re: [ovs-dev] [PATCH 00/21] Conntrack enhancements.

2017-02-24 Thread Joe Stringer
On 23 February 2017 at 16:19, Jarno Rajahalme wrote: > This patch set backports the recent upstream conntrack fixes and new > features to the OVS tree kernel module, and adds the OVS userspace > support. > > Patch 1/21 is an unrelated datapath backport. > > Each new feature is introduced in two di

Re: [ovs-dev] [PATCH] ovs-ctl: allow passing user:group to daemons

2017-02-24 Thread Andy Zhou
On Tue, Feb 21, 2017 at 2:31 PM, Aaron Conole wrote: > The Open vSwitch daemons allow passing --user user[:group] to allow > spawning under different user privileges. ovs-ctl now accepts --ovs-user > in the same form to pass this argument on, as well as create databases and > data directories wit

Re: [ovs-dev] [PATCH 2/3] bond: fix memory leak and invalid memory write

2017-02-24 Thread Andy Zhou
On Thu, Feb 23, 2017 at 9:04 PM, Huanle Han wrote: > Thanks, Andy. Your fix looks better than mine. I took this as ACK, and added your name to Acked-by: Thanks for the review. > And, don't forget to apply the fix in ofproto_dpif_delete_internal_flow to > fix the post recirc rule leak. :) Done.

Re: [ovs-dev] [PATCH 3/3] bond: fix interal flow leak of tcp-balance bond

2017-02-24 Thread Andy Zhou
On Sun, Feb 19, 2017 at 2:41 AM, wrote: > From: Huanle Han > > ofproto_dpif_delete_internal_flow() never deletes any flows > because out_port and out_group are mismatch. > > Signed-off-by: Huanle Han Pushed with small edits to the commit message. Backported to branch 2.7, 2.6 and 2.5 Thanks f

Re: [ovs-dev] [PATCH 1/2] ofproto/bond: Fix bond reconfiguration race condition.

2017-02-24 Thread Andy Zhou
On Thu, Feb 23, 2017 at 1:56 PM, Jarno Rajahalme wrote: > LGTM, > > Acked-by: Jarno Rajahalme Pushed both patches to master and backported to branch 2.7, 2.6 and 2.5. Thanks! ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailm

Re: [ovs-dev] [PATCH] netdev-dpdk: Fix mempool segfault.

2017-02-24 Thread Stokes, Ian
Just a note on this. The issue that it resolves would also be resolved by Roberts patch which removes the use of the ovs list for tracking mempools. https://mail.openvswitch.org/pipermail/ovs-dev/2017-February/329112.html As there has not been a lot of feedback to date on that patch, I thought t

[ovs-dev] [PATCH] netdev-dpdk: Fix mempool segfault.

2017-02-24 Thread Ian Stokes
The dpdk_mp_get() function can return a NULL pointer which leads to a segfault when a mempool cannot be created. The lack of a return value check for the function netdev_dpdk_mempool_configure() when called in netdev_dpdk_reconfigure() can result in a segfault also as a NULL pointer for the mempool

Re: [ovs-dev] [branch-2.7] Set release date for 2.7.0.

2017-02-24 Thread Ben Pfaff
On Fri, Feb 24, 2017 at 06:47:28PM +0500, Valentine Sinitsyn wrote: > Open vSiwtch 2.7 won't be an LTS release, right? We aren't currently planning for it to be LTS. ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/

[ovs-dev] Good morning,

2017-02-24 Thread Mr.David Ata, via dev
 Good morning, I hope you are fine today? I don't know if you might be interested in a business proposal which am about to reveal to you considering that we haven't met in person. Its all about US$(Ten Million, One Hundred Thousand Dollars) Â dormant fund in our bank coded account here.. I am

Re: [ovs-dev] [branch-2.7] Set release date for 2.7.0.

2017-02-24 Thread Valentine Sinitsyn
Hi, Open vSiwtch 2.7 won't be an LTS release, right? Thanks, Valentine ___ dev mailing list d...@openvswitch.org https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Re: [ovs-dev] [branch-2.7] Set release date for 2.7.0.

2017-02-24 Thread Flavio Leitner
Hi, We pushed 2.7 through our testing and found no issues. Thanks! Flavio On Tue, Feb 21, 2017 at 01:59:23PM -0800, Justin Pettit wrote: > Signed-off-by: Justin Pettit > --- > NEWS | 2 +- > debian/changelog | 2 +- > 2 files changed, 2 insertions(+), 2 deletions(-) > > diff --g

[ovs-dev] [PATCH v2] sflow: Expose ethernet stats via sFlow

2017-02-24 Thread Robert Wojciechowicz
Expose existing netdev stats via sFlow. Export sFlow ETHERNET structure with available counters. Map existing stats to counters in the GENERIC INTERFACE sFlow structure. Adjust unit test to accommodate these new counters. Signed-off-by: Robert Wojciechowicz Acked-by: Neil McKee Acked-by: Ian Sto

[ovs-dev] [PATCH v2] netdev-dpdk: Create separate memory pool for each port

2017-02-24 Thread Robert Wojciechowicz
Since it's possible to delete memory pool in DPDK we can try to estimate better required memory size when port is reconfigured, e.g. with different number of rx queues. Signed-off-by: Robert Wojciechowicz Acked-by: Ian Stokes --- v2: - removing mempool reference counter - making sure mempool nam

Re: [ovs-dev] [PATCH] netdev-dpdk: Add support for DPDK 17.02

2017-02-24 Thread Loftus, Ciara
> > > > > Ciara Loftus writes: > > > > > This commit announces support for DPDK 17.02. Compatibility with DPDK > > > v16.11 is not broken yet thanks to no code changes being needed for the > > > upgrade. > > > > > > Signed-off-by: Ciara Loftus > > > --- > > > > Is it possible to make this reflec

[ovs-dev] From: Mr. Wilson Kabore

2017-02-24 Thread Mr. Wilson Kabore via dev
From: Mr. Wilson Kabore, Manager: Audit and Accounts. Islamic Development Bank, Ouagadougou, Burkina Faso. Dear Friend, Good day and thank you for the attention given to me by taking out time to read my letter, I really appreciate that. I am the above mentioned person with said office position.