[ovs-dev] [PATCH] ofp-util: Ignore out_group in flow_mods for commands other than delete.

2013-12-05 Thread Ben Pfaff
OpenFlow 1.1 through 1.4 say that the out_group in a flow_mod, for commands other than OFPFC_DELETE or OFPFC_DELETE_STRICT, should be ignored. OVS actually reported an error. This fixes the problem. Reported-by: chen zhang <3zhangchen9...@gmail.com> Signed-off-by: Ben Pfaff --- AUTHORS

Re: [ovs-dev] [PATCH v4 2/5] bitmap: add bitmap_count1 function

2013-12-05 Thread Ben Pfaff
On Fri, Dec 06, 2013 at 12:02:59PM +0800, Alexander Wu wrote: > Some additional test for bitmap performance (10 million loops): > > suse-kvm-of13:/test # time ./bit3 > > real0m0.061s > user0m0.060s > sys 0m0.000s > suse-kvm-of13:/test # time ./bit2 > > real

Re: [ovs-dev] [PATCH v4 2/5] bitmap: add bitmap_count1 function

2013-12-05 Thread Ben Pfaff
On Fri, Dec 06, 2013 at 10:39:21AM +0800, Alexander Wu wrote: > On 06/12/2013 01:47, Ben Pfaff wrote: > >On Wed, Dec 04, 2013 at 05:38:29PM +0800, Alexander Wu wrote: > >>V4: > >> Add bitmap_count1 function to count all 1 bits. > > > >I suggest using the count_1bits() function to speed this up. >

Re: [ovs-dev] [PATCH v2.51 1/5] ofp-actions: Allow Consistency checking of OF1.3+ VLAN actions after mpls_push

2013-12-05 Thread Ben Pfaff
On Fri, Dec 06, 2013 at 12:29:24PM +0900, Simon Horman wrote: > On Thu, Dec 05, 2013 at 09:56:25AM -0800, Ben Pfaff wrote: > > On Thu, Dec 05, 2013 at 11:26:06AM +0900, Simon Horman wrote: > > > On Wed, Dec 04, 2013 at 05:01:11PM -0800, Ben Pfaff wrote: > > > > On Thu, Dec 05, 2013 at 09:51:39AM +0

Re: [ovs-dev] [PATCH v4 2/5] bitmap: add bitmap_count1 function

2013-12-05 Thread Alexander Wu
On 06/12/2013 10:39, Alexander Wu wrote: On 06/12/2013 01:47, Ben Pfaff wrote: On Wed, Dec 04, 2013 at 05:38:29PM +0800, Alexander Wu wrote: V4: Add bitmap_count1 function to count all 1 bits. I suggest using the count_1bits() function to speed this up. Thanks, Ben. Hi Ben, Thanks f

[ovs-dev] [PATCH] datapath: compat: Fix compiler error.

2013-12-05 Thread Pravin B Shelar
Earlier RHEL6 kernel do not have linux/atomic.h header file. Use types.h to get atomic_t definition. Signed-off-by: Pravin B Shelar --- datapath/linux/compat/include/linux/net.h |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/datapath/linux/compat/include/linux/net.h

Re: [ovs-dev] [PATCH v2.51 1/5] ofp-actions: Allow Consistency checking of OF1.3+ VLAN actions after mpls_push

2013-12-05 Thread Simon Horman
On Thu, Dec 05, 2013 at 09:56:25AM -0800, Ben Pfaff wrote: > On Thu, Dec 05, 2013 at 11:26:06AM +0900, Simon Horman wrote: > > On Wed, Dec 04, 2013 at 05:01:11PM -0800, Ben Pfaff wrote: > > > On Thu, Dec 05, 2013 at 09:51:39AM +0900, Simon Horman wrote: > > > > On Wed, Dec 04, 2013 at 04:44:17PM -0

Re: [ovs-dev] [PATCH v4 2/5] bitmap: add bitmap_count1 function

2013-12-05 Thread Alexander Wu
On 06/12/2013 01:47, Ben Pfaff wrote: On Wed, Dec 04, 2013 at 05:38:29PM +0800, Alexander Wu wrote: V4: Add bitmap_count1 function to count all 1 bits. I suggest using the count_1bits() function to speed this up. Thanks, Ben. Hi Ben, Thanks for your suggestion! I'll update the functi

