[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 --- acinclude.m4 |4 +-- dat

[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 --- acinclude.m4 |4 +-- datapath/actions.c |8 -- datapath

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

2016-03-10 Thread Alexandru Ardelean
still 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 --- lib/ovs-thread.c |2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c

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

2016-02-03 Thread Alexandru Ardelean
-off-by: Ben Pfaff Signed-off-by: Robert McKay Signed-off-by: Alexandru Ardelean --- lib/ovs-thread.c | 22 ++ 1 file changed, 22 insertions(+) diff --git a/lib/ovs-thread.c b/lib/ovs-thread.c index 6ebda07..b6684d4 100644 --- a/lib/ovs-thread.c +++ b/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 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 (2 * 1024 * 1024) > > #end

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 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 wrote: > > > On Sun, Jan 24, 2016 at 11:24 PM, Russell Bryant wrote: > >> On 01/24/2016 08:56 AM, Alexandru Ardelean wrote: >> > Seems that musl libc's default thread stack size is 80k, which >> > c

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 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 bridge (via the

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

2016-01-24 Thread Alexandru Ardelean
From: Alexandru Ardelean 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 months now. So far, we've

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

2016-01-24 Thread Alexandru Ardelean
gned-off-by: Robert McKay Signed-off-by: Alexandru Ardelean --- 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/ovs-thread.c @@ -347,6 +347,7 @@ ovs_threa

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 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: >> >>> Roughly

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 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 wrote: > > > > > On Tue, Jan 12, 2016 at 09:26:35AM +0200, 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 6:47 PM, Jesse Gross wrote: > On Tue, Jan 12, 2016 at 11:12 PM, Alexandru Ardelean > wrote: > > On Tue, Jan 12, 2016 at 9:25 PM, Alexandru Ardelean < > ardeleana...@gmail.com> > > wrote: > > > >> On Tue, Jan 12, 2016 at 6:23 PM

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 wrote: > On Tue, Jan 12, 2016 at 6:23 PM, Ben Pfaff 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, >> &g

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 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. > > When I run "

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 wrote: > On Tue, Jan 12, 2016 at 1:09 AM, Ben Pfaff 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

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 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. > > > > Signed-off-by: Alex

[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 --- m4/openvswitch.m4 | 13 + 1 file changed, 13 insertions(+) diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 index 6d4e5da..70a6fdc 100644 --- a/m4/openvswitch.m4

[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 --- configure.ac | 1 + lib/automake.mk| 10 +- lib/ovs-lldp.h | 21 +++ ofproto/ofproto-dpif

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 wrote: > On 11/26/14 at 03:54pm, Alexandru Ardelean wrote: > > Back with

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

2014-11-26 Thread Alexandru Ardelean
nt we're fine with keeping it as a patch in our OVS package folder; I thought of proposing 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 Than

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

2014-11-25 Thread Alexandru Ardelean
roducible builds > > > > > > We would have wanted to add '-Wno-error=date-time' directly > > > but that would be too specific, so we decided to add > > > a generic make flag and configure it with what we need. > > > > > > Signed-off-by: