Re: [ovs-dev] [PATCH v6 09/18] lib/rstp: Refactor port number allocation.

2014-09-09 Thread Daniele Venturino
Acked-by: Daniele Venturino 2014-08-21 1:57 GMT+02:00 Jarno Rajahalme : > Port number allocation was O(N^3), this refactoring will make it O(N^2). > > Signed-off-by: Jarno Rajahalme > --- > lib/rstp.c | 48 +--- > 1 file changed, 17 insertions(+),

[ovs-dev] [PATCH v6 09/18] lib/rstp: Refactor port number allocation.

2014-08-20 Thread Jarno Rajahalme
Port number allocation was O(N^3), this refactoring will make it O(N^2). Signed-off-by: Jarno Rajahalme --- lib/rstp.c | 48 +--- 1 file changed, 17 insertions(+), 31 deletions(-) diff --git a/lib/rstp.c b/lib/rstp.c index 6254bb8..034292d 100644 --