[ovs-dev] [PATCH][RESEND] openvswitch: add support for kernel 4.4

2016-03-11 Thread Alexandru Ardelean
A bit cleaner than my previous patch. http://patchwork.ozlabs.org/patch/595969/ Though I couldn't figure out a clean solution for ip6_local_out(), genl_notify(), and vport-vxlan Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com> --- acincl

[ovs-dev] [PATCH] openvswitch: add support for kernel 4.4

2016-03-10 Thread Alexandru Ardelean
Maybe not the cleanest patch/approach to add support for kernel 4.4, but it works. Will do more tests later. Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com> --- acinclude.m4 |4 +-- datapath/actions.c

[ovs-dev] [PATCH] lib/ovs-thread: make use of the pthread_attr object

2016-03-10 Thread Alexandru Ardelean
occuring and checked the patch. The pthread_attr object needs to be passed to the pthread_create() call in order to make use of it. Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com> --- lib/ovs-thread.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ovs-thre

[ovs-dev] [PATCH][V3] lib/ovs-thread: enforce min thread stack size to 512k

2016-02-03 Thread Alexandru Ardelean
uss...@ovn.org> Signed-off-by: Ben Pfaff <b...@ovn.org> Signed-off-by: Robert McKay <rob...@mckay.com> Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com> --- lib/ovs-thread.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/lib/ovs-thread.c

Re: [ovs-dev] [PATCH] [RFC] lib/ovs-thread: set pthread stack size to 128k

2016-02-03 Thread Alexandru Ardelean
On Tue, Feb 2, 2016 at 8:24 PM, Ben Pfaff <b...@ovn.org> wrote: > On Tue, Feb 02, 2016 at 01:13:16PM +0200, Alexandru Ardelean wrote: > > Would it be an idea to add a ? > > #ifndef OVS_DEFAULT_THREAD_STACK_SIZE > > #define OVS_DEFAULT_THREAD_STACK_SIZE (

Re: [ovs-dev] [PATCH] [RFC] lib/ovs-thread: set pthread stack size to 128k

2016-02-02 Thread Alexandru Ardelean
On Tue, Jan 26, 2016 at 8:34 AM, Ben Pfaff <b...@ovn.org> wrote: > On Mon, Jan 25, 2016 at 03:16:22PM +0200, Alexandru Ardelean wrote: > > On Mon, Jan 25, 2016 at 10:13 AM, Alexandru Ardelean < > ardeleana...@gmail.com > > > wrote: > > > > > > >

Re: [ovs-dev] [PATCH] [RFC] lib/ovs-thread: set pthread stack size to 128k

2016-01-25 Thread Alexandru Ardelean
On Mon, Jan 25, 2016 at 10:13 AM, Alexandru Ardelean <ardeleana...@gmail.com > wrote: > > > On Sun, Jan 24, 2016 at 11:24 PM, Russell Bryant <russ...@ovn.org> wrote: > >> On 01/24/2016 08:56 AM, Alexandru Ardelean wrote: >> > Seems that musl libc's

Re: [ovs-dev] [PATCH] [RFC] lib/ovs-thread: set pthread stack size to 128k

2016-01-25 Thread Alexandru Ardelean
On Sun, Jan 24, 2016 at 11:24 PM, Russell Bryant <russ...@ovn.org> wrote: > On 01/24/2016 08:56 AM, Alexandru Ardelean wrote: > > Seems that musl libc's default thread stack size is 80k, which > > causes a segfault (stack overflow actually) when trying to add > > a bri

[ovs-dev] [PATCH][RFC][V2] lib/ovs-thread: set pthread stack size to 128k

2016-01-24 Thread Alexandru Ardelean
From: Alexandru Ardelean <ardeleana...@gmail.com> Seems that musl libc's default thread stack size is 80k, which causes a segfault (stack overflow actually) when trying to add a bridge (via the "ovs-vsctl add-br" command). OpenWRT has been switching to musl libc for a few mo

[ovs-dev] [PATCH] [RFC] lib/ovs-thread: set pthread stack size to 128k

2016-01-24 Thread Alexandru Ardelean
bert McKay <rob...@mckay.com> Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com> --- lib/ovs-thread.c |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c index 7855b3a..e35ddba 100644 --- a/lib/ovs-thread.c +++ b/lib/

Re: [ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-14 Thread Alexandru Ardelean
On Thu, Jan 14, 2016 at 10:36 AM, Panu Matilainen <pmati...@redhat.com> wrote: > On 01/13/2016 11:50 PM, Ben Pfaff wrote: > >> Ben Pfaff wrote: >> >>> How much does this commit trim from the binary size? >>> >> >> Alexandru Ardelean wrote:

Re: [ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-13 Thread Alexandru Ardelean
On Wed, Jan 13, 2016 at 9:50 PM, Ben Pfaff <b...@ovn.org> wrote: > On Tue, Jan 12, 2016 at 09:25:16PM +0200, Alexandru Ardelean wrote: > > On Tue, Jan 12, 2016 at 6:23 PM, Ben Pfaff <b...@ovn.org> wrote: > > > > > On Tue, Jan 12, 2016 at 09:26:

Re: [ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-13 Thread Alexandru Ardelean
On Wed, Jan 13, 2016 at 6:47 PM, Jesse Gross <je...@kernel.org> wrote: > On Tue, Jan 12, 2016 at 11:12 PM, Alexandru Ardelean > <ardeleana...@gmail.com> wrote: > > On Tue, Jan 12, 2016 at 9:25 PM, Alexandru Ardelean < > ardeleana...@gmail.com> > > wrote: &

Re: [ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-12 Thread Alexandru Ardelean
On Tue, Jan 12, 2016 at 9:25 PM, Alexandru Ardelean <ardeleana...@gmail.com> wrote: > On Tue, Jan 12, 2016 at 6:23 PM, Ben Pfaff <b...@ovn.org> wrote: > >> On Tue, Jan 12, 2016 at 09:26:35AM +0200, Alexandru Ardelean wrote: >> > But as it turns out, OVS is ge

Re: [ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-12 Thread Alexandru Ardelean
On Tue, Jan 12, 2016 at 6:23 PM, Ben Pfaff <b...@ovn.org> wrote: > On Tue, Jan 12, 2016 at 09:26:35AM +0200, Alexandru Ardelean wrote: > > But as it turns out, OVS is getting bigger and bigger with each release, > > which means fewer and fewer devices can support it.

Re: [ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-11 Thread Alexandru Ardelean
On Tue, Jan 12, 2016 at 9:26 AM, Alexandru Ardelean <ardeleana...@gmail.com> wrote: > On Tue, Jan 12, 2016 at 1:09 AM, Ben Pfaff <b...@ovn.org> wrote: > >> On Sat, Jan 09, 2016 at 08:49:44PM +0200, Alexandru Ardelean wrote: >> > This is the first in a series of

Re: [ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-11 Thread Alexandru Ardelean
On Tue, Jan 12, 2016 at 1:09 AM, Ben Pfaff <b...@ovn.org> wrote: > On Sat, Jan 09, 2016 at 08:49:44PM +0200, Alexandru Ardelean wrote: > > This is the first in a series of attempts to trim the fat > > off of OVS, to make it friendlier for embedded systems. > > &

[ovs-dev] [PATCH 1/2] m4/openvswitch.m4: add OVS_ARG_ENABLE wrapper

2016-01-09 Thread Alexandru Ardelean
Adapted from: https://github.com/vincentbernat/lldpd/blob/master/m4/args.m4 Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com> --- m4/openvswitch.m4 | 13 + 1 file changed, 13 insertions(+) diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 6d4e5da..70a6fdc

[ovs-dev] [PATCH 2/2] openvswitch: make auto-attach logic disable-able

2016-01-09 Thread Alexandru Ardelean
This is the first in a series of attempts to trim the fat off of OVS, to make it friendlier for embedded systems. Signed-off-by: Alexandru Ardelean <ardeleana...@gmail.com> --- configure.ac | 1 + lib/automake.mk| 10 +- lib/ovs-lldp.h

Re: [ovs-dev] [PATCH] datapath/linux: add KCFLAGS var to modules Makefile.main.in

2014-11-26 Thread Alexandru Ardelean
it to you guys, since it may be useful - eventually GCC 4.9 will become popular enough that the build error gets fixed within the OVS build rules, so we don't have to use that patch for OVS on OpenWRT Thanks Alex On Tue, Nov 25, 2014 at 6:28 PM, Alexandru Ardelean ardeleana...@gmail.com wrote: It's

Re: [ovs-dev] [PATCH] datapath/linux: add KCFLAGS var to modules Makefile.main.in

2014-11-26 Thread Alexandru Ardelean
Just checked. That seems to have did it. I'll update the OpenWRT patches folder with this patch (remove my patch) and update the build rules. Thank you. On Wed, Nov 26, 2014 at 4:53 PM, Thomas Graf tg...@noironetworks.com wrote: On 11/26/14 at 03:54pm, Alexandru Ardelean wrote: Back

Re: [ovs-dev] [PATCH] datapath/linux: add KCFLAGS var to modules Makefile.main.in

2014-11-25 Thread Alexandru Ardelean
: From: Alexandru Ardelean a...@ocedo.com This is mostly required because of GCC 4.9 which seems to error out with: openvswitch/datapath/linux/datapath.c:2108:10: error: macro DATE might prevent reproducible builds We would have wanted to add '-Wno-error=date-time