[ovs-dev] [PATCH] AUTHORS.rst: Update Daniele Venturino

2017-09-21 Thread Daniele Venturino
Update email address. Signed-off-by: Daniele Venturino <venturino.daniele+...@gmail.com> --- AUTHORS.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AUTHORS.rst b/AUTHORS.rst index 5d8b723f62..5f339b599c 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -93,7 +93,7 @@

Re: [ovs-dev] Data plane traffic detection

2016-05-13 Thread Daniele Venturino
interested in it. Regards, Daniele Venturino > Il giorno 11 mag 2016, alle ore 16:18, Daniele Venturino > <daniele.ventur...@m3s.it> ha scritto: > > Hi, > which is the best entry point to identify traffic among hosts connected to a > OVS switch and not pertaining the co

[ovs-dev] Data plane traffic detection

2016-05-11 Thread Daniele Venturino
Hi, which is the best entry point to identify traffic among hosts connected to a OVS switch and not pertaining the control plane when the OVS switch is managed by a SDN controller? ​ Best regards, Daniele Venturino ___ dev mailing list dev

[ovs-dev] Flows deletion when a port becomes inactive

2016-01-28 Thread Daniele Venturino
Hi, I was running some tests on Mininet and Open vSwitch and I noticed something weird. I'm using few bridges configured with RSTP enabled and no controller. I then generate some traffic and I'm able to see the flows installed on each bridge through the command *ovs-ofctl dump-flows br0* If I

Re: [ovs-dev] Flows deletion when a port becomes inactive

2016-01-28 Thread Daniele Venturino
It looks like our test setup is having some problems. I'll look into it. For now, ignore this... Best Regards, Daniele Il 28 gen 2016 5:11 PM, "Daniele Venturino" <daniele.ventur...@m3s.it> ha scritto: > Hi, > I was running some tests on Mininet and Open vSwitch and I not

Re: [ovs-dev] [PATCH 2/3] rstp: fix memory leak reported by valgrind

2016-01-07 Thread Daniele Venturino
Maybe we could destroy the hmap with the mutex still locked. Anyway, looks good to me. Acked-by: Daniele Venturino <daniele.ventur...@m3s.it <mailto:daniele.ventur...@m3s.it>> > Il giorno 05 gen 2016, alle ore 22:38, William Tu <u9012...@gmail.com> ha > scritto: &

[ovs-dev] [PATCH] AUTHORS: Add Carlo Andreotti

2015-12-11 Thread Daniele Venturino
Carlo was involved in the testing and validation processes of the Rapid Spanning Tree Implementation. I also updated the Copyright string in some files. Signed-off by: Daniele Venturino <daniele.ventur...@m3s.it> --- AUTHORS | 1 + lib/rstp-common.h | 3 ++- li

Re: [ovs-dev] RSTP dead store

2015-04-16 Thread Daniele Venturino
I agree with Jarno, that assignment is not necessary. Daniele 2015-04-16 22:52 GMT+02:00 Ben Pfaff b...@nicira.com: On Thu, Apr 16, 2015 at 12:54:44PM -0700, Jarno Rajahalme wrote: On Apr 16, 2015, at 11:13 AM, Ben Pfaff b...@nicira.com wrote: Kevin Lo ran the LLVM scan-build tool

Re: [ovs-dev] [PATCH] lib/rstp: Remove a dead store.

2015-04-16 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2015-04-16 21:58 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-state-machines.c |1 - 1 file changed, 1 deletion(-) diff --git a/lib/rstp-state-machines.c b/lib

Re: [ovs-dev] [PATCH] bridge: Enable RSTP if both STP and RSTP are enabled.

2015-03-06 Thread Daniele Venturino
Looks good to me. I also did some fast tests and the behaviour is now correct. I saw that this has already been merged, but here's my ack Acked-by: Daniele Venturino daniele.ventur...@m3s.it Il giorno 06/mar/2015, alle ore 05:21, Ben Pfaff b...@nicira.com ha scritto: On Thu, Mar 05, 2015

