Re: [ovs-dev] [PATCH] ofproto: Update rule's priority in eviction group.

2014-03-11 Thread Kmindg G
On Wed, Mar 12, 2014 at 1:36 PM, Ben Pfaff wrote: > On Sun, Mar 09, 2014 at 05:48:04PM +0800, kmindg wrote: >> We do call heap_rebuild in ofproto_run, but we do not update rule's >> priority with latest hard_timeout and idle_timeout before heap_rebuild. >> >> This patch ensures that rule's priorit

[ovs-dev] [PATCH v9] ofproto: Honour Table Mod settings for table-miss handling

2014-03-11 Thread Simon Horman
This reworks lookup of rules for both table 0 and table action translation. The result is that Table Mod settings, which can alter the miss-behaviour of tables, including table 0, on a per-table basis may be honoured. Previous patches proposed by myself which build on earlier merged patches by And

Re: [ovs-dev] [PATCH] stp: Fix bpdu tx problem in listening state

2014-03-11 Thread Ben Pfaff
On Sun, Mar 09, 2014 at 05:48:52PM +0800, kmindg wrote: > The restriction only allows to send bpdu in forwarding state in > compose_output_action__. But a port could send bpdu in listening > and learning state according to comments in lib/stp.h(State of > an STP port). > > Signed-off-by: kmindg

Re: [ovs-dev] [PATCH] ofproto: Update rule's priority in eviction group.

2014-03-11 Thread Ben Pfaff
On Sun, Mar 09, 2014 at 05:48:04PM +0800, kmindg wrote: > We do call heap_rebuild in ofproto_run, but we do not update rule's > priority with latest hard_timeout and idle_timeout before heap_rebuild. > > This patch ensures that rule's priority has been updated before > heap_rebuild, and adds two t

Re: [ovs-dev] [PATCH v8 repost 2] ofproto: Honour Table Mod settings for table-miss handling

2014-03-11 Thread Simon Horman
On Tue, Mar 11, 2014 at 09:08:20PM -0700, Ben Pfaff wrote: > On Wed, Mar 12, 2014 at 11:14:52AM +0900, Simon Horman wrote: > > This reworks lookup of rules for both table 0 and table action translation. > > The result is that Table Mod settings, which can alter the miss-behaviour > > of tables, inc

Re: [ovs-dev] [PATCH V3 1/5] dpif: Change dpif API to allow multiple handler threads read upcall.

2014-03-11 Thread Ben Pfaff
On Fri, Mar 07, 2014 at 06:04:38PM -0800, Alex Wang wrote: > This commit changes the API in 'dpif-provider.h' to allow multiple > handler threads call dpif_recv() simultaneously. > > Signed-off-by: Alex Wang > > --- > V2 -> V3: > - detach the channel refreshing from recv_set(). > > Note: > th

Re: [ovs-dev] [PATCH 2/4] connmgr: Remove unnecessary reason fixup logic

2014-03-11 Thread Simon Horman
On Wed, Mar 12, 2014 at 12:00:12PM +0900, YAMAMOTO Takashi wrote: > > A packet_in message may be sent for one of two reasons. > > > > 1. As the result of an controller action supplied in a rule. > >This is executed if a packet matches the match for the rule. > >The packet_in reason is expl

Re: [ovs-dev] [PATCH V3 2/5] dpif-netdev: Implement the API functions to allow multiple handler threads read upcall.

2014-03-11 Thread Ben Pfaff
On Tue, Mar 11, 2014 at 06:11:27PM -0700, Alex Wang wrote: > > > Signed-off-by: Alex Wang > > > > > > --- > > > V2 -> V3: > > > - rebase. > > > > > > PATCH -> V2: > > > - explain the drop of upcall queueing priority in dpif-netdev. > > > - use mhash to calculate the 5-tuple hash. > > > > Why does

Re: [ovs-dev] [PATCH] lib/classifier: Use a prefix tree to optimize ports wildcarding.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 06:49:55PM -0700, Ethan Jackson wrote: > Yep this is the same thing. I've successfully shown that this > algorithm is the best for our use case and was intending to implement > it myself. However, for many rather complicated reasons it became > important to have a prototyp

Re: [ovs-dev] [PATCH 1/4] ofp-util: Use enum ofp_table_config in struct ofputil_table_mod

