Acked-by: Eitan Eliahu
Thanks!
Eitan
-Original Message-
From: dev [mailto:dev-boun...@openvswitch.org] On Behalf Of Pravin B Shelar
Sent: Wednesday, November 05, 2014 3:22 PM
To: dev@openvswitch.org
Subject: [ovs-dev] [PATCH] ovs-router: Define stub for
ovs_router_unixctl_register()
o
Set rcdv_tcn and return OTHER_INFO when a
TOPOLOGY_CHANGE_NOTIFICATION_BPDU is received.
Signed-off-by: Daniele Venturino
---
lib/rstp-state-machines.c | 8
1 file changed, 8 insertions(+)
diff --git a/lib/rstp-state-machines.c b/lib/rstp-state-machines.c
index 5398f12.
Invoke move_rstp__() in rstp_port_set_administrative_bridge_port__() if
port is not initializing.
Signed-off-by: Daniele Venturino
---
lib/rstp.c | 16
1 file changed, 12 insertions(+), 4 deletions(-)
diff --git a/lib/rstp.c b/lib/rstp.c
index 1ab4938..fd42a7d 10064
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 oth
All other similar port_role_transition_sm states are named like this.
Signed-off-by: Daniele Venturino
---
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/rstp-common.h
index cd43
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
---
lib/rstp-state-machines.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
Signed-off-by: Daniele Venturino
---
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-machines.c
@@ -1948,7 +1948,7
Signed-off-by: Daniele Venturino
---
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-machines.c
@@ -117,6 +117,18 @@
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
---
lib/rstp.c | 10 --
lib/rstp.h | 6 --
ofproto/ofproto-dpif.c | 4 +++-
ofpr
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
---
lib/rstp-state-machines.c | 18 +
There is a difference between a port with STP/RSTP protocol enabled and a
disabled role and a port which has a disabled role because STP/RSTP is
not active. This commit ensure to make such distinction.
Standard 802.1D claims that the Topology Change state machine (17.31)
Signed-off-by: Daniele Venturino
---
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
rstp_set_bridge_max_age__(struct rstp *rstp,
When the condition associated with a global transition is met, it
supersedes all other exit conditions including UCT.
Signed-off-by: Daniele Venturino
---
lib/rstp-state-machines.c | 139 +++---
1 file changed, 130 insertions(+), 9 deletions(-)
Signed-off-by: Daniele Venturino
---
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.in | 9 +
vswitch
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
---
lib/rstp.c | 80 --
1 f
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
---
lib/rstp.c | 52 +++
Other ports should stop forwarding and learning when a port receives a
superior BPDU carrying a Proposal flag.
Without this patch this does not happen and other ports keep executing
the learning and forwarding processes.
This patch contains some fixes reported in the 8
A Config BPDU always conveys a Designated Port Role.
Signed-off-by: Daniele Venturino
---
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 13abec0..516093f 100644
--- a/l
All MAC addresses previously learned on a Root Port can be moved to an
Alternate Port that becomes the new Root Port; i.e., Dynamic Filtering
Entries for those addresses may be modified to show the new Root Port as
their source, reducing the need to flood frames when recover
On Wed, Nov 5, 2014 at 6:06 PM, Pravin Shelar wrote:
> On Wed, Nov 5, 2014 at 10:19 AM, Lori Jakab wrote:
>> On 11/5/14 12:16 AM, Pravin Shelar wrote:
>>> On Mon, Nov 3, 2014 at 1:36 PM, Lorand Jakab wrote:
+static int pop_eth(struct sk_buff *skb)
+{
+ skb_pull_rcsum(skb, ET
On Thu, Nov 6, 2014 at 7:53 AM, Jesse Gross wrote:
> On Wed, Nov 5, 2014 at 6:06 PM, Pravin Shelar wrote:
>> On Wed, Nov 5, 2014 at 10:19 AM, Lori Jakab wrote:
>>> On 11/5/14 12:16 AM, Pravin Shelar wrote:
On Mon, Nov 3, 2014 at 1:36 PM, Lorand Jakab wrote:
> +static int pop_eth(struct
Thanks for testing, I'll review this and check out the dummy test case.
Jarno
> On Nov 6, 2014, at 7:30 AM, Daniele Venturino
> wrote:
>
> Hi.
> We tested the RSTP implementation against the IXIA IxANVL validation software.
> This allowed us to fix some small bugs, and the implementation no
On Wed, Nov 5, 2014 at 4:44 PM, Ben Pfaff wrote:
> On Sun, Nov 02, 2014 at 09:29:28PM -0800, Pravin B Shelar wrote:
>> Following patch adds support for userspace tunneling. Tunneling
>> needs three more component first is routing table which is configured by
>> caching kernel routes and second is
Inserting or removing a sequence of flows with different wildcard patterns
causes temporary use of O(n**2) memory due to pvector modifications inside
the classifier. This commit fixes the problem in two easy cases. There
is at least one more difficult case inside ovs-vswitchd that this does not
f
On Nov 6, 2014, at 9:36 AM, Pravin Shelar wrote:
>> I think that all of the flows added to the tnl-ports classifier have
>> the same wildcard pattern. I don't know why a classifier is the best
>> choice; wouldn't an hmap work?
>>
The lookup should be RCU, so hmap would not work. cmap would th
On Thu, Nov 06, 2014 at 10:19:14AM -0800, Jarno Rajahalme wrote:
> On Nov 6, 2014, at 9:36 AM, Pravin Shelar wrote:
> >> I think that all of the flows added to the tnl-ports classifier have
> >> the same wildcard pattern. I don't know why a classifier is the best
> >> choice; wouldn't an hmap wor
On Wed, Nov 05, 2014 at 09:57:25PM -0200, Flavio Leitner wrote:
> On Wed, Nov 05, 2014 at 03:51:30PM -0800, Andy Zhou wrote:
> > On Wed, Nov 5, 2014 at 3:47 PM, Flavio Leitner wrote:
> > > On Wed, Nov 05, 2014 at 03:23:24PM -0800, Andy Zhou wrote:
> > >> On Wed, Nov 5, 2014 at 2:56 PM, Flavio Leit
On Thu, Nov 06, 2014 at 09:36:19AM -0800, Pravin Shelar wrote:
> On Wed, Nov 5, 2014 at 4:44 PM, Ben Pfaff wrote:
> > On Sun, Nov 02, 2014 at 09:29:28PM -0800, Pravin B Shelar wrote:
> > I don't understand why struct udp_header is now marked as packed, or
> > why struct gre_base_hdr is marked as a
On Thu, Nov 06, 2014 at 10:33:54AM -0800, Ben Pfaff wrote:
> On Wed, Nov 05, 2014 at 09:57:25PM -0200, Flavio Leitner wrote:
> > On Wed, Nov 05, 2014 at 03:51:30PM -0800, Andy Zhou wrote:
> > > On Wed, Nov 5, 2014 at 3:47 PM, Flavio Leitner wrote:
> > > > On Wed, Nov 05, 2014 at 03:23:24PM -0800,
With notes below:
Acked-by: Jarno Rajahalme
On Nov 6, 2014, at 10:03 AM, Ben Pfaff wrote:
> Inserting or removing a sequence of flows with different wildcard patterns
> causes temporary use of O(n**2) memory due to pvector modifications inside
> the classifier. This commit fixes the problem i
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 7 +--
1 file changed, 5 insertions(+), 2 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 0a1fe00..dd61449 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch
This patchset updates the fedora spec file to be
compliant with the distro guidelines and includes
some fixes as well.
Flavio Leitner (33):
fedora.spec: added license details
fedora-spec: use default buildroot
fedora-spec: remove stale comment
fedora-spec: source line points to upstream ta
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index dd61449..d036acb 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -27,7
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 1 -
1 file changed, 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index d036acb..1ee08fc 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora.spec.in
@@ -26,7
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 1ee08fc..776cfbf 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora
This is needed to ensure all the packages are
installed on the system to be able to build
Open vSwitch.
This also permits to use yum-builddep(1) to
automatically install the dependencies on the
system.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 6 ++
1 file changed,
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 42a816e..0413cf1 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora
The minimum recommended kernel for fedora is
3.15.0-0 due to be the first one including the
upstream kernel commit below:
commit 4f647e0a3c37b8d5086214128614a136064110c3
Author: Flavio Leitner
Date: Thu Mar 27 11:05:34 2014 -0300
openvswitch: fix a possible deadlock and lockdep warning
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 26d4b37..db62455 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index db62455..3e19c91 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora
This creates a subpackage called python-openvswitch
providing python bidings for the Open vSwitch database.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 55 +
1 file changed, 17 insertions(+), 38 deletions(-)
diff --git a/rhel/openv
Put the utilities that are useful to diagnose performance
and connectivity issues in Open vSwitch setup into another
package since they are not needed in most cases.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 27 ---
1 file changed, 20 insertions(
Package guidelines request to enable PIE.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 3 +++
1 file changed, 3 insertions(+)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 9dc607c..401698d 100644
--- a/rhel/openvswitch-fedora.spec.in
Both conf.db and system-id.conf needs to be owned, so
spec now list them in the %files section. However,
they are not shipped with the rpm (%ghost)
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 11 ---
1 file changed, 8 insertions(+), 3 deletions(-)
diff --git a/r
This provides static library, libopenswitch.a and the openvswitch
header files needed to build an external application in a separate
RPM package.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 30 --
1 file changed, 28 insertions(+), 2 deletions(-
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index c97d0ef..f1f283c 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitc
Once upon a time there was a controller subpackage
that was obsoleted
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 1 +
1 file changed, 1 insertion(+)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 401698d..b226218 100644
--- a/rhel/o
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index b226218..456e5d5 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedora
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 37 -
1 file changed, 20 insertions(+), 17 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 3834339..a75175a 100644
--- a/rhel/openvswitch-fedo
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index a75175a..c97d0ef 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitch-fedo
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 30 +++---
1 file changed, 15 insertions(+), 15 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index f1f283c..6d0aca4 100644
--- a/rhel/openvswitch-fedora.spec
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 18 +-
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 6d0aca4..daa5d73 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel
The default tarball directory follows the standard.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 456e5d5..03bf0b2 100644
--- a/rhel/ope
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 8
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index daa5d73..8ccfc2c 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openvswitc
Don't overwrite if the logrotate configuration
file is modified.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 8ccfc2c..96b808e 100644
-
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 26 +-
1 file changed, 13 insertions(+), 13 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 96b808e..080a460 100644
--- a/rhel/openvswitch-fedora.spec.in
Use spaces instead of tabs as the other lines
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 080a460..1d73435 100644
--- a/rhel/ope
Use empty lines to split blocks to improve readability.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 11 +++
1 file changed, 11 insertions(+)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 1d81567..b48e971 100644
--- a/rhel/op
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 12 +---
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index b48e971..a51365d 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/openv
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 15 ++-
1 file changed, 10 insertions(+), 5 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index a51365d..6e169b4 100644
--- a/rhel/openvswitch-fedora.spec.in
+++ b/rhel/o
Move the sysconfig template close to other systemd lines.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 7 +++
1 file changed, 3 insertions(+), 4 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec.in
index 6e169b4..67b7ca9 100644
-
The systemd requires some actions when the package is
installed, upgraded or removed. This patch adds the
needed RPM sections with the missing systemd actions.
There is a change in behavior - the service is not enabled
or started by default.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fe
The DB initialization is done by ovs-ctl script as well,
so remove the duplicated code from the spec.
Signed-off-by: Flavio Leitner
---
rhel/openvswitch-fedora.spec.in | 13 -
1 file changed, 13 deletions(-)
diff --git a/rhel/openvswitch-fedora.spec.in b/rhel/openvswitch-fedora.spec
The tunnel port is invisible to the OS, so there is
no reason to call OTHERSCRIPT in the ifup/ifdown scripts.
Signed-off-by: Flavio Leitner
---
rhel/etc_sysconfig_network-scripts_ifdown-ovs | 4 ++--
rhel/etc_sysconfig_network-scripts_ifup-ovs | 1 -
2 files changed, 2 insertions(+), 3 deletio
From: Madhu Challa
Remove hard coded array index and make it dependent on the array size.
Signed-off-by: Madhu Challa
Co-authored-by: Ben Pfaff
Signed-off-by: Ben Pfaff
---
lib/learn.c | 6 --
lib/meta-flow.h | 2 ++
2 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/lib/
Thanks.
On Tue, Nov 04, 2014 at 06:45:02PM -0700, Scott Mann wrote:
> Ben,
> Yes, I will. But it will likely be this weekend before I am able to do that
> (in traveling).
> Scott
>
> On Nov 4, 2014 3:51 PM, "Ben Pfaff" wrote:
> >
> > On Wed, Oct 29, 2014 at 02:55:39PM -0600, Scott Mann wrote:
>
On Mon, Nov 03, 2014 at 11:39:00AM -0800, Jarno Rajahalme wrote:
> Returning const struct cls_rule pointers from the classifier API helps
> callers to remember that they should not modify the rules returned.
>
> Signed-off-by: Jarno Rajahalme
I don't think it has much practical effect since most
On Thu, Nov 06, 2014 at 10:57:13AM -0800, Ben Pfaff wrote:
> From: Madhu Challa
>
> Remove hard coded array index and make it dependent on the array size.
>
> Signed-off-by: Madhu Challa
> Co-authored-by: Ben Pfaff
> Signed-off-by: Ben Pfaff
Madhu looked at this, so I applied it.
Thanks,
B
On Thu, Nov 06, 2014 at 11:02:56AM -0800, Ben Pfaff wrote:
> On Mon, Nov 03, 2014 at 11:39:00AM -0800, Jarno Rajahalme wrote:
> > Returning const struct cls_rule pointers from the classifier API helps
> > callers to remember that they should not modify the rules returned.
> >
> > Signed-off-by: Ja
On Mon, Nov 03, 2014 at 11:39:01AM -0800, Jarno Rajahalme wrote:
> struct cls_match 'list' member was recently changed to an rculist.
> This allows classifier_find_rule_exactly() to be made lockless.
>
> Since subtable's 'max_priority' member would still require a lock, we
> no longer check it bef
On Mon, Nov 03, 2014 at 11:39:02AM -0800, Jarno Rajahalme wrote:
> Some struct cls_match and cls_subtable fields were already documented
> of being const. Make them const and use CONST_CAST where appropriate
> to initialize them.
>
> This will help catch future errors modifying those fields after
On Nov 6, 2014, at 11:08 AM, Ben Pfaff wrote:
> On Thu, Nov 06, 2014 at 11:06:59AM -0800, Ben Pfaff wrote:
>> On Thu, Nov 06, 2014 at 11:02:56AM -0800, Ben Pfaff wrote:
>>> On Mon, Nov 03, 2014 at 11:39:00AM -0800, Jarno Rajahalme wrote:
Returning const struct cls_rule pointers from the cla
On Mon, Nov 03, 2014 at 11:39:03AM -0800, Jarno Rajahalme wrote:
> Add asserts to make sure the containers within are already empty.
>
> Signed-off-by: Jarno Rajahalme
Acked-by: Ben Pfaff
___
dev mailing list
dev@openvswitch.org
http://openvswitch.org
On Nov 6, 2014, at 10:50 AM, Jarno Rajahalme wrote:
>> +for i in `seq 1 5`; do echo "reg0=$i/$i actions=drop"; done > flows
Running this test case alone with ‘time’ added to the preceding line:
real1m12.531s
user0m2.492s
sys 0m6.928s
>> +AT_CHECK([ovs-ofctl diff-flows flows fl
On Thu, Nov 06, 2014 at 11:06:59AM -0800, Ben Pfaff wrote:
> On Thu, Nov 06, 2014 at 11:02:56AM -0800, Ben Pfaff wrote:
> > On Mon, Nov 03, 2014 at 11:39:00AM -0800, Jarno Rajahalme wrote:
> > > Returning const struct cls_rule pointers from the classifier API helps
> > > callers to remember that th
On Thu, Nov 06, 2014 at 11:29:26AM -0800, Jarno Rajahalme wrote:
>
> On Nov 6, 2014, at 11:08 AM, Ben Pfaff wrote:
>
> > On Thu, Nov 06, 2014 at 11:06:59AM -0800, Ben Pfaff wrote:
> >> On Thu, Nov 06, 2014 at 11:02:56AM -0800, Ben Pfaff wrote:
> >>> On Mon, Nov 03, 2014 at 11:39:00AM -0800, Jarn
On Thu, Nov 06, 2014 at 11:34:41AM -0800, Jarno Rajahalme wrote:
>
> On Nov 6, 2014, at 10:50 AM, Jarno Rajahalme wrote:
>
> >> +for i in `seq 1 5`; do echo "reg0=$i/$i actions=drop"; done > flows
>
> Running this test case alone with ‘time’ added to the preceding line:
>
> real 1m12.531s
The classifier has an internal mutex, but in ofproto that mutex is
redundant with the external ofproto_mutex. If the classifier mutex were
removed, to be replaced by documentation that certain routines need
mutual exclusion, then possibly the reduced locking could yield a
performance improvement.
On 11/6/14 4:06 AM, Pravin Shelar wrote:
+static int push_eth(struct sk_buff *skb, const struct
ovs_action_push_eth *ethh)
+{
+ /* De-accelerate any hardware accelerated VLAN tag added to a
previous
+* Ethernet header */
+ if (unlikely(vlan_tx_tag_present(skb))) {
+
On 11/6/14 7:17 PM, Pravin Shelar wrote:
On Thu, Nov 6, 2014 at 7:53 AM, Jesse Gross wrote:
On Wed, Nov 5, 2014 at 6:06 PM, Pravin Shelar wrote:
On Wed, Nov 5, 2014 at 10:19 AM, Lori Jakab wrote:
On 11/5/14 12:16 AM, Pravin Shelar wrote:
On Mon, Nov 3, 2014 at 1:36 PM, Lorand Jakab wrote:
On Thu, Nov 06, 2014 at 10:50:09AM -0800, Jarno Rajahalme wrote:
> With notes below:
>
> Acked-by: Jarno Rajahalme
>
> On Nov 6, 2014, at 10:03 AM, Ben Pfaff wrote:
>
> > Inserting or removing a sequence of flows with different wildcard patterns
> > causes temporary use of O(n**2) memory due t
On Mon, Nov 03, 2014 at 11:39:04AM -0800, Jarno Rajahalme wrote:
> Previously, accurate iteration required writers to be excluded during
> iteration. This patch adds an rculist to struct cls_subtable, and a
> corresponding list node to struct cls_rule, which makes iteration more
> straightforward,
On Nov 6, 2014, at 12:34 PM, Ben Pfaff wrote:
> On Mon, Nov 03, 2014 at 11:39:04AM -0800, Jarno Rajahalme wrote:
>> Previously, accurate iteration required writers to be excluded during
>> iteration. This patch adds an rculist to struct cls_subtable, and a
>> corresponding list node to struct c
On Nov 6, 2014, at 12:21 PM, Ben Pfaff wrote:
> The classifier has an internal mutex, but in ofproto that mutex is
> redundant with the external ofproto_mutex. If the classifier mutex were
> removed, to be replaced by documentation that certain routines need
> mutual exclusion, then possibly th
On Nov 6, 2014, at 12:28 PM, Ben Pfaff wrote:
> On Thu, Nov 06, 2014 at 10:50:09AM -0800, Jarno Rajahalme wrote:
>> With notes below:
>>
>> Acked-by: Jarno Rajahalme
>>
>> On Nov 6, 2014, at 10:03 AM, Ben Pfaff wrote:
>>
>>> Inserting or removing a sequence of flows with different wildcard
I am in the process adding a new action. The steps described are good
starting points. Thanks for documenting them.
Acked-by: Andy Zhou
On Tue, Nov 4, 2014 at 10:59 AM, Ben Pfaff wrote:
> We get these questions from time to time and it would be nice to just be
> able to cut and paste the answ
On Thu, Nov 06, 2014 at 01:16:39PM -0800, Jarno Rajahalme wrote:
>
> On Nov 6, 2014, at 12:28 PM, Ben Pfaff wrote:
>
> > On Thu, Nov 06, 2014 at 10:50:09AM -0800, Jarno Rajahalme wrote:
> >> With notes below:
> >>
> >> Acked-by: Jarno Rajahalme
> >>
> >> On Nov 6, 2014, at 10:03 AM, Ben Pfaff
On Thu, Nov 06, 2014 at 01:09:20PM -0800, Jarno Rajahalme wrote:
>
> On Nov 6, 2014, at 12:21 PM, Ben Pfaff wrote:
>
> > The classifier has an internal mutex, but in ofproto that mutex is
> > redundant with the external ofproto_mutex. If the classifier mutex were
> > removed, to be replaced by
Thanks! Applied.
On Thu, Nov 06, 2014 at 01:20:41PM -0800, Andy Zhou wrote:
> I am in the process adding a new action. The steps described are good
> starting points. Thanks for documenting them.
>
> Acked-by: Andy Zhou
>
>
> On Tue, Nov 4, 2014 at 10:59 AM, Ben Pfaff wrote:
> > We get thes
On Thu, Nov 06, 2014 at 04:45:18PM -0200, Flavio Leitner wrote:
> This patchset updates the fedora spec file to be
> compliant with the distro guidelines and includes
> some fixes as well.
I can tell when I'm outclassed ;-)
Applied.
___
dev mailing list
On Thu, Nov 06, 2014 at 04:50:06PM -0200, Flavio Leitner wrote:
> The tunnel port is invisible to the OS, so there is
> no reason to call OTHERSCRIPT in the ifup/ifdown scripts.
>
> Signed-off-by: Flavio Leitner
Applied, thanks! Also backported to branch-2.3.
___
On Thu, Nov 06, 2014 at 01:04:39PM -0800, Jarno Rajahalme wrote:
>
> On Nov 6, 2014, at 12:34 PM, Ben Pfaff wrote:
>
> > On Mon, Nov 03, 2014 at 11:39:04AM -0800, Jarno Rajahalme wrote:
> >> Previously, accurate iteration required writers to be excluded during
> >> iteration. This patch adds an
On Nov 6, 2014, at 1:40 PM, Ben Pfaff wrote:
> On Thu, Nov 06, 2014 at 01:16:39PM -0800, Jarno Rajahalme wrote:
>>
>> On Nov 6, 2014, at 12:28 PM, Ben Pfaff wrote:
>>
>>> On Thu, Nov 06, 2014 at 10:50:09AM -0800, Jarno Rajahalme wrote:
With notes below:
Acked-by: Jarno Rajahal
ovs-vsctl has the concept of a VLAN (or "fake") bridge, which is a
sort of a sub-bridge that receives only packets on a particular VLAN.
There is no way to distinguish two VLAN bridges with the same parent on the
same VLAN, but until now ovs-vsctl did not prevent creating duplicates or
report them.
On Wed, Nov 05, 2014 at 01:57:39PM +0900, Simon Horman wrote:
> parse_ofp_group_mod_str() may limit the usable protocols according
> to the group and in particular its actions. However, without this
> change ovs-ofctl ignores this calculation.
>
> Signed-off-by: Simon Horman
It looks useful, but
Thanks for the review!
Pushed with the change that classifier_remove takes a const struct cls_rule
pointer as an argument.
Jarno
On Nov 6, 2014, at 11:58 AM, Ben Pfaff wrote:
> On Thu, Nov 06, 2014 at 11:29:26AM -0800, Jarno Rajahalme wrote:
>>
>> On Nov 6, 2014, at 11:08 AM, Ben Pfaff wr
On Wed, Nov 05, 2014 at 10:37:18AM -0800, Jarno Rajahalme wrote:
> Ethernet frames may contain padding after the IP payload. When
> parsing IP packets, check the IP total size (IPv4) or IP payload size
> (IPv6) to detect the size of l2 padding. The l2 padding size is
> stored in the ofpbuf to pre
Updated the commit message according to your comment and pushed to master,
thanks for the review!
Jarno
On Nov 6, 2014, at 11:24 AM, Ben Pfaff wrote:
> On Mon, Nov 03, 2014 at 11:39:01AM -0800, Jarno Rajahalme wrote:
>> struct cls_match 'list' member was recently changed to an rculist.
>> Th
On Nov 6, 2014, at 11:25 AM, Ben Pfaff wrote:
> On Mon, Nov 03, 2014 at 11:39:02AM -0800, Jarno Rajahalme wrote:
>> Some struct cls_match and cls_subtable fields were already documented
>> of being const. Make them const and use CONST_CAST where appropriate
>> to initialize them.
>>
>> This wi
On Nov 6, 2014, at 11:28 AM, Ben Pfaff wrote:
> On Mon, Nov 03, 2014 at 11:39:03AM -0800, Jarno Rajahalme wrote:
>> Add asserts to make sure the containers within are already empty.
>>
>> Signed-off-by: Jarno Rajahalme
>
> Acked-by: Ben Pfaff
Pushed, thanks!
Jarno
__
1 - 100 of 116 matches
Mail list logo