Re: [ovs-dev] [PATCH] vlog: add local udp syslog export target option

2013-12-05 Thread Henry Mai
Looks fine to me. Thanks. On Thu, Dec 5, 2013 at 5:02 PM, Ben Pfaff wrote: > I sent out a revised version: > http://openvswitch.org/pipermail/dev/2013-December/034644.html > > Will you look at it? > > On Tue, Dec 03, 2013 at 09:59:19PM -0800, Henry Mai wrote: >> Sorry, found another violation whe

Re: [ovs-dev] [PATCH v5 1/4] lib/odp-util: Only use expected_bit when set.

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 04:27:23PM -0800, Jarno Rajahalme wrote: > parse_l2_5_onward() previously used out of range 'expected_bit' when > it was called with no attrs, which happens when parsing a mask with > zero length. > > Signed-off-by: Jarno Rajahalme Acked-by: Ben Pfaff ___

Re: [ovs-dev] VEPA support in OVS

2013-12-05 Thread jerry
On 2013/12/4 13:24, Ben Pfaff wrote: > On Wed, Dec 04, 2013 at 10:24:28AM +0800, jerry wrote: >> On 2013/12/3 13:08, Ben Pfaff wrote: >>> On Tue, Dec 03, 2013 at 10:18:43AM +0800, jerry wrote: It may be easily supported to forward unicast packets. But I'm not sure how to set OpenFlow rule

Re: [ovs-dev] [PATCH] vlog: add local udp syslog export target option

2013-12-05 Thread Ben Pfaff
I sent out a revised version: http://openvswitch.org/pipermail/dev/2013-December/034644.html Will you look at it? On Tue, Dec 03, 2013 at 09:59:19PM -0800, Henry Mai wrote: > Sorry, found another violation where I had an extra newline before a function. > > On Tue, Dec 3, 2013 at 8:30 PM, Henry

[ovs-dev] [PATCH 2/2] vlog: Add option to send vlog syslog output to arbitrary UDP destination.

2013-12-05 Thread Ben Pfaff
Signed-off-by: Henry Mai Signed-off-by: Ben Pfaff --- NEWS |1 + lib/vlog.c| 97 ++--- lib/vlog.h| 36 +++-- lib/vlog.man |5 +++ utilities/ovs-appctl.8.in |6 +++

[ovs-dev] [PATCH 1/2] vlog: Avoid deadlock in vlog_init__() corner case.

2013-12-05 Thread Ben Pfaff
Anything inside vlog_init__() that tried to log a message was going to deadlock, since it would hit pthread_once() recursively and wait for the previous call to complete. Unfortunately, there was a VLOG_ERR call inside vlog_init__(), only called in the corner case where the system's clock was wron

Re: [ovs-dev] [PATCH] util: Better count_1bits().

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 04:36:26PM -0800, Jarno Rajahalme wrote: > Inline, use another well-known algorithm for 64-bit builds, and use > builtins when they are known to be fast at compile time. A 32-bit > version of the alternate algorithm is slower than the existing > implementation, so the old o

Re: [ovs-dev] staged match question.

2013-12-05 Thread Jarno Rajahalme
On Dec 5, 2013, at 1:02 PM, Ethan Jackson wrote: > I'm working on a patch to disable wildcard calculation when we're > doing things like pushing stats and don't actually need to know what > the mask should be. I had a question for you about your staged match > patch on this. I notice that you

[ovs-dev] [PATCH] util: Better count_1bits().

2013-12-05 Thread Jarno Rajahalme
Inline, use another well-known algorithm for 64-bit builds, and use builtins when they are known to be fast at compile time. A 32-bit version of the alternate algorithm is slower than the existing implementation, so the old one is used for 32-bit builds. Inline assembler would be a bit faster on

[ovs-dev] [PATCH v5 0/4] Classifier: Track address prefixes.

2013-12-05 Thread Jarno Rajahalme
Jarno Rajahalme (4): lib/odp-util: Only use expected_bit when set. dpif-netdev: Do not check mask if it doesn't exist. v5: - Split dpif_netdev_flow_mask_from_nlattrs() to dpif_netdev_flow_from_nlattrs() and dpif_netdev_mask_from_nlattrs() and make the latter to require non-zero mask_key