2014-03-11 Thread Ben Pfaff
On Wed, Mar 12, 2014 at 11:22:37AM +0900, Simon Horman wrote: > Use enum ofp_table_config as the type of the 'config' field > of struct ofputil_table_mod. This reflects the usage > of the field. > > Signed-off-by: Simon Horman Applied. I hope that you will heed Yamamoto-san's comments and resub

Re: [ovs-dev] [PATCH v8 repost 2] ofproto: Honour Table Mod settings for table-miss handling

2014-03-11 Thread Ben Pfaff
On Wed, Mar 12, 2014 at 11:14:52AM +0900, Simon Horman wrote: > This reworks lookup of rules for both table 0 and table action translation. > The result is that Table Mod settings, which can alter the miss-behaviour > of tables, including table 0, on a per-table basis may be honoured. > > Previous

Re: [ovs-dev] [PATCH] ovs-thread: count the number of cpu cores.

2014-03-11 Thread YAMAMOTO Takashi
>> does this need to be wrapped by ovsthread_once? > > I think so, looking at all the places count_cpu_cores() is called > from. I am probably missing what you are pointing at. it seems that i misremembered what GetSystemInfo was. sorry for noise. YAMAMOTO Takashi > >> >> YAMAMOTO Takashi >> >

Re: [ovs-dev] [PATCH] ovs-thread: count the number of cpu cores.

2014-03-11 Thread Gurucharan Shetty
> > does this need to be wrapped by ovsthread_once? I think so, looking at all the places count_cpu_cores() is called from. I am probably missing what you are pointing at. > > YAMAMOTO Takashi > >> +#endif >> ovsthread_once_done(&once); >> } >> >> -- >> 1.7.9.5 >> >> ___

Re: [ovs-dev] [PATCH 2/4] connmgr: Remove unnecessary reason fixup logic