Re: [ovs-dev] [PATCH 2/8] vswitch: Document columns that had been previously overlooked.

2015-03-05 Thread Daniele Venturino
...@nicira.com: On Wed, Feb 25, 2015 at 04:00:36PM +0100, Daniele Venturino wrote: +STP and RSTP are mutually exclusive. If both are enabled, RSTP +will be used. I think this might not be true. If it has not been changed, when STP or RSTP is enabled it should

Re: [ovs-dev] [PATCH] rstp: add update_port_oper_point_to_point__().

2015-03-05 Thread Daniele Venturino
Is this patch still pending? It doesn't change much, but it clarifies the correlation between admin_point_to_point_mac and oper_point_to_point_mac. Daniele 2014-12-11 20:59 GMT+01:00 Ben Pfaff b...@nicira.com: On Mon, Nov 24, 2014 at 03:42:48PM +0100, Daniele Venturino wrote: With this patch

Re: [ovs-dev] [PATCH] lib/rstp: Make rstp-disabled port forward stp bpdu packets.

2015-03-05 Thread Daniele Venturino
I don't recall if we arrived at a decision about this. Daniele 2014-11-24 15:02 GMT+01:00 Daniele Venturino daniele.ventur...@m3s.it: commit bacdb85ad82f981697245eefb40a3b360cfe379b Author: Alex Wang al...@nicira.com Date: Tue Jul 15 18:52:19 2014 -0700 stp: Make stp-disabled port

Re: [ovs-dev] [PATCH 2/8] vswitch: Document columns that had been previously overlooked.

2015-02-25 Thread Daniele Venturino
Hi, +STP and RSTP are mutually exclusive. If both are enabled, RSTP +will be used. I think this might not be true. If it has not been changed, when STP or RSTP is enabled it should not be possible to enable the other one on the same bridge. This is done in

Re: [ovs-dev] [PATCH] lib/rstp: Make rstp-disabled port forward stp bpdu packets.

2014-11-24 Thread Daniele Venturino
should consider how the calling sites use these functions, as some of them changed in the last series that was merged recently. Jarno On Nov 20, 2014, at 11:35 AM, Daniele Venturino daniele.ventur...@m3s.it mailto:daniele.ventur...@m3s.it wrote: We didn’t merge this patch back in september

Re: [ovs-dev] [PATCH 02/17] rstp: add admin-point-to-point and admin-port-state setters.

2014-11-24 Thread Daniele Venturino
I’m sending a patch to make more clear the effect of the admin_point_to_point_mac value on the oper_point_to_point_mac value. Does Open vSwitch detect if a port is connected to a point-to-point LAN? Daniele Il giorno 15/nov/2014, alle ore 14:34, Daniele Venturino daniele.ventur...@m3s.it ha

[ovs-dev] [PATCH] rstp: add update_port_oper_point_to_point__().

2014-11-24 Thread Daniele Venturino
With this patch, the effect of the admin_point_to_point_mac value on the oper_point_to_point_mac value is more clear. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 55 --- 1 file changed, 32 insertions(+), 23

Re: [ovs-dev] [PATCH 17/17] rstp: refactor RSTP setters.

2014-11-20 Thread Daniele Venturino
Rajahalme jrajaha...@nicira.com- Thanks! Jarno On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: With this patch setters invoke procedures only if values have changed. Also rstp_set_bridge_address__() keeps the existing priority

[ovs-dev] [PATCH 2/2] utilities: Update man page regarding the behaviour of admin point to point MAC parameter.

2014-11-20 Thread Daniele Venturino
Update man page explaining that the auto detection of point to point LANs is not implemented. Signed-off by: Martino Fornasa m...@fornasa.it --- utilities/ovs-vsctl.8.in | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/utilities/ovs-vsctl.8.in b/utilities/ovs-vsctl.8.in