[ovs-dev] [PATCH v5 2/4] dpif-netdev: Do not check mask if it doesn't exist.

2013-12-05 Thread Jarno Rajahalme
Ofproto always provides a valid pointer to a mask, but the mask length is zero when megaflows are disabled. Use match_wc_init() to get an appropriate exact match mask when there is no mask. Signed-off-by: Jarno Rajahalme --- v5: - Split dpif_netdev_flow_mask_from_nlattrs() to dpif_netdev_f

[ovs-dev] [PATCH v5 1/4] lib/odp-util: Only use expected_bit when set.

2013-12-05 Thread Jarno Rajahalme
parse_l2_5_onward() previously used out of range 'expected_bit' when it was called with no attrs, which happens when parsing a mask with zero length. Signed-off-by: Jarno Rajahalme --- lib/odp-util.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/odp-util.c b/lib/odp-

[ovs-dev] [PATCH v5 3/4] lib/flow: Add IPv6 support for flow_compose().

2013-12-05 Thread Jarno Rajahalme
Add the missing code for generating IPv6 packets for testing purposes. Also make flow_compose() set the l4 and l7 pointers more consistently with flow_extract(). Signed-off-by: Jarno Rajahalme --- v5: Set flow label and tclass directly, factor out transport layer code for both IPv4 and IPv6.

Re: [ovs-dev] [PATCH v3] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Pravin Shelar
Pushed to master. Thanks. On Thu, Dec 5, 2013 at 3:55 PM, Jesse Gross wrote: > On Thu, Dec 5, 2013 at 3:50 PM, Pravin B Shelar wrote: >> Use percpu allocator for stats due to objection to stats array. >> But percpu allocator is not designed for high churn allocation/ >> deallcation. so we need

Re: [ovs-dev] [PATCH] datapath: Fix compat skb_get_rxhash()

2013-12-05 Thread Pravin Shelar
Thanks, I pushed this patch to master and 2.0. On Thu, Dec 5, 2013 at 1:57 PM, Jesse Gross wrote: > On Wed, Dec 4, 2013 at 9:24 PM, Pravin B Shelar wrote: >> Add missing return statement. >> >> Signed-off-by: Pravin B Shelar > > Acked-by: Jesse Gross ___

Re: [ovs-dev] [PATCH 1/3] datapath: Improve compat rxhash functionality.

2013-12-05 Thread Pravin Shelar
Thanks, I pushed these patches to master. On Wed, Dec 4, 2013 at 1:29 PM, Jesse Gross wrote: > On Wed, Dec 4, 2013 at 11:26 AM, Pravin B Shelar wrote: >> Following patch improves rxhash calculation, It is taken from >> upstream Linux kernel code. >> From kernel 3.8, skb_get_rxhash() can handle h

Re: [ovs-dev] [PATCH v3] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Jesse Gross
On Thu, Dec 5, 2013 at 3:50 PM, Pravin B Shelar wrote: > Use percpu allocator for stats due to objection to stats array. > But percpu allocator is not designed for high churn allocation/ > deallcation. so we need to avoid allocating percpu flow for > short lived flows. One cheaper way to detect fl

[ovs-dev] [PATCH v3] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Pravin B Shelar
Use percpu allocator for stats due to objection to stats array. But percpu allocator is not designed for high churn allocation/ deallcation. so we need to avoid allocating percpu flow for short lived flows. One cheaper way to detect flow is by checking if 5-tuple used in RSS are masked or not. if a

[ovs-dev] [PATCH 1/2] lib: Refactor gathering CPU core count

2013-12-05 Thread Joe Stringer
Signed-off-by: Joe Stringer --- lib/ovs-thread.c| 10 ++ lib/ovs-thread.h|4 ofproto/ofproto.c |2 +- vswitchd/system-stats.c |2 +- 4 files changed, 16 insertions(+), 2 deletions(-) diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c index b3a87bb..

[ovs-dev] [PATCH 2/2] lib: Determine cpu core count with /proc/cpuinfo

2013-12-05 Thread Joe Stringer
On systems that provide /proc/cpuinfo similar to Linux on x86, this should allow us to choose a better default value for the number of upcall handler threads---in particular, it avoids counting hyper-thread cores. If /proc/cpuinfo cannot be parsed for any reason, fall back to using sysconf(). Sign

Re: [ovs-dev] [PATCH v2] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Jesse Gross
On Thu, Dec 5, 2013 at 11:42 AM, Pravin B Shelar wrote: > diff --git a/datapath/datapath.c b/datapath/datapath.c > index 1a5bffb..48a2955 100644 > --- a/datapath/datapath.c > +++ b/datapath/datapath.c > @@ -766,6 +760,7 @@ static int ovs_flow_cmd_new_or_set(struct sk_buff *skb, > struct genl_info

Re: [ovs-dev] [PATCH openvswitch v3] netlink: Implement & enable memory mapped netlink i/o

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 11:08:31PM +0100, Thomas Graf wrote: > On 12/04/2013 11:20 PM, Jesse Gross wrote: > >If enabling rings on demand can be done cleanly that might be best > >solution. To me, it seems difficult to generalize the upcall > >characteristics based on port type. > > It would requir

Re: [ovs-dev] [PATCH openvswitch v3] netlink: Implement & enable memory mapped netlink i/o

2013-12-05 Thread Thomas Graf
On 12/04/2013 11:20 PM, Jesse Gross wrote: If enabling rings on demand can be done cleanly that might be best solution. To me, it seems difficult to generalize the upcall characteristics based on port type. It would require to reopen sockets but I don't see that as a major obstacle. 16K ports

Re: [ovs-dev] [PATCH] datapath: Fix compat skb_get_rxhash()

2013-12-05 Thread Jesse Gross
On Wed, Dec 4, 2013 at 9:24 PM, Pravin B Shelar wrote: > Add missing return statement. > > Signed-off-by: Pravin B Shelar Acked-by: Jesse Gross ___ dev mailing list dev@openvswitch.org http://openvswitch.org/mailman/listinfo/dev

Re: [ovs-dev] Sending OF Packet Out

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 02:53:20PM -0700, Anu Mercian wrote: > I am trying to send a OF Packet-out message from the controller with > data, different from the packet Data of the OF Packet In message, > assuming that my buffer-id is not set, so the entire packet data is > sent to the controller. i.e

[ovs-dev] Sending OF Packet Out

2013-12-05 Thread Anu Mercian
Hi everyone, I am trying to send a OF Packet-out message from the controller with data, different from the packet Data of the OF Packet In message, assuming that my buffer-id is not set, so the entire packet data is sent to the controller. i.e, create a string, convert it into byte format and se

Re: [ovs-dev] [net-next 7/7] openvswitch: Use skb_zerocopy() for upcall

2013-12-05 Thread Thomas Graf
On 12/03/13 at 09:43pm, Jesse Gross wrote: Thanks for merging a first set of patches > On Sat, Nov 30, 2013 at 4:21 AM, Thomas Graf wrote: > > diff --git a/net/openvswitch/datapath.c b/net/openvswitch/datapath.c > > index 8eaa39a..867edf1 100644 > > --- a/net/openvswitch/datapath.c > > +++ b/net

[ovs-dev] staged match question.

2013-12-05 Thread Ethan Jackson
I'm working on a patch to disable wildcard calculation when we're doing things like pushing stats and don't actually need to know what the mask should be. I had a question for you about your staged match patch on this. I notice that you disable the staged matching when wildcards aren't passed in.

[ovs-dev] [PATCH v2] datapath: Use percpu allocator for flow-stats.

2013-12-05 Thread Pravin B Shelar
Use percpu allocator for stats due to objection to stats array. But percpu allocator is not designed for high churn allocation/ deallcation. so we need to avoid allocating percpu flow for short lived flows. One cheaper way to detect flow is by checking if 5-tuple used in RSS are masked or not. if a

Re: [ovs-dev] [PATCH] bridge: Improve iface_set_ofport() style.

2013-12-05 Thread Ben Pfaff
Thanks, I'll apply this soon. On Wed, Dec 04, 2013 at 06:18:43PM -0800, Ethan Jackson wrote: > Acked-by: Ethan Jackson > > > On Wed, Dec 4, 2013 at 4:47 PM, Ben Pfaff wrote: > > This should behave the same as before but the code reads more naturally to > > me this way. > > > > Signed-off-by: B

Re: [ovs-dev] OpenFlow 1.4 Bundles

2013-12-05 Thread Daniel Baluta
On Thu, Dec 5, 2013 at 7:40 PM, Ben Pfaff wrote: > On Thu, Dec 05, 2013 at 05:14:40PM +0200, Alexandru Copot wrote: >> I want to announce that I want to work on the bundles feature for >> OpenFlow 1.4. This way we can avoid duplicating the effort. >> >> Most of the bundle features are easy to imp

Re: [ovs-dev] [PATCH v2.51 1/5] ofp-actions: Allow Consistency checking of OF1.3+ VLAN actions after mpls_push

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 11:26:06AM +0900, Simon Horman wrote: > On Wed, Dec 04, 2013 at 05:01:11PM -0800, Ben Pfaff wrote: > > On Thu, Dec 05, 2013 at 09:51:39AM +0900, Simon Horman wrote: > > > On Wed, Dec 04, 2013 at 04:44:17PM -0800, Ben Pfaff wrote: > > > > On Thu, Dec 05, 2013 at 08:58:49AM +0

Re: [ovs-dev] [PATCH] m4: Remove assignment of otherwise unused variable RESOLVER_LIBS.

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 09:46:04AM -0800, Gurucharan Shetty wrote: > On Thu, Dec 5, 2013 at 9:28 AM, Ben Pfaff wrote: > > Found by inspection. > > > > Signed-off-by: Ben Pfaff > > --- > > m4/openvswitch.m4 |2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/m4/openv

Re: [ovs-dev] [PATCH v4 2/5] bitmap: add bitmap_count1 function

2013-12-05 Thread Ben Pfaff
On Wed, Dec 04, 2013 at 05:38:29PM +0800, Alexander Wu wrote: > V4: > Add bitmap_count1 function to count all 1 bits. I suggest using the count_1bits() function to speed this up. Thanks, Ben. ___ dev mailing list dev@openvswitch.org http://openvswitc

Re: [ovs-dev] [PATCH] m4: Remove assignment of otherwise unused variable RESOLVER_LIBS.

2013-12-05 Thread Gurucharan Shetty
On Thu, Dec 5, 2013 at 9:28 AM, Ben Pfaff wrote: > Found by inspection. > > Signed-off-by: Ben Pfaff > --- > m4/openvswitch.m4 |2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 > index 7c37985..5def3d2 100644 > --- a/m4/openvswitch.

Re: [ovs-dev] OpenFlow 1.4 Bundles

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 05:14:40PM +0200, Alexandru Copot wrote: > I want to announce that I want to work on the bundles feature for > OpenFlow 1.4. This way we can avoid duplicating the effort. > > Most of the bundle features are easy to implement so this is what I am going > to > do first. How

Re: [ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread Ben Pfaff
On Thu, Dec 5, 2013 at 9:26 AM, Ben Pfaff wrote: > On Thu, Dec 05, 2013 at 05:24:51PM +, James Page wrote: > > -BEGIN PGP SIGNED MESSAGE- > > Hash: SHA256 > > > > On 05/12/13 17:07, Ben Pfaff wrote: > > > On Thu, Dec 05, 2013 at 04:16:39PM +, James Page wrote: > > >> Later version

Re: [ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 05:29:05PM +, James Page wrote: > Later versions of gcc on some architectures push atomic functions > out into a separate atomic library; add a check to see when this > is required and add it to LIBS if need be. > > Signed-off-by: James Page Applied, thanks. I change

[ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread James Page
Later versions of gcc on some architectures push atomic functions out into a separate atomic library; add a check to see when this is required and add it to LIBS if need be. Signed-off-by: James Page --- configure.ac | 1 + m4/openvswitch.m4 | 6 ++ 2 files changed, 7 insertions(+) dif

[ovs-dev] [PATCH] m4: Remove assignment of otherwise unused variable RESOLVER_LIBS.

2013-12-05 Thread Ben Pfaff
Found by inspection. Signed-off-by: Ben Pfaff --- m4/openvswitch.m4 |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 7c37985..5def3d2 100644 --- a/m4/openvswitch.m4 +++ b/m4/openvswitch.m4 @@ -118,7 +118,7 @@ OpenFlow connections

Re: [ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 05:24:51PM +, James Page wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > On 05/12/13 17:07, Ben Pfaff wrote: > > On Thu, Dec 05, 2013 at 04:16:39PM +, James Page wrote: > >> Later versions of gcc on some architectures push atomic > >> functions out in

Re: [ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread James Page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/12/13 17:07, Ben Pfaff wrote: > On Thu, Dec 05, 2013 at 04:16:39PM +, James Page wrote: >> Later versions of gcc on some architectures push atomic >> functions out into a separate atomic library; add a check to see >> when this is required

[ovs-dev] [PATCH] connmgr: Log when a packet-in is dropped due to queue overflow.

2013-12-05 Thread Ben Pfaff
Reported-by: Anton Matsiuk Signed-off-by: Ben Pfaff --- AUTHORS |1 + ofproto/connmgr.c |9 +++-- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/AUTHORS b/AUTHORS index 1c2d9ea..cb72ac8 100644 --- a/AUTHORS +++ b/AUTHORS @@ -132,6 +132,7 @@ Amey Bhide

Re: [ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 04:16:39PM +, James Page wrote: > Later versions of gcc on some architectures push atomic functions > out into a separate atomic library; add a check to see when this > is required and add it to LIBS if need be. > > Signed-off-by: James Page May I assume that you have

[ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread James Page
Later versions of gcc on some architectures push atomic functions out into a separate atomic library; add a check to see when this is required and add it to LIBS if need be. Signed-off-by: James Page --- configure.ac | 1 + m4/openvswitch.m4 | 6 ++ 2 files changed, 7 insertions(+) dif

Re: [ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread James Page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 On 05/12/13 16:10, Ben Pfaff wrote: >> Later versions of gcc on some architectures push atomic >> functions >>> out into a separate atomic library; add a check to see when >>> this is required. >>> >>> Signed-off-by: James Page > Is ATOMIC_LIBS nec

Re: [ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread Ben Pfaff
On Thu, Dec 05, 2013 at 10:43:09AM +, James Page wrote: > Later versions of gcc on some architectures push atomic functions > out into a separate atomic library; add a check to see when this > is required. > > Signed-off-by: James Page Is ATOMIC_LIBS necessary or useful? AC_SEARCH_LIBS adds

Re: [ovs-dev] [PATCH 2/2] fedora package: fix systemd order and dependencies

2013-12-05 Thread Gurucharan Shetty
> systemctl is part of systemd. If you have systemctl installed, then the > system should be ready to use systemd service units just fine. My point is that Centos and RHEL RPMS do not have the systemd files as part of the rpms. So if systemctl exists and the usr_lib_systemd_system_openvswitch.serv

Re: [ovs-dev] [PATCH 2/2] fedora package: fix systemd order and dependencies

2013-12-05 Thread Flavio Leitner
On Wed, Dec 04, 2013 at 01:06:35PM -0800, Gurucharan Shetty wrote: > One more thing. There is no BRCOMPAT in master. So that will have to go. Ok, I will remove it. > On Wed, Dec 4, 2013 at 1:04 PM, Gurucharan Shetty wrote: > > On Wed, Dec 4, 2013 at 12:12 PM, Flavio Leitner wrote: > >> On Wed,

[ovs-dev] OpenFlow 1.4 Bundles

2013-12-05 Thread Alexandru Copot
Hello, I want to announce that I want to work on the bundles feature for OpenFlow 1.4. This way we can avoid duplicating the effort. Most of the bundle features are easy to implement so this is what I am going to do first. However, the actual commit of the messages will be a challenge. I am think

[ovs-dev] [PATCH] Add check for -latomic

2013-12-05 Thread James Page
Later versions of gcc on some architectures push atomic functions out into a separate atomic library; add a check to see when this is required. Signed-off-by: James Page --- configure.ac | 1 + m4/openvswitch.m4 | 6 ++ tests/automake.mk | 2 +- 3 files changed, 8 insertions(+), 1 delet

Re: [ovs-dev] openvswitch 2.0.0 build breaks on PPC

2013-12-05 Thread James Page
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Hi Flavio On 29/10/13 12:51, Flavio Leitner wrote: > While updating the packages to 2.0.0 I found that the build fails > on PPC. > > I am not an expert on PPC arch, but I think it doesn't support > atomic operations of 8 bytes (64bit) on 32bit syst