Re: [ovs-dev] Fwd: OVS bridge configuration issue

2014-04-13 Thread huntxu
On Fri, 11 Apr 2014 03:53:39 +0800, Hitesh Wadekar wrote: Hello Guys, Currently we are working on SDN project with OVS. so we are doing some exp on OVS. Here is our configuration. We have created a bridge br1 and add two ports eth2 and eth3 " ovs:~% sudo ovs-ofctl show br1 OFPT_FEATURES_REP

[ovs-dev] [PATCH v3] Add Support for 802.1qad (qinq) Allows TPID of 0x88a8

2014-04-13 Thread Tom Herbert
This is a reformatted patch to fix problem reported to me by Andy with the patch format. Tom Herbert (1): V3 Add Support for 802.1qad (qinq) Allows TPID of 0x88a8 NEWS|1 + datapath/actions.c | 16 datapath/flow_netlink.c | 15

[ovs-dev] [PATCH] V3 Add Support for 802.1qad (qinq) Allows TPID of 0x88a8

2014-04-13 Thread Tom Herbert
Signed-off-by: Tom Herbert --- NEWS|1 + datapath/actions.c | 16 datapath/flow_netlink.c | 15 +-- include/linux/openvswitch.h | 12 ++-- lib/odp-execute.c |2 +- lib/odp-util.c |2

[ovs-dev] [PATCH] ofproto-dpif: Correct typo in documentation of rule_dpif_lookup()

2014-04-13 Thread Simon Horman
This corrects a typo that was added by adcf00ba35a0ce9c ("ofproto/bond: Implement bond megaflow using recirculation"). Cc: Andy Zhou Signed-off-by: Simon Horman --- ofproto/ofproto-dpif.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofprot

[ovs-dev] [PATCH] ofproto-dpif: Correct documentation of rule_dpif_lookup_from_table()

2014-04-13 Thread Simon Horman
This corrects an editing error that was added by 6b83a3c5c37a0711 ("ofproto: Support OF version-specific table-miss behaviours"). Signed-off-by: Simon Horman --- ofproto/ofproto-dpif.c | 1 + 1 file changed, 1 insertion(+) diff --git a/ofproto/ofproto-dpif.c b/ofproto/ofproto-dpif.c index 66cc2

[ovs-dev] [PATCH 2/2] ofproto/bond: Protect statistics with a mutex.

2014-04-13 Thread Joe Stringer
From: Joe Stringer dcf00ba35a0 (ofproto/bond: Implement bond megaflow using recirculation) added bond account functions that protected the statistics with only readlocks. This patch adds a mutex to ensure that they are updated correctly, and adds threadsafety annotations to the relevant functions

[ovs-dev] [PATCH 1/2] ofproto/bond: Minor cleanups.

2014-04-13 Thread Joe Stringer
From: Joe Stringer Add a constant for the number of bond buckets, and other minor cleanups. Signed-off-by: Joe Stringer --- ofproto/bond.c | 14 +++--- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/ofproto/bond.c b/ofproto/bond.c index 49dd49e..8554955 100644 --- a/of

Re: [ovs-dev] [PATCH 1/4] datapath: Move table destroy to dp-rcu callback.

2014-04-13 Thread Pravin Shelar
On Tue, Apr 8, 2014 at 9:43 PM, Thomas Graf wrote: > On 04/08/2014 12:00 AM, Pravin wrote: >> >> diff --git a/datapath/flow_table.c b/datapath/flow_table.c >> index 159572b..75c1b82 100644 >> --- a/datapath/flow_table.c >> +++ b/datapath/flow_table.c >> @@ -259,11 +259,11 @@ skip_flows: >>

Re: [ovs-dev] [PATCH 1/2] ofproto/bond: Minor cleanups.

2014-04-13 Thread Andy Zhou
Looks good. Thanks. Acked-by: Andy Zhou On Sun, Apr 13, 2014 at 10:30 PM, Joe Stringer wrote: > From: Joe Stringer > > Add a constant for the number of bond buckets, and other minor cleanups. > > Signed-off-by: Joe Stringer > --- > ofproto/bond.c | 14 +++--- > 1 file changed, 7 ins

Re: [ovs-dev] [PATCH 2/4] datapath: Add flow mask cache.

2014-04-13 Thread Pravin Shelar
On Wed, Apr 9, 2014 at 4:05 PM, Thomas Graf wrote: > On 04/08/2014 12:00 AM, Pravin wrote: >> >> From: Pravin Shelar >> >> On every packet OVS needs to lookup flow-table with every mask. >> the packet flow-key is first masked with mask in the list and >> then the masked key is looked up in flow-t