[ovs-dev] [PATCH 1/2] NEWS: Information about Ixia ANVL testing.

2014-11-20 Thread Daniele Venturino
Update the NEWS section with some information about testing. Signed-off by: Martino Fornasa m...@fornasa.it --- NEWS | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index 40a0db0..ea8c6c0 100644 --- a/NEWS +++ b/NEWS @@ -41,9 +41,9 @@ Post-v2.3.0 -

Re: [ovs-dev] [PATCH] lib/rstp: Make rstp-disabled port forward stp bpdu packets.

2014-11-20 Thread Daniele Venturino
, at 2:08 AM, Daniele Venturino daniele.ventur...@m3s.it mailto:daniele.ventur...@m3s.it wrote: Il giorno 10/set/2014, alle ore 18:54, Jarno Rajahalme jrajaha...@nicira.com mailto:jrajaha...@nicira.com ha scritto: Daniele, See comments below. Also, it would be preferable to send

Re: [ovs-dev] [PATCH 14/17] rstp: shift learned MAC addresses to new Root port.

2014-11-19 Thread Daniele Venturino
. Jarno On Nov 17, 2014, at 9:13 AM, Daniele Venturino daniele.ventur...@m3s.it mailto:daniele.ventur...@m3s.it wrote: The problem must be that the port number and the hash value get out of sync, i.e., when the port number is changed. Please try the patch below on top of your patch

[ovs-dev] [PATCH 1/1] ofproto-dpif: fix bundle_move() call in rstp_run().

2014-11-19 Thread Daniele Venturino
bundle_move() expects two “struct ofbundle” as arguments. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- ofproto/ofproto-dpif.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 8778ed2..3f8768d 100644

Re: [ovs-dev] [PATCH 14/17] rstp: shift learned MAC addresses to new Root port.

2014-11-17 Thread Daniele Venturino
as arguments. Regards, Daniele Il giorno 14/nov/2014, alle ore 22:56, Jarno Rajahalme jrajaha...@nicira.com ha scritto: On Nov 14, 2014, at 9:19 AM, Daniele Venturino daniele.ventur...@m3s.it mailto:daniele.ventur...@m3s.it wrote: Why lose the ‘_WITH_HASH’? It seems pointless

Re: [ovs-dev] [PATCH 02/17] rstp: add admin-point-to-point and admin-port-state setters.

2014-11-15 Thread Daniele Venturino
2014-11-15 0:40 GMT+01:00 Jarno Rajahalme jrajaha...@nicira.com: On Nov 14, 2014, at 2:50 PM, Daniele Venturino daniele.ventur...@m3s.it wrote: You're right, it's used only in rstp_port_set_admin_point_to_point_mac__() where it's set, if the old value change. The action

Re: [ovs-dev] [PATCH 03/17] rstp-state-machines: Fix reception of BPDUs conveying an unknown port role.

