[ovs-dev] [PATCH v6] Add basic implementation for OpenFlow 1.4 bundles

2014-05-01 Thread Alexandru Copot
This is only the communication part of the bundles functionality. The actual message pre-validation and commits are not implemented. We also enable OF1.4 for all the tests. Signed-off-by: Alexandru Copot Cc: Daniel Baluta --- v6: * return error code for invalid inner message size v5: * fold

Re: [ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust

2014-05-01 Thread Andy Zhou
The initial bond distribution indeed improved significantly with e58f91a1. Thanks for solving one of the mysteries. I have already pushed Simon's patch assuming test failure was still observed with this patch. Using 256 is not a bad idea at any rate -- there is no particular good reason to pick 9

Re: [ovs-dev] [PATCH v7 1/2] datapath: Add support for kernel 3.14.

2014-05-01 Thread Jesse Gross
On Thu, May 1, 2014 at 3:50 PM, Pritesh Kothari wrote: > Signed-off-by: Pritesh Kothari > --- > v7: change a specific version to HAVE_RXHASH, > fix skb_clear_hash to include l4_rxhash. > v6: rebase for changes in datapath/datapath.c > v5: move skb_clear_rxhash() from compat.h to skbuff.h, >

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix in_port=controller case for NORMAL action

2014-05-01 Thread YAMAMOTO Takashi
> On Thu, May 01, 2014 at 03:54:22PM +0900, YAMAMOTO Takashi wrote: >> > On Wed, Apr 30, 2014 at 10:24:46AM +0900, YAMAMOTO Takashi wrote: >> >> The problem mentioned by Simon Horman in the following mail. >> >> http://openvswitch.org/pipermail/dev/2014-April/039492.html >> >> >> >> Cc: Simon Horm

Re: [ovs-dev] [PATCH 1/3] netdev: Reuse netdev_ref() in netdev_rxq_open().

2014-05-01 Thread YAMAMOTO Takashi
> netdev_rxq_open() open-codes much of netdev_ref(), so re-use that > function instead. > > Signed-off-by: Joe Stringer Reviewed-by: YAMAMOTO Takashi ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH 2/3] netdev: Safely increment refcount in netdev_open().