2014-03-11 Thread YAMAMOTO Takashi
> A packet_in message may be sent for one of two reasons. > > 1. As the result of an controller action supplied in a rule. >This is executed if a packet matches the match for the rule. >The packet_in reason is explicitly part of the action and >is thus correct. for OFPACT_CONTROLLER (

[ovs-dev] [PATCH 1/4] ofp-util: Use enum ofp_table_config in struct ofputil_table_mod

2014-03-11 Thread Simon Horman
Use enum ofp_table_config as the type of the 'config' field of struct ofputil_table_mod. This reflects the usage of the field. Signed-off-by: Simon Horman --- lib/ofp-util.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ofp-util.h b/lib/ofp-util.h index bf02b9f..7483646

[ovs-dev] [PATCH 0/4] ofproto: Support OF version-specific table-miss behaviours

2014-03-11 Thread Simon Horman
OpenFlow 1.1 and 1.2 specify that if a table-miss occurs then the default behaviour is to forward the packet the controller using a packet-in message. And until this patch this is the default behaviour that Open vSwitch uses for all OpenFlow versions. OpenFlow1.3+ specifies that if a table-miss oc

[ovs-dev] [PATCH 4/4] ofproto: Support OF version-specific table-miss behaviours

2014-03-11 Thread Simon Horman
OpenFlow 1.1 and 1.2 specify that if a table-miss occurs then the default behaviour is to forward the packet the controller using a packet-in message. And until this patch this is the default behaviour that Open vSwitch uses for all OpenFlow versions. OpenFlow1.3+ specifies that if a table-miss oc

[ovs-dev] [PATCH 3/4] ofproto-dpip: Set generated_by_table_miss for miss rule

2014-03-11 Thread Simon Horman
An assumption for this change is assuming that miss-rules are added by add_internal_flow(). If so it seems to me that the current rule_is_table_miss() does not match such rules. This is because add_internal_flows() adds rules with the mask of register 0 set to all 1s due to the following line in a

[ovs-dev] [PATCH 2/4] connmgr: Remove unnecessary reason fixup logic

2014-03-11 Thread Simon Horman
A packet_in message may be sent for one of two reasons. 1. As the result of an controller action supplied in a rule. This is executed if a packet matches the match for the rule. The packet_in reason is explicitly part of the action and is thus correct. 2. As the result of the failure to

[ovs-dev] [PATCH v8 repost 2] ofproto: Honour Table Mod settings for table-miss handling

2014-03-11 Thread Simon Horman
This reworks lookup of rules for both table 0 and table action translation. The result is that Table Mod settings, which can alter the miss-behaviour of tables, including table 0, on a per-table basis may be honoured. Previous patches proposed by myself which build on earlier merged patches by And

[ovs-dev] [bond megaflow v2 4/5] dpif-netdev: user space datapath recirculation

2014-03-11 Thread Andy Zhou
Add basic recirculation infrastructure and user space data path support for it. The following bond mega flow patch will make use of this infrastructure. Signed-off-by: Andy Zhou --- v1->v2: Rewritten based on having post recirculation rules stored in table 254. --- include/linux/openv

[ovs-dev] [bond megaflow v2 3/5] lib/metaflow: add new flow fields for recirculation

2014-03-11 Thread Andy Zhou
Signed-off-by: Andy Zhou --- v1 -> v2: Minor adjustment. --- lib/match.c | 26 lib/match.h |6 ++ lib/meta-flow.c | 60 +++ lib/meta-flow.h |2 ++ 4 files changed, 94 insertions(+) diff --git a

Re: [ovs-dev] [RFC 0/9] Cache the modules affected by xlate_actions().

2014-03-11 Thread Ben Pfaff
On Thu, Mar 06, 2014 at 05:20:23PM -0800, Joe Stringer wrote: > This series implements a cache for xlate_actions() so that full flow > translation does not need to be performed for long-lived flows; instead, > references are kept to the modules affected by it, and this cache can be used > to attrib

Re: [ovs-dev] [PATCH V3 2/5] dpif-netdev: Implement the API functions to allow multiple handler threads read upcall.

2014-03-11 Thread Alex Wang
Thanks Ben, Great to hear more from you~ Please see my reply inline, > > > Signed-off-by: Alex Wang > > > > --- > > V2 -> V3: > > - rebase. > > > > PATCH -> V2: > > - explain the drop of upcall queueing priority in dpif-netdev. > > - use mhash to calculate the 5-tuple hash. > > Why does dpif_ne

Re: [ovs-dev] [RFC 7/9] ofproto-dpif: Allow caching of xlate_actions() effects.

2014-03-11 Thread Ben Pfaff
On Thu, Mar 06, 2014 at 05:20:30PM -0800, Joe Stringer wrote: > This patch adds a new object called 'struct xlate_cache' which can be > set in 'struct xlate_in', and passed to xlate_actions() to cache the > modules affected by this flow translation. Subsequently, the caller can > pass the xcache to

[ovs-dev] [bond megaflow v2 1/5] ofproto-dpif: Added Per backer recirculation ID management

2014-03-11 Thread Andy Zhou
Recirculation ID needs to be unique per datapath. Its usage will be tracked by the backer that corresponds to the datapath. In theory, Recirculation ID can be any uint32_t value, except 0. This implementation limits to a smaller range just for ease of debugging. Make the range size 0 effectively d

Re: [ovs-dev] [PATCH V3 3/5] datapath: Allow each vport to have an array of 'port_id's.

2014-03-11 Thread Ben Pfaff
On Fri, Mar 07, 2014 at 06:04:40PM -0800, Alex Wang wrote: > In order to allow handlers directly read upcalls from datapath, > we need to support per-handler netlink socket for each vport in > datapath. This commit makes this happen. Also, it is guaranteed > backward and forward compatibility wit

[ovs-dev] [bond megaflow v2 0/5] Bond megaflow and recirculation

2014-03-11 Thread Andy Zhou
This is the first patch series to add megaflow support for bond interface using recirculation. The final goal is that the bonding port selection will be made within the datapath, using recirculation. Currently, the bonding port selection is made in the user space, preventing possible wider mega f

[ovs-dev] [bond megaflow v2 2/5] lib/flow: add dp_hash and recirc_id to struct flow

2014-03-11 Thread Andy Zhou
Signed-off-by: Andy Zhou --- v1->v2: No major changes --- include/openflow/nicira-ext.h | 26 ++ lib/flow.c|6 -- lib/flow.h| 13 ++--- lib/match.c | 12 +++- lib/nx-match.c

Re: [ovs-dev] [PATCH] ovs-thread: count the number of cpu cores.

2014-03-11 Thread YAMAMOTO Takashi
> We use the number of cpu cores to determine the number > of threads that we spawn. We are not yet sure what is > the ideal number of OVS userspace threads that can run > on Hyper-V. Till we figure that out, use the same logic > of counting CPU cores in Windows too. > > Signed-off-by: Gurucharan

Re: [ovs-dev] [PATCH V3 2/5] dpif-netdev: Implement the API functions to allow multiple handler threads read upcall.

2014-03-11 Thread Ben Pfaff
On Fri, Mar 07, 2014 at 06:04:39PM -0800, Alex Wang wrote: > This commit implements the API functions to allow multiple handler > threads read upcall. > > Also, this commit removes the handling priority of DPIF_UC_MISS > over DPIF_UC_ACTION. So, both misses will be put to the same > queue. The d

Re: [ovs-dev] [PATCH] ofp-print: __attribute__ format in visual studio.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:40AM -0700, Gurucharan Shetty wrote: > Visual studio does not understand __attribute__ format. All the > violations would be caught with gcc in linux. So, it should be okay > removing that. > > Signed-off-by: Gurucharan Shetty Please change this code to use the PRIN

Re: [ovs-dev] [PATCH] README-lisp: improve LISP documentation

2014-03-11 Thread Ben Pfaff
On Tue, Mar 11, 2014 at 07:02:28PM +0200, Lorand Jakab wrote: > People familiar with LISP are used to the concept of a mapping cache in > a LISP Tunnel Router. Explain how that concept maps to OVS flow rules. > Additionally, mention that eth0 need not be added in all example > scenarios. > > Sign

Re: [ovs-dev] [PATCH] ovs-thread: count the number of cpu cores.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:41AM -0700, Gurucharan Shetty wrote: > We use the number of cpu cores to determine the number > of threads that we spawn. We are not yet sure what is > the ideal number of OVS userspace threads that can run > on Hyper-V. Till we figure that out, use the same logic > of

Re: [ovs-dev] [PATCH] windows: Add stub headers for windows.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:42AM -0700, Gurucharan Shetty wrote: > Windows does not have a bunch of headers that > are available in Linux. Instead of littering the code > with #ifndef _WIN32, add stub headers. > > Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff __

Re: [ovs-dev] [PATCH] byte-order: htonll() and ntohll() for Windows.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:39AM -0700, Gurucharan Shetty wrote: > These functions exist, so don't provide them. > > Signed-off-by: Gurucharan Shetty How curious. Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org http://openvswitch.org/m

Re: [ovs-dev] [PATCH] uuid: Use current time to compute sha.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:38AM -0700, Gurucharan Shetty wrote: > Windows does not have the getppid(), getuid(), getgid() functions. > We do get a random seed from CryptGenRandom(). That seed along with > process id and current time hopefully is good enough. > > Signed-off-by: Gurucharan Shetty

Re: [ovs-dev] [PATCH] util: Maximum path length for Windows.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:37AM -0700, Gurucharan Shetty wrote: > Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] [PATCH] vlog: Array intialization for Windows.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:36AM -0700, Gurucharan Shetty wrote: > Visual studio does not understand array initialization > done this way: > [first ... last] = value > > Signed-off-by: Gurucharan Shetty Acked-by: Ben Pfaff ___ dev mailing list dev@o

Re: [ovs-dev] [PATCH] ovsdb-server: Truncate file for Windows.

2014-03-11 Thread Ben Pfaff
On Mon, Mar 10, 2014 at 10:56:35AM -0700, Gurucharan Shetty wrote: > There is no ftruncate() in visual studio. There is a _chsize_s() > which has a similar functionality. > > Signed-off-by: Gurucharan Shetty This implementation of ftruncate() does not return anything if _chsize_s() succeeds. (I

[ovs-dev] [urcu v2 04/15] util: Move CACHE_LINE_SIZE here.

2014-03-11 Thread Ben Pfaff
It will come in handy elsewhere in upcoming commits. Signed-off-by: Ben Pfaff --- lib/fat-rwlock.c |5 - lib/util.h |5 + 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/fat-rwlock.c b/lib/fat-rwlock.c index 9ffa37b..3866dda 100644 --- a/lib/fat-rwlock.c

[ovs-dev] [urcu v2 15/15] dpif-netdev: Use RCU to protect data.

2014-03-11 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- lib/dpif-netdev.c | 148 - 1 file changed, 43 insertions(+), 105 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index d9e7a1a..eb437d1 100644 --- a/lib/dpif-netdev.c +++ b/lib/dpif-netdev.c @@ -49,

[ovs-dev] [urcu v2 12/15] util: New functions for allocating memory while avoiding false sharing.

2014-03-11 Thread Ben Pfaff
This factors code out of fat-rwlock, making it easily usable by other code. Signed-off-by: Ben Pfaff --- lib/fat-rwlock.c | 29 ++ lib/util.c | 60 +- lib/util.h |6 +- 3 files changed, 66 inserti

[ovs-dev] [urcu v2 13/15] ovs-thread: Replace ovsthread_counter by more general ovsthread_stats.

2014-03-11 Thread Ben Pfaff
This allows clients to do more than just increment a counter. The following commit will make the first use of that feature. Signed-off-by: Ben Pfaff --- lib/dpif-netdev.c | 75 +-- lib/ovs-thread.c | 91 ++-

[ovs-dev] [urcu v2 14/15] dpif-netdev: Use ovsthread_stats for flow stats.

2014-03-11 Thread Ben Pfaff
This should scale better than a single mutex, though still not ideally. Signed-off-by: Ben Pfaff --- lib/dpif-netdev.c | 99 +++-- 1 file changed, 74 insertions(+), 25 deletions(-) diff --git a/lib/dpif-netdev.c b/lib/dpif-netdev.c index 268b04d

[ovs-dev] [urcu v2 11/15] ofproto: Use RCU to protect rule_actions.

2014-03-11 Thread Ben Pfaff
Signed-off-by: Ben Pfaff Conflicts: lib/ovs-rcu.h --- ofproto/connmgr.c|5 +- ofproto/ofproto-dpif-xlate.c |2 - ofproto/ofproto-dpif.c |2 - ofproto/ofproto-provider.h | 19 --- ofproto/ofproto.c| 119 ++-

[ovs-dev] [urcu v2 10/15] ovs-rcu: New library.

2014-03-11 Thread Ben Pfaff
RCU allows multiple threads to read objects in parallel without any performance penalty. The following commit will introduce the first use. Signed-off-by: Ben Pfaff --- lib/automake.mk |2 + lib/ovs-rcu.c | 293 + lib/ov

[ovs-dev] [urcu v2 02/15] compiler: New macro for defining aligned structs.

2014-03-11 Thread Ben Pfaff
This is broken out into a separate commit because it adds new MSVC specific code and I don't have MSVC around to test whether it's correct. CC: Gurucharan Shetty Signed-off-by: Ben Pfaff --- lib/compiler.h | 16 +++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/li

[ovs-dev] [urcu v2 09/15] ovs-atomic: Delete atomic, atomic_flag, ovs_refcount destroy functions.

2014-03-11 Thread Ben Pfaff
None of the atomic implementations need a destroy function anymore, so it's "more standard" and more convenient for users to get rid of them. Signed-off-by: Ben Pfaff --- lib/bfd.c |3 +-- lib/cfm.c |6 +- lib/dpif-linux.c |3 +

[ovs-dev] [urcu v2 06/15] ovs-atomic: Use raw types, not structs, when locks are required.

2014-03-11 Thread Ben Pfaff
Until now, the GCC 4+ and pthreads implementations of atomics have used struct wrappers for their atomic types. This had the advantage of allowing a mutex to be wrapped in, in some cases, and of better type-checking by preventing stray uses of atomic variables other than through one of the atomic_

[ovs-dev] [urcu v2 05/15] ovs-atomic: Factor type declarations out of most implementations.

2014-03-11 Thread Ben Pfaff
This reduces duplicate code. Signed-off-by: Ben Pfaff --- lib/automake.mk |1 + lib/ovs-atomic-c11.h | 15 --- lib/ovs-atomic-clang.h| 42 +++- lib/ovs-atomic-gcc4.7+.h | 44 +++---

[ovs-dev] [urcu v2 01/15] ovs-atomic-gcc4+: Fix parenthesization in atomic_read_explicit().

2014-03-11 Thread Ben Pfaff
Signed-off-by: Ben Pfaff --- lib/ovs-atomic-gcc4+.h |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ovs-atomic-gcc4+.h b/lib/ovs-atomic-gcc4+.h index b465181..ddfd03c 100644 --- a/lib/ovs-atomic-gcc4+.h +++ b/lib/ovs-atomic-gcc4+.h @@ -202,7 +202,7 @@ atomic_signal_fenc

[ovs-dev] [urcu v2 07/15] ovs-atomic-pthreads: Use global shared locks for atomic_flag also.

2014-03-11 Thread Ben Pfaff
This will eliminate the need for atomic_flag_destroy(). Signed-off-by: Ben Pfaff --- lib/automake.mk |1 - lib/ovs-atomic-pthreads.c | 78 - lib/ovs-atomic-pthreads.h | 56 +++- 3 files changed, 48 insertio

[ovs-dev] [urcu v2 00/15] implement userspace RCU and add a few simple users

2014-03-11 Thread Ben Pfaff
v1->v2: Redid all the ovs-atomic changes to fix a bug in the GCC 4.x (x < 7) support. This was not a simple fix; all the ovs-atomic patches are essentially new. Also, changed the ovs-rcu library to use "consume" rather than "acquire" based on this: http://www.open-std.org/jtc1/sc22/wg14/www/docs/

[ovs-dev] [urcu v2 08/15] ovs-atomic-types: Move into ovs-atomic.h.

2014-03-11 Thread Ben Pfaff
Every implementation used this same code, so it makes sense to centralize it. Signed-off-by: Ben Pfaff --- lib/automake.mk |1 - lib/ovs-atomic-c11.h |1 - lib/ovs-atomic-clang.h|1 - lib/ovs-atomic-gcc4+.h|1 - lib/ovs-atomic-gcc4.7+.h |1 - lib/ovs-a

[ovs-dev] [urcu v2 03/15] util: New macro PAD_SIZE.

2014-03-11 Thread Ben Pfaff
PAD_SIZE(x,y) is a little shorter and may have a more obvious meaning than ROUND_UP(x,y) - x. I intend to add more users in an upcoming comment. Signed-off-by: Ben Pfaff --- lib/netlink.c |6 +++--- lib/nx-match.c| 10 +- lib/ofp-actions.c |6 +++--- lib/ofp-actions.h

Re: [ovs-dev] [PATCH] openvswitch: Orphan frags before sending to userspace via Netlink to avoid guest stall

2014-03-11 Thread Zoltan Kiss
On 07/03/14 17:59, Thomas Graf wrote: On 03/07/2014 06:28 PM, Pravin Shelar wrote: Problem is mapping SKBTX_DEV_ZEROCOPY pages to userspace. skb_zerocopy is not doing that. Unless I missing something, Current netlink code can not handle skb-frags with zero copy. So we have to copy skb anyways a

[ovs-dev] [PATCH] LISP documentation improvements

2014-03-11 Thread Lorand Jakab
Someone familiar with LISP but not so familiar with OVS pointed out to me in a private email that the relationship between some LISP concepts and their OVS implementation is not clearly explained. I addressed his comments in the enclosed patch, which he reviewed. As an aside, I wonder if we shoul

[ovs-dev] [PATCH] README-lisp: improve LISP documentation

2014-03-11 Thread Lorand Jakab
People familiar with LISP are used to the concept of a mapping cache in a LISP Tunnel Router. Explain how that concept maps to OVS flow rules. Additionally, mention that eth0 need not be added in all example scenarios. Signed-off-by: Lorand Jakab --- README-lisp | 17 + 1 file c

[ovs-dev] Netflow5 records' init_time

2014-03-11 Thread Lior Neudorfer
Hi, I'm seeing wrong behavior of Netflow5 records emitted by Open vSwitch 2.1.90. I've configured my switch to export Netflow records with an active timeout of 30 seconds. I've then started a single, long TCP session flowing through the switch. The first netflow record seems OK - after 30 second

Re: [ovs-dev] [PATCH] tests: Add '-latomic' only for 'test-atomic.c'

2014-03-11 Thread cosmin.parasc...@freescale.com
> Commit fd2e50c (Add check for -latomic) fixed a bug for 32-bit > PowerPC systems, where the compiler would generate calls to > functions implemented by libatomic, such as '__atomic_load_8'. > > Nonetheless, it passes '-latomic' to all files that get compiled > and that isn't necessary, so add it