2014-11-14 Thread Daniele Venturino
; +} } + if (validate_received_bpdu(p, bpdu, bpdu_size) == 0) { p-rcvd_bpdu = true; p-rx_rstp_bpdu_cnt++; Acked-by: Jarno Rajahalme jrajaha...@nicira.com On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it

Re: [ovs-dev] [PATCH 14/17] rstp: shift learned MAC addresses to new Root port.

2014-11-14 Thread Daniele Venturino
bridge. Feel free to suggest any improvement on this. Daniele 2014-11-14 1:11 GMT+01:00 Jarno Rajahalme jrajaha...@nicira.com: Daniele, See comments inline. Thanks! Jarno On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: All MAC addresses previously

Re: [ovs-dev] [PATCH 09/17] rstp: Invoke updt_roles_tree__() in max_age and forward_delay setters.

2014-11-14 Thread Daniele Venturino
: This patch needs a proper commit message, e.g., why the change is needed? Thanks, Jarno On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 14 ++ 1 file changed, 10

Re: [ovs-dev] [PATCH 15/17] rstp: Fix global transitions.

2014-11-14 Thread Daniele Venturino
I'm sending a v2 of this patch with all the requested modifications. Regards, Daniele 2014-11-14 1:17 GMT+01:00 Jarno Rajahalme jrajaha...@nicira.com: Daniele, See my comments below, Thanks! Jarno On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote

Re: [ovs-dev] [PATCH 12/17] rstp: Refactor rstp_port_set_administrative_bridge_port__().

2014-11-14 Thread Daniele Venturino
On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: Invoke move_rstp__() in rstp_port_set_administrative_bridge_port__() if port is not initializing. Explain in the commit message why this is needed. And lose the indentation… Also, tests/rstp.at needs

Re: [ovs-dev] [PATCH 05/17] rstp-state-machines: Fix topology_change_sm transition transition.

2014-11-14 Thread Daniele Venturino
standard. Daniele 2014-11-14 0:23 GMT+01:00 Jarno Rajahalme jrajaha...@nicira.com: This patch needs a proper commit message. Explain what was wrong, and why the fix is correct. Regards, Jarno On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: Signed-off

Re: [ovs-dev] [PATCH 02/17] rstp: add admin-point-to-point and admin-port-state setters.

2014-11-14 Thread Daniele Venturino
and the answer to the AUTO question below, I can accept and push this patch. Thanks! Jarno On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-common.h| 6 -- lib/rstp.c

[ovs-dev] [PATCH v2 15/17] rstp: Fix global transitions.

2014-11-14 Thread Daniele Venturino
global condition BEGIN supersedes all other global conditions, and once asserted remains asserted until all state blocks have executed to the point that variable assignments and other consequences of their execution remain unchanged. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib

Re: [ovs-dev] [PATCH 11/17] rstp: Refactor rstp_check_and_reset_fdb_flush().

2014-11-14 Thread Daniele Venturino
below, otherwise: Acked-by: Jarno Rajahalme jrajaha...@nicira.com On Nov 6, 2014, at 7:31 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: With this commit, RSTP is able to flush from the MAC learning table entries pertaining to a single port. Before this commit the whole table

Re: [ovs-dev] [PATCH 02/17] rstp: add admin-point-to-point and admin-port-state setters.

2014-11-14 Thread Daniele Venturino
2014-11-14 19:46 GMT+01:00 Jarno Rajahalme jrajaha...@nicira.com: On Nov 14, 2014, at 9:36 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: A possible commit message: Admin-port-state is the Administrative Bridge Port state variable defined in the 802.1D-2004 standard. It can be set

Re: [ovs-dev] [PATCH 02/17] rstp: add admin-point-to-point and admin-port-state setters.

2014-11-14 Thread Daniele Venturino
...@nicira.com: On Nov 14, 2014, at 11:09 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: 2014-11-14 19:46 GMT+01:00 Jarno Rajahalme jrajaha...@nicira.com: On Nov 14, 2014, at 9:36 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: A possible commit message: Admin-port-state

[ovs-dev] [PATCH 08/17] rstp-state-machines: fix TCN reception.

2014-11-06 Thread Daniele Venturino
Set rcdv_tcn and return OTHER_INFO when a TOPOLOGY_CHANGE_NOTIFICATION_BPDU is received. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state-machines.c | 8 1 file changed, 8 insertions(+) diff --git a/lib/rstp-state-machines.c b/lib/rstp-state

[ovs-dev] [PATCH 12/17] rstp: Refactor rstp_port_set_administrative_bridge_port__().

2014-11-06 Thread Daniele Venturino
Invoke move_rstp__() in rstp_port_set_administrative_bridge_port__() if port is not initializing. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 16 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/lib/rstp.c b/lib/rstp.c

[ovs-dev] [PATCH 00/17] RSTP validation tests.

2014-11-06 Thread Daniele Venturino
Hi. We tested the RSTP implementation against the IXIA IxANVL validation software. This allowed us to fix some small bugs, and the implementation now passes such tests with success! Please find attached the patch series. It appears that patches 12 and 17 break the RSTP dummy test, while all

[ovs-dev] [PATCH 07/17] rstp-state-machines: Rename ALTERNATE_AGREED state in ALTERNATE_AGREED_EXEC.

2014-11-06 Thread Daniele Venturino
All other similar port_role_transition_sm states are named like this. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-common.h | 2 +- lib/rstp-state-machines.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rstp-common.h b/lib

[ovs-dev] [PATCH 06/17] rstp-state-machines: Fix updt_roles_tree().

2014-11-06 Thread Daniele Venturino
If the DesignatedBridgeID Bridge Address component is equal to that component of the Bridge's own bridge priority vector skip to the next port. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state-machines.c | 2 +- 1 file changed, 1 insertion

[ovs-dev] [PATCH 05/17] rstp-state-machines: Fix topology_change_sm transition transition.

2014-11-06 Thread Daniele Venturino
Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state-machines.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rstp-state-machines.c b/lib/rstp-state-machines.c index 1912d7e..5c03385 100644 --- a/lib/rstp-state-machines.c +++ b/lib/rstp-state

[ovs-dev] [PATCH 03/17] rstp-state-machines: Fix reception of BPDUs conveying an unknown port role.

2014-11-06 Thread Daniele Venturino
Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state-machines.c | 12 1 file changed, 12 insertions(+) diff --git a/lib/rstp-state-machines.c b/lib/rstp-state-machines.c index e03f720..ade2d61 100644 --- a/lib/rstp-state-machines.c +++ b/lib/rstp-state

[ovs-dev] [PATCH 01/17] rstp: Show some useful rstp port fields.

2014-11-06 Thread Daniele Venturino
designated_bridge_id, designated_port_id and designated_path_cost are now displayed in rstp_status when using 'ovs-vsctl list port'. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 10 -- lib/rstp.h | 6 -- ofproto

[ovs-dev] [PATCH 04/17] rstp-state-machines: Fix compare_rstp_priority_vector().

2014-11-06 Thread Daniele Venturino
The bridge_port_id is never conveyed in Configuration Messages, but is used as a tie-breaker within a Bridge. This patch extends the comparison to this fifth field in a rstp_priority_vector. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state

[ovs-dev] [PATCH 10/17] rstp: disable learning and forwarding in STP/RSTP disabled state.

2014-11-06 Thread Daniele Venturino
) treats a Port as no longer active when it becomes an Alternate, Backup, or Disabled Port and stops learning from received frames. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.h | 12 +++- lib/stp.c| 12

[ovs-dev] [PATCH 09/17] rstp: Invoke updt_roles_tree__() in max_age and forward_delay setters.

2014-11-06 Thread Daniele Venturino
Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/lib/rstp.c b/lib/rstp.c index e3007e2..55c43c0 100644 --- a/lib/rstp.c +++ b/lib/rstp.c @@ -523,8 +523,9 @@ static void

[ovs-dev] [PATCH 15/17] rstp: Fix global transitions.

2014-11-06 Thread Daniele Venturino
When the condition associated with a global transition is met, it supersedes all other exit conditions including UCT. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state-machines.c | 139 +++--- 1 file changed, 130

[ovs-dev] [PATCH 02/17] rstp: add admin-point-to-point and admin-port-state setters.

2014-11-06 Thread Daniele Venturino
Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-common.h| 6 -- lib/rstp.c | 31 ++- lib/rstp.h | 9 - ofproto/ofproto-dpif.c | 4 +++- ofproto/ofproto.h| 2 ++ utilities/ovs-vsctl.8

[ovs-dev] [PATCH 17/17] rstp: refactor RSTP setters.

2014-11-06 Thread Daniele Venturino
With this patch setters invoke procedures only if values have changed. Also rstp_set_bridge_address__() keeps the existing priority in the bridge_identifier. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 80

[ovs-dev] [PATCH 11/17] rstp: Refactor rstp_check_and_reset_fdb_flush().

2014-11-06 Thread Daniele Venturino
With this commit, RSTP is able to flush from the MAC learning table entries pertaining to a single port. Before this commit the whole table was flushed every time a port requested flushing actions. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c

[ovs-dev] [PATCH 16/17] rstp-state-machines: fix proposal reception behaviour.

2014-11-06 Thread Daniele Venturino
in the 802.1q-2008 standard. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state-machines.c | 27 +-- 1 file changed, 25 insertions(+), 2 deletions(-) diff --git a/lib/rstp-state-machines.c b/lib/rstp-state-machines.c index dc25b00..31909a5 100644

[ovs-dev] [PATCH 13/17] rstp-state-machines: fix rcv_info().

2014-11-06 Thread Daniele Venturino
A Config BPDU always conveys a Designated Port Role. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-state-machines.c | 13 - 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/lib/rstp-state-machines.c b/lib/rstp-state-machines.c index

[ovs-dev] [PATCH 14/17] rstp: shift learned MAC addresses to new Root port.

2014-11-06 Thread Daniele Venturino
recovering from some component failures. Signed-off-by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-common.h | 4 lib/rstp-state-machines.c | 21 +++ lib/rstp.c| 51 ++- lib/rstp.h

Re: [ovs-dev] [PATCH v6 00/18] Rapid Spanning Tree Protocol

2014-09-19 Thread Daniele Venturino
Il giorno 11/set/2014, alle ore 19:09, Jarno Rajahalme jrajaha...@nicira.com ha scritto: On Sep 11, 2014, at 5:49 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: Il giorno 09/set/2014, alle ore 22:04, Daniele Venturino daniele.ventur...@m3s.it ha scritto: Il giorno 09/set

Re: [ovs-dev] [PATCH] lib/rstp: Make rstp-disabled port forward stp bpdu packets.

2014-09-11 Thread Daniele Venturino
format-patch” does that automatically. Jarno I’ll send the next group of patches as a series. On Sep 10, 2014, at 1:28 AM, Daniele Venturino daniele.ventur...@m3s.it wrote: See commit bacdb85ad82f981697245eefb40a3b360cfe379b. Signed-off by: Daniele Venturino daniele.ventur...@m3s.it

Re: [ovs-dev] [PATCH v6 00/18] Rapid Spanning Tree Protocol

2014-09-11 Thread Daniele Venturino
Il giorno 09/set/2014, alle ore 22:04, Daniele Venturino daniele.ventur...@m3s.it ha scritto: Il giorno 09/set/2014, alle ore 20:07, Jarno Rajahalme jrajaha...@nicira.com ha scritto: On Sep 9, 2014, at 3:53 AM, Daniele Venturino venturino.dani...@gmail.com wrote: Thanks

[ovs-dev] [PATCH] lib/rstp: Use RSTP_OPER_P2P_MAC_STATE_ENABLED instead of 1.

2014-09-10 Thread Daniele Venturino
Signed-off by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/rstp.c b/lib/rstp.c index 5914a1d..b213b44 100644 --- a/lib/rstp.c +++ b/lib/rstp.c @@ -951,7 +951,8 @@ rstp_initialize_port_defaults__(struct

[ovs-dev] [PATCH] lib/rstp-common: Remove double spaces.

2014-09-10 Thread Daniele Venturino
Signed-off by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp-common.h | 18 +- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/lib/rstp-common.h b/lib/rstp-common.h index 4e0d398..587f88c 100644 --- a/lib/rstp-common.h +++ b/lib/rstp-common.h @@ -225,19

[ovs-dev] [PATCH] lib/rstp: Use ovs_refcount_unref_relaxed.

2014-09-10 Thread Daniele Venturino
See commit 24f8381214966e90819bf4a9ecabf076cbfc1b08. Signed-off by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rstp.c b/lib/rstp.c index b213b44..f2f1dce 100644 --- a/lib/rstp.c +++ b/lib/rstp.c @@ -168,7

[ovs-dev] [PATCH] lib/rstp: Make rstp-disabled port forward stp bpdu packets.

2014-09-10 Thread Daniele Venturino
See commit bacdb85ad82f981697245eefb40a3b360cfe379b. Signed-off by: Daniele Venturino daniele.ventur...@m3s.it --- lib/rstp.h | 42 +++--- ofproto/ofproto-dpif-xlate.c | 6 +++--- 2 files changed, 42 insertions(+), 6 deletions(-) diff

Re: [ovs-dev] [PATCH v6 02/18] lib/stp, rstp: Add unit more unit tests.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Existing STP and RSTP test cases only test the protocols with test utilities. These tests test them as part of OVS using the netdev-dummy device. Signed-off-by: Jarno

Re: [ovs-dev] [PATCH v6 04/18] lib/rstp: Better debug messages, style fixes.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-state-machines.c | 22 -- ofproto/ofproto-dpif.c| 11 ++- vswitchd

Re: [ovs-dev] [PATCH v6 03/18] lib/stp: Some debugging support.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Set the stp port name before enabling it, so that debugging messages have the name to print out. Do not treat the first state initialization as a state change. Zero

Re: [ovs-dev] [PATCH v6 05/18] vswitch.xml: Fix RSTP configuration documentation.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Move port's configuration options where they belong, add typing, and correct errors. Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- vswitchd/vswitch.xml | 130

Re: [ovs-dev] [PATCH v6 06/18] lib/rstp: Remove unused struct rstp_priority_vector4

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-common.h |7 --- 1 file changed, 7 deletions(-) diff --git a/lib/rstp-common.h b/lib/rstp

Re: [ovs-dev] [PATCH v6 07/18] lib/rstp: Coding style fixes.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp.c | 132 ++-- lib/rstp.h | 12 +++--- 2 files

Re: [ovs-dev] [PATCH v6 10/18] lib/rstp: Refactor port initialization.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Prior to this patch the default values for ports were set in three different places. This refactors them all to one helper function. Signed-off-by: Jarno Rajahalme jrajaha

Re: [ovs-dev] [PATCH v6 08/18] lib/rstp: Refactor priority vector recalculation.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp.c | 54 ++ 1 file changed, 22 insertions(+), 32

Re: [ovs-dev] [PATCH v6 11/18] lib/rstp: CodingStyle changes.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp.c | 39 ++- ofproto/ofproto-dpif.c |2 +- 2 files

Re: [ovs-dev] [PATCH v6 12/18] lib/rstp: Inline trivial predicate functions.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp.c | 34 -- lib/rstp.h | 42

Re: [ovs-dev] [PATCH v6 13/18] lib/rstp: More robust thread safety.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Current code expects there to be a single thread that is responsible for creating rstp and creating and deleting rstp_port objects. rstp objects are also deleted from other

Re: [ovs-dev] [PATCH v6 14/18] lib/rstp: Remove lock recursion.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Change the RSTP send_bpdu interface so that a recursive mutex is not needed. Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-common.h |2

Re: [ovs-dev] [PATCH v6 15/18] lib/rstp: CodingStyle fixes.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-state-machines.c | 398 + 1 file changed, 182 insertions

Re: [ovs-dev] [PATCH v6 16/18] lib/rstp: Simplify priority vector comparison.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Testing for sameness first makes the logic simpler to follow. Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-state-machines.c | 57

Re: [ovs-dev] [PATCH v6 17/18] lib/rstp: Eliminate ports_count.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: It was only used to guard against unintialized list. Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-common.h |1 - lib/rstp-state-machines.c

Re: [ovs-dev] [PATCH v6 18/18] lib/rstp: Use hmap instead of a list for ports.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino daniele.ventur...@m3s.it 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme jrajaha...@nicira.com: Finding a given port is faster. Signed-off-by: Jarno Rajahalme jrajaha...@nicira.com --- lib/rstp-common.h |5 +++-- lib/rstp-state-machines.c | 30

Re: [ovs-dev] [PATCH v6 00/18] Rapid Spanning Tree Protocol

2014-09-09 Thread Daniele Venturino
. Anyway, if you still want to merge it and mark it as experimental is still fine by me, since I'll be able to rebase my patches on your version. On Sep 3, 2014, at 7:44 AM, Daniele Venturino venturino.dani...@gmail.com wrote: I looked and applied the patches. They’re good to me, I just have some

Re: [ovs-dev] [PATCH v6 00/18] Rapid Spanning Tree Protocol

2014-09-09 Thread Daniele Venturino
Il giorno 09/set/2014, alle ore 20:07, Jarno Rajahalme jrajaha...@nicira.com ha scritto: On Sep 9, 2014, at 3:53 AM, Daniele Venturino venturino.dani...@gmail.com wrote: Thanks for the review! It would be nice to have an Acked-by from you to the series. However, I plan to squash

Re: [ovs-dev] [PATCH v6 00/18] Rapid Spanning Tree Protocol

2014-09-03 Thread Daniele Venturino
is a minimally rebased version of the v5 sent on ovs-dev on June 12th, 2014. Rest of the series is my proposal for fixes and enhancements. I could have reordered and squashed some of the patches together, but that would have been more work... Daniele Venturino (1): Rapid Spanning Tree Protocol

Re: [ovs-dev] [PATCH v4] Rapid Spanning Tree Protocol Implementation (IEEE 802.1D) + functional tests.

2014-06-12 Thread Daniele Venturino
We noticed there was a problem on frame forwarding on blocked ports. We're sending an updated version (v5) of the patch. Il giorno 05/giu/2014, alle ore 16:50, Daniele Venturino daniele.ventur...@m3s.it ha scritto: This is an updated version of the patch after Jarno review. Modifications

Re: [ovs-dev] [PATCH v3] Rapid Spanning Protocol Implementation (IEEE 802.1D) + functional tests

2014-06-05 Thread Daniele Venturino
...@fornasa.it + * Daniele Venturino daniele.ventur...@m3s.it + * + * References to IEEE 802.1D-2004 standard are enclosed in square brackets. + * E.g. [17.3], [Table 17-1], etc. + * + */ + +#ifndef RSTP_H +#define RSTP_H 1 + +#include stdint.h +#include stdbool.h +#include compiler.h

Re: [ovs-dev] [PATCH v3] Rapid Spanning Protocol Implementation (IEEE 802.1D) + functional tests

2014-04-30 Thread Daniele Venturino
+/* Bridge State Machine. */ +/* [17.28] Port Role Selection state machine. */ + +void +updt_role_disabled_tree(struct rstp * r) Is ther a specfc resn to contrct the first word in the nam of this functn? We try to strictly follow the naming used in the IEEE 802.1D-2004 standard, as it

Re: [ovs-dev] [PATCH v3] Rapid Spanning Protocol Implementation (IEEE 802.1D) + functional tests

2014-03-31 Thread Daniele Venturino
This is the diff between RSTP patch v3 and v2 (the one sent on February 24th). --- diff --git a/v1/lib/rstp.c b/v2/lib/rstp.c index 2725707..d226967 100644 --- a/v1/lib/rstp.c +++ b/v2/lib/rstp.c @@ -1076,6 +1076,20 @@ rstp_port_get_aux(struct rstp_port *p) return aux; } +/* Returns true

[ovs-dev] [PATCH] utilities: Wrong command syntax in ovs-vsctl manpage.

2014-01-08 Thread Daniele Venturino
is not allowed to be empty It seems correct to use the command: ovs-vsctl set Bridge br0 stp_enable=false Signed-off by: Daniele Venturino daniele.ventur...@m3s.it --- utilities/ovs-vsctl.8.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utilities/ovs-vsctl.8.in b