2014-05-01 Thread YAMAMOTO Takashi
> netdev_open() would previously increment a netdev's refcount without > holding a lock for it. This commit shifts the locking to protect it. > > Found by inspection. > > Signed-off-by: Joe Stringer Reviewed-by: YAMAMOTO Takashi ___ dev mailing list

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread Andy Zhou
Thanks you for clarifying the need. Since there is no urgent need to introduce a stop gap measure, I am happy to drop this patch for now. On Thu, May 1, 2014 at 10:10 PM, Simon Horman wrote: > On Thu, May 01, 2014 at 07:46:21AM -0700, Ben Pfaff wrote: >> On Thu, May 01, 2014 at 02:03:05AM -0700

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread Simon Horman
On Thu, May 01, 2014 at 07:46:21AM -0700, Ben Pfaff wrote: > On Thu, May 01, 2014 at 02:03:05AM -0700, Andy Zhou wrote: > > On Thu, May 1, 2014 at 1:20 AM, Simon Horman wrote: > > > On Thu, May 01, 2014 at 03:59:20PM +0900, YAMAMOTO Takashi wrote: > > >> >> Something like this (I have not tested e

Re: [ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust

2014-05-01 Thread Simon Horman
On Thu, May 01, 2014 at 06:46:08PM -0700, Andy Zhou wrote: > On Thu, May 1, 2014 at 6:23 PM, YAMAMOTO Takashi > wrote: > >> It is my observation that when sending 91 packets to a mode=balance > >> bond interface with three underlying ports in some cases not all ports > >> receive at least 7 packe

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread YAMAMOTO Takashi
> On Wed, Apr 30, 2014 at 11:59 PM, YAMAMOTO Takashi > wrote: Something like this (I have not tested either scenario): I think this will fail to match but that may not be obvious to users: packet_out: in_port=CONTROLLER actions=goto_table:1 table 1: match=in_port=CON

[ovs-dev] [PACKET_OUT v3] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread Andy Zhou
When controller sends OFPT_PACKET_OUT message with the in_port set to a patch port or as CONTROLLER, and the message execution requires recirculation, those packets will be dropped in the datapath. This is because the post recirculation flow will not be set up by Xlate layer that rejects up call wi

Re: [ovs-dev] [PATCH V2] bridge: Allow users to configure statistics update to OVSDB.

2014-05-01 Thread Joe Stringer
On 30 April 2014 12:46, Alex Wang wrote: > > +dnl set the stats update interval to 100K ms, the following 'recv' should > not be updated. > +AT_CHECK([ovs-vsctl set O . other_config:stats-update-interval=10]) > +for i in `seq 0 50`; do ovs-appctl time/warp 1000; done > +for i in `seq 1 5`; do

Re: [ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust

2014-05-01 Thread Andy Zhou
On Thu, May 1, 2014 at 6:23 PM, YAMAMOTO Takashi wrote: >> It is my observation that when sending 91 packets to a mode=balance >> bond interface with three underlying ports in some cases not all ports >> receive at least 7 packets. This causes the test to fail. > > was it with or without commit e5

[ovs-dev] [PATCH] vtep: clean up whitespace

2014-05-01 Thread Bruce Davie
Signed-off-by: Bruce Davie --- vtep/vtep.ovsschema | 104 - vtep/vtep.xml | 218 ++-- 2 files changed, 161 insertions(+), 161 deletions(-) diff --git a/vtep/vtep.ovsschema b/vtep/vtep.ovsschema index 4a25f2f..94494ab 1

Re: [ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust

2014-05-01 Thread YAMAMOTO Takashi
> It is my observation that when sending 91 packets to a mode=balance > bond interface with three underlying ports in some cases not all ports > receive at least 7 packets. This causes the test to fail. was it with or without commit e58f91a1? YAMAMOTO Takashi > > It may be that failure indicate

[ovs-dev] [PATCH 2/3] netdev: Safely increment refcount in netdev_open().

2014-05-01 Thread Joe Stringer
netdev_open() would previously increment a netdev's refcount without holding a lock for it. This commit shifts the locking to protect it. Found by inspection. Signed-off-by: Joe Stringer --- lib/netdev.c |6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/netdev.c b

[ovs-dev] [PATCH 3/3] netdev: Warn on opening netdev as unexpected type.

2014-05-01 Thread Joe Stringer
Previously, it was possible to open a netdevice as one type, then proceed to open it as a different type without first closing it. The bridge code would expect it to be opened as the latter type and try to apply configuration to it. This patch catches the problem earlier by detecting the case in ne

[ovs-dev] [PATCH 1/3] netdev: Reuse netdev_ref() in netdev_rxq_open().

2014-05-01 Thread Joe Stringer
netdev_rxq_open() open-codes much of netdev_ref(), so re-use that function instead. Signed-off-by: Joe Stringer --- lib/netdev.c |5 + 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/netdev.c b/lib/netdev.c index 2fc1834..6f997fd 100644 --- a/lib/netdev.c +++ b/lib/netde

Re: [ovs-dev] [PATCH v3 04/16] dpif: Allow hash actions in dpif_execute_helper_cb()

2014-05-01 Thread Simon Horman
On Thu, May 01, 2014 at 08:44:29AM -0700, Ben Pfaff wrote: > On Tue, Apr 22, 2014 at 05:54:52PM +0900, Simon Horman wrote: > > Rather then prohibiting hash actions dpif_execute_helper_cb() > > execute them by passing them on to aux->dpif->dpif_class->execute() > > and save the updated packet metada

[ovs-dev] [cmap 2/2] dpif-netdev: Use cmap for ports.

2014-05-01 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- lib/dpif-netdev.c | 153 + 1 file changed, 73 insertions(+), 80 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 55712dd..2dddad5 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -32,6

[ovs-dev] [cmap 1/2] cmap: New module for cuckoo hash table.

2014-05-01 Thread Ben Pfaff
This implements an "optimistic concurrent cuckoo hash", a single-writer, multiple-reader hash table data structure. The point of this data structure is performance, so this commit message focuses on performance. I tested the performance of cmap with the test-cmap utility included in this commit.

[ovs-dev] [PATCH] netdev-vport: Checks tunnel status change when route-table is reset.

2014-05-01 Thread Alex Wang
Commit 3e912ffcbb (netdev: Add 'change_seq' back to netdev.) added per- netdev change number for indicating status change. Future commits used this change number to optimize the netdev status update to database. However, the work also introduced the bug in the following scenario: - assume interfa

[ovs-dev] [PATCH v7 2/2] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- acinclude.m4 | 1 + datapath/linux/compat/include/linux/skbuff.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index 518a66b..e8a8a2e 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -295,6 +29

[ovs-dev] [PATCH Branch 2.0 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index cb563c6..d5f5830 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@

[ovs-dev] [PATCH Branch 2.1 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index b675e41..f51d66b 100644 --- a/acinclude.m4 +++ b

[ovs-dev] [PATCH Branch 1.9 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 3 +++ 2 files changed, 4 insertions(+) diff --git a/acinclude.m4 b/acinclude.m4 index d1271a4..3b7a5eb 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@

[ovs-dev] [PATCH v7 1/2] datapath: Add support for kernel 3.14.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v7: change a specific version to HAVE_RXHASH, fix skb_clear_hash to include l4_rxhash. v6: rebase for changes in datapath/datapath.c v5: move skb_clear_rxhash() from compat.h to skbuff.h, simplify skb_get_hash() integration, fix random.h order in acin

[ovs-dev] [PATCH Branch 2.2 Backport] datapath: clear l4_rxhash in skb_clear_hash.

2014-05-01 Thread Pritesh Kothari
Signed-off-by: Pritesh Kothari --- v1: backporting commit from master to fix skb_clear_rxhash. --- acinclude.m4 | 1 + datapath/compat.h | 5 - 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/acinclude.m4 b/acinclude.m4 index fdcdf44..4c569ce 100644 --- a/acinclude.m4 +++ b

Re: [ovs-dev] [PATCH v6] datapath: Add support for kernel 3.14.

2014-05-01 Thread Pritesh Kothari (pritkoth)
On Apr 30, 2014, at 3:42 PM, Jesse Gross wrote: > On Tue, Apr 29, 2014 at 3:24 PM, Pritesh Kothari > wrote: >> diff --git a/datapath/linux/compat/include/linux/skbuff.h >> b/datapath/linux/compat/include/linux/skbuff.h >> index 714c955..de9b29d 100644 >> --- a/datapath/linux/compat/include/lin

[ovs-dev] [PATCH] Prepare for 2.1.3.

2014-05-01 Thread Justin Pettit
Signed-off-by: Justin Pettit --- NEWS |4 configure.ac |2 +- debian/changelog |6 ++ 3 files changed, 11 insertions(+), 1 deletions(-) diff --git a/NEWS b/NEWS index e1fb093..6790fd0 100644 --- a/NEWS +++ b/NEWS @@ -1,3 +1,7 @@ +v2.1.3 - xx xxx +---

Re: [ovs-dev] [PATCH] datapath: handle recirculation loop detection

2014-05-01 Thread Andy Zhou
Thanks Jesse for the review. Push to master and branch-2.2 with the fix and some other clean ups. On Thu, May 1, 2014 at 1:21 PM, Jesse Gross wrote: > On Wed, Apr 30, 2014 at 4:46 PM, Andy Zhou wrote: >> diff --git a/datapath/actions.c b/datapath/actions.c >> index 5871d82..5556a0c 100644 >> ---

Re: [ovs-dev] [PATCH] datapath: handle recirculation loop detection

2014-05-01 Thread Jesse Gross
On Wed, Apr 30, 2014 at 4:46 PM, Andy Zhou wrote: > diff --git a/datapath/actions.c b/datapath/actions.c > index 5871d82..5556a0c 100644 > --- a/datapath/actions.c > +++ b/datapath/actions.c > @@ -644,22 +649,24 @@ static DEFINE_PER_CPU(struct loop_counter, > loop_counters); > static int loop_su

Re: [ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust

2014-05-01 Thread Andy Zhou
Thanks for the patch. I will apply this in a few minutes. I also find the hash distribution trouble some, but was not able to pin it down. I will look at this more. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

[ovs-dev] PATCH 1/1 : netdev-dpdk / add dpdk rings to netdev-dpdk

2014-05-01 Thread Gerald Rogers
This patch enables the client dpdk rings within the netdev-dpdk. It adds a new dpdk device called dpdkr (other naming suggestions?). This allows for the use of shared memory to communicate with other dpdk applications, on the host or within a virtual machine. Instructions for use are in INSTA

Re: [ovs-dev] [PATCH v2.56] datapath: Add basic MPLS support to kernel

2014-05-01 Thread Jesse Gross
On Thu, May 1, 2014 at 1:54 AM, Simon Horman wrote: > On Wed, Apr 30, 2014 at 03:56:44PM -0700, Jesse Gross wrote: >> On Tue, Apr 29, 2014 at 10:58 PM, Simon Horman wrote: >> > On Tue, Apr 29, 2014 at 11:41:57AM -0700, Jesse Gross wrote: >> >> On Mon, Apr 28, 2014 at 5:13 PM, Simon Horman wrote:

Re: [ovs-dev] MacVTap support in OVS

2014-05-01 Thread Jesse Gross
On Thu, May 1, 2014 at 2:00 AM, Suresh Kumar Reddy Reddygari wrote: > Hi, > > Is MacVTap support there in OVS. If not, is there any plan to support it. No. What are you trying to do? ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailm

Re: [ovs-dev] Userspace Netlink MMAP status

2014-05-01 Thread Zoltan Kiss
On 29/04/14 17:36, Thomas Graf wrote: On Tue, Apr 29, 2014 at 05:17:07PM +0100, Zoltan Kiss wrote: On 23/04/14 22:56, Thomas Graf wrote: On 04/23/2014 10:12 PM, Ethan Jackson wrote: The problem has actually gotten worse since we've gotten rid of the dispatcher thread. Now each thread has it's

Re: [ovs-dev] [PATCH] ovs-thread: Fix OVS_ADAPTIVE_MUTEX_INITIALIZER.

2014-05-01 Thread Ben Pfaff
Thanks, applied. On Thu, May 01, 2014 at 08:44:10AM -0700, Jarno Rajahalme wrote: > Acked-by: Jarno Rajahalme > > > On May 1, 2014, at 8:26 AM, Ben Pfaff wrote: > > > > Commit 05bf6d3c62e1d (ovs-thread: Add checking for mutex and rwlock > > initialization.) updated mutex and rwlock initializer

Re: [ovs-dev] [PATCH v3 04/16] dpif: Allow hash actions in dpif_execute_helper_cb()

2014-05-01 Thread Ben Pfaff
On Tue, Apr 22, 2014 at 05:54:52PM +0900, Simon Horman wrote: > Rather then prohibiting hash actions dpif_execute_helper_cb() > execute them by passing them on to aux->dpif->dpif_class->execute() > and save the updated packet metadata afterwards. It is assumed > that if a hash is calculated it will

Re: [ovs-dev] [PATCH] ovs-thread: Fix OVS_ADAPTIVE_MUTEX_INITIALIZER.

2014-05-01 Thread Jarno Rajahalme
Acked-by: Jarno Rajahalme > On May 1, 2014, at 8:26 AM, Ben Pfaff wrote: > > Commit 05bf6d3c62e1d (ovs-thread: Add checking for mutex and rwlock > initialization.) updated mutex and rwlock initializers to set the "where" > member to a nonnull value, but missed this one. This commit fixes the >

Re: [ovs-dev] [PATCH V3] ofproto-dpif-monitor: Fix deadlock.

2014-05-01 Thread Ben Pfaff
On Tue, Apr 29, 2014 at 11:06:29AM -0700, Alex Wang wrote: > Commit 6b59b543 (ovs-thread: Use fair (but nonrecursive) > rwlocks on glibc.) changed the rwlocks to nonrecursive, > writer-biased lock. It also made the following deadlock > possible. > > Assume BFD is used on both end of a link. Cons

[ovs-dev] [PATCH] ovs-thread: Fix OVS_ADAPTIVE_MUTEX_INITIALIZER.

2014-05-01 Thread Ben Pfaff
Commit 05bf6d3c62e1d (ovs-thread: Add checking for mutex and rwlock initialization.) updated mutex and rwlock initializers to set the "where" member to a nonnull value, but missed this one. This commit fixes the problem. This does not cause real problems in practice because OVS_ADAPTIVE_MUTEX_INI

Re: [ovs-dev] [PATCH] [RFC] flow: Do not clear L3+ fields of flow in flow_push_mpls()

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 08:21:36AM -0700, Jarno Rajahalme wrote: > > > On May 1, 2014, at 7:53 AM, Ben Pfaff wrote: > > > >> On Mon, Apr 28, 2014 at 03:57:58PM -0700, Jarno Rajahalme wrote: > >> > >>> On Mar 20, 2014, at 10:05 AM, Ben Pfaff wrote: > >>> > On Fri, Mar 14, 2014 at 04:19:52

Re: [ovs-dev] [PATCH] [RFC] flow: Do not clear L3+ fields of flow in flow_push_mpls()

2014-05-01 Thread Jarno Rajahalme
> On May 1, 2014, at 7:53 AM, Ben Pfaff wrote: > >> On Mon, Apr 28, 2014 at 03:57:58PM -0700, Jarno Rajahalme wrote: >> >>> On Mar 20, 2014, at 10:05 AM, Ben Pfaff wrote: >>> On Fri, Mar 14, 2014 at 04:19:52PM +0900, Simon Horman wrote: When creating a flow in the datapath as the re

Re: [ovs-dev] [PATCH] ovs-ctl: Install manpage.

2014-05-01 Thread Ben Pfaff
On Thu, Apr 24, 2014 at 04:03:46PM -0700, Gurucharan Shetty wrote: > On Fri, Apr 11, 2014 at 11:18 AM, Ben Pfaff wrote: > > It seems that it is useful to admins after all. > > > > Reported-by: Brian Candler > > Signed-off-by: Ben Pfaff > > --- > > debian/openvswitch-switch.manpages |1 + > >

Re: [ovs-dev] [PATCH v4] ofproto: per-table statistics

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 05:58:00PM +0900, Simon Horman wrote: > On Wed, Apr 30, 2014 at 09:54:30AM +0900, YAMAMOTO Takashi wrote: > > > On Tue, Apr 29, 2014 at 06:34:22PM +0900, Simon Horman wrote: > > >> Add per-table counters. This resolves some short-comings > > >> in the data provided in a tabl

Re: [ovs-dev] [PATCH] ovs-dpctl: Don't print mask when all fields exact-match.

2014-05-01 Thread Ben Pfaff
On Mon, Apr 28, 2014 at 10:25:21PM -0700, Arun Sharma wrote: > For each field, if the mask is all zeros, don't print it at all, > if it is all ones, print it without the mask trailer. > If it is neither of those two, print the value and mask in the current > form. > > Removed inconsistency in form

Re: [ovs-dev] [PATCH] [RFC] flow: Do not clear L3+ fields of flow in flow_push_mpls()

2014-05-01 Thread Ben Pfaff
On Mon, Apr 28, 2014 at 03:57:58PM -0700, Jarno Rajahalme wrote: > > On Mar 20, 2014, at 10:05 AM, Ben Pfaff wrote: > > > On Fri, Mar 14, 2014 at 04:19:52PM +0900, Simon Horman wrote: > >> When creating a flow in the datapath as the result of an upcall > >> the match itself is the match supplied

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

2014-05-01 Thread Ben Pfaff
On Wed, Apr 30, 2014 at 04:27:47PM +0200, Daniele Venturino wrote: > In lib/mac-learning.h there is a function (mac_learning_flush()) to > flush the whole table. Is there a function to flush the entries > pertaining to a single port? There's bundle_flush_macs() in ofproto/ofproto-dpif.c. _

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 02:03:05AM -0700, Andy Zhou wrote: > On Thu, May 1, 2014 at 1:20 AM, Simon Horman wrote: > > On Thu, May 01, 2014 at 03:59:20PM +0900, YAMAMOTO Takashi wrote: > >> >> Something like this (I have not tested either scenario): > >> >> > >> >> I think this will fail to match

Re: [ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 05:40:17PM +0900, Simon Horman wrote: > It is my observation that when sending 91 packets to a mode=balance > bond interface with three underlying ports in some cases not all ports > receive at least 7 packets. This causes the test to fail. > > It may be that failure indica

Re: [ovs-dev] [PATCH] ofproto-dpif: Correct check_recirc comment

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 05:34:20PM +0900, Simon Horman wrote: > This is a proposed correction for what appears to be > an editing error. > > Signed-off-by: Simon Horman I applied this with a few additional editorial improvements. ___ dev mailing list d

Re: [ovs-dev] [PATCH] ofproto: Fix is_flow_deletion_pending() false positive.

2014-05-01 Thread Ben Pfaff
On Wed, Apr 30, 2014 at 05:29:01PM -0700, Ethan Jackson wrote: > If one tries to install a rule that's identical to another rule in > another OpenFlow table which is being deleted, it's possible that > is_flow_deletion_pending() might confuse them and block the > installation. This is such an edge

Re: [ovs-dev] [PATCH v5 2/2] ofp-print: Enable printing OF1.4 version

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 01:22:20PM +0300, Alexandru Copot wrote: > Also fix some tests that can now properly print packets > with the new protocol version. > > Signed-off-by: Alexandru Copot > Cc: Daniel Baluta Applied. ___ dev mailing list dev@openvs

Re: [ovs-dev] [PATCH v5 1/2] Add basic implementation for OpenFlow 1.4 bundles

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 01:22:19PM +0300, Alexandru Copot wrote: > This is only the communication part of the bundles functionality. > The actual message pre-validation and commits are not implemented. > > We also enable OF1.4 for all the tests. > > Signed-off-by: Alexandru Copot > Cc: Daniel Ba

Re: [ovs-dev] [PATCH v4] ofproto-dpif: Move recirc members from struct xlate_out to struct xlate_ctx

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 05:29:59PM +0900, Simon Horman wrote: > There does not seem to be a reason to expose > recirc members in struct xlate_out to move them > to struct xlate_ctx. > > Signed-off-by: Simon Horman Applied. ___ dev mailing list dev@open

Re: [ovs-dev] [PATCH] ofproto-dpif-xlate: Fix in_port=controller case for NORMAL action

2014-05-01 Thread Ben Pfaff
On Thu, May 01, 2014 at 03:54:22PM +0900, YAMAMOTO Takashi wrote: > > On Wed, Apr 30, 2014 at 10:24:46AM +0900, YAMAMOTO Takashi wrote: > >> The problem mentioned by Simon Horman in the following mail. > >> http://openvswitch.org/pipermail/dev/2014-April/039492.html > >> > >> Cc: Simon Horman > >

[ovs-dev] [PATCH v5 1/2] Add basic implementation for OpenFlow 1.4 bundles

2014-05-01 Thread Alexandru Copot
This is only the communication part of the bundles functionality. The actual message pre-validation and commits are not implemented. We also enable OF1.4 for all the tests. Signed-off-by: Alexandru Copot Cc: Daniel Baluta --- v5: * fold tests patch * add ofputil_encode_bundle_add() * remo

[ovs-dev] [PATCH v5 2/2] ofp-print: Enable printing OF1.4 version

2014-05-01 Thread Alexandru Copot
Also fix some tests that can now properly print packets with the new protocol version. Signed-off-by: Alexandru Copot Cc: Daniel Baluta --- lib/ofp-print.c| 3 +++ tests/ofp-print.at | 6 +++--- tests/ofp-util.at | 2 +- 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/lib/of

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread Andy Zhou
On Thu, May 1, 2014 at 1:20 AM, Simon Horman wrote: > On Thu, May 01, 2014 at 03:59:20PM +0900, YAMAMOTO Takashi wrote: >> >> Something like this (I have not tested either scenario): >> >> >> >> I think this will fail to match but that may not be obvious to users: >> >> packet_out: in_port=CON

[ovs-dev] MacVTap support in OVS

2014-05-01 Thread Suresh Kumar Reddy Reddygari
Hi, Is MacVTap support there in OVS. If not, is there any plan to support it. Thanks, Suresh. ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH v4] ofproto: per-table statistics

2014-05-01 Thread Simon Horman
On Wed, Apr 30, 2014 at 09:54:30AM +0900, YAMAMOTO Takashi wrote: > > On Tue, Apr 29, 2014 at 06:34:22PM +0900, Simon Horman wrote: > >> Add per-table counters. This resolves some short-comings > >> in the data provided in a table stats reply message. > >> > >> * Lookups and matches are calculated

Re: [ovs-dev] [PATCH v2.56] datapath: Add basic MPLS support to kernel

2014-05-01 Thread Simon Horman
On Wed, Apr 30, 2014 at 03:56:44PM -0700, Jesse Gross wrote: > On Tue, Apr 29, 2014 at 10:58 PM, Simon Horman wrote: > > On Tue, Apr 29, 2014 at 11:41:57AM -0700, Jesse Gross wrote: > >> On Mon, Apr 28, 2014 at 5:13 PM, Simon Horman wrote: > >> > On Mon, Apr 28, 2014 at 02:37:47PM -0700, Jesse Gr

[ovs-dev] [PATCH/RFC] ofproto-dpif: Make bonding balance test more robust

2014-05-01 Thread Simon Horman
It is my observation that when sending 91 packets to a mode=balance bond interface with three underlying ports in some cases not all ports receive at least 7 packets. This causes the test to fail. It may be that failure indicates that the bonding code needs improvement. But it seems to me that its

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread Andy Zhou
On Wed, Apr 30, 2014 at 11:59 PM, YAMAMOTO Takashi wrote: >>> Something like this (I have not tested either scenario): >>> >>> I think this will fail to match but that may not be obvious to users: >>> packet_out: in_port=CONTROLLER actions=goto_table:1 >>> table 1: match=in_port=CONTROLLER a

[ovs-dev] [PATCH] ofproto-dpif: Correct check_recirc comment

2014-05-01 Thread Simon Horman
This is a proposed correction for what appears to be an editing error. Signed-off-by: Simon Horman --- 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 5eea5ab..ce73afe 100644 --- a/ofproto/ofprot

[ovs-dev] [PATCH v4] ofproto-dpif: Move recirc members from struct xlate_out to struct xlate_ctx

2014-05-01 Thread Simon Horman
There does not seem to be a reason to expose recirc members in struct xlate_out to move them to struct xlate_ctx. Signed-off-by: Simon Horman --- ofproto/ofproto-dpif-xlate.c | 20 ofproto/ofproto-dpif-xlate.h | 3 --- 2 files changed, 12 insertions(+), 11 deletions(-) Thi

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread Simon Horman
On Thu, May 01, 2014 at 03:59:20PM +0900, YAMAMOTO Takashi wrote: > >> Something like this (I have not tested either scenario): > >> > >> I think this will fail to match but that may not be obvious to users: > >> packet_out: in_port=CONTROLLER actions=goto_table:1 > >> table 1: match=in_port=

Re: [ovs-dev] [PACKET_OUT v2] ofproto-dpif: treat non-datapath ports as local port for OFPT_PACKET_OUT

2014-05-01 Thread YAMAMOTO Takashi
>> Something like this (I have not tested either scenario): >> >> I think this will fail to match but that may not be obvious to users: >> packet_out: in_port=CONTROLLER actions=goto_table:1 >> table 1: match=in_port=CONTROLLER actions=normal >> >> I think this will match but that may not b