octcf(4/octeon): switch disksort() to bufqs

2013-10-31 Thread David Gwynne
jmatthew@ tells me this compiles, but we dont have hardware to test with. tests? oks? go for its? cheers, dlg Index: octcf.c === RCS file: /cvs/src/sys/arch/octeon/dev/octcf.c,v retrieving revision 1.12 diff -u -p -r1.12 octcf.c

Re: kernel route 64 bit expire time

2013-10-31 Thread Gregory Edigarov
On 10/15/2013 01:43 AM, Alexander Bluhm wrote: Hi, Convert the route expire timestamp in kernel and routing message to 64 bit. Add a small compatibility layer that allows to set routes with old user land and new kernel. ok? just out for curiosity, shouldn't the expire time be u_int64_t? --

Re: kernel route 64 bit expire time

2013-10-31 Thread Alexander Bluhm
On Thu, Oct 31, 2013 at 11:44:12AM +0200, Gregory Edigarov wrote: On 10/15/2013 01:43 AM, Alexander Bluhm wrote: Hi, Convert the route expire timestamp in kernel and routing message to 64 bit. Add a small compatibility layer that allows to set routes with old user land and new kernel.

Re: octcf(4/octeon): switch disksort() to bufqs

2013-10-31 Thread Brian Callahan
On 10/31/2013 2:33 AM, David Gwynne wrote: jmatthew@ tells me this compiles, but we dont have hardware to test with. tests? oks? go for its? I'll run a test on my CAM-0100 later today. cheers, dlg Index: octcf.c === RCS file:

pflow in rdomain

2013-10-31 Thread Anders Berggren
We tried to get pflow running in a non-default rdomain, and found this to get it going. Make sense? --- sys/net/if_pflow.c.orig Fri Sep 13 20:58:40 2013 +++ sys/net/if_pflow.c Mon Sep 16 13:25:54 2013 @@ -1213,6 +1213,8 @@ sc-sc_if.if_opackets++; sc-sc_if.if_obytes +=

Re: unlimited HFSC v4: against -current with deferred pushing

2013-10-31 Thread Theo de Raadt
+ +/* XXX hack, because we need the structure definition */ +#define ALTQ_IS_ENABLED 1 +#include net/hfsc.h +#undef ALTQ_IS_ENABLED +/* XXX hack */ + Over my dead body. If everyone needed a hack like that, we'd be in big trouble. Please refactor the code so that you don't need to do

Re: kernel route 64 bit expire time

2013-10-31 Thread Theo de Raadt
Convert the route expire timestamp in kernel and routing message to 64 bit. Add a small compatibility layer that allows to set routes with old user land and new kernel. ok? just out for curiosity, shouldn't the expire time be u_int64_t? It seems such a simple concept. It should

Re: in6_leavegroup work queue

2013-10-31 Thread Alexander Bluhm
On Thu, Oct 31, 2013 at 09:56:11AM +0100, Martin Pieuchot wrote: On 30/10/13(Wed) 16:48, Alexander Bluhm wrote: Now I use the if_index to detect that the interface is gone. Do you know if the memory pointed by the imm pointer you're passing to your workq can be freed before the task got

remove some altq references from manuals

2013-10-31 Thread Arto Jonsson
Index: sbin/iked/iked.conf.5 === RCS file: /cvs/src/sbin/iked/iked.conf.5,v retrieving revision 1.25 diff -u -p -r1.25 iked.conf.5 --- sbin/iked/iked.conf.5 16 Jul 2013 09:45:28 - 1.25 +++ sbin/iked/iked.conf.5 19

Re: octcf(4/octeon): switch disksort() to bufqs

2013-10-31 Thread Brian Callahan
On 10/31/2013 10:49 AM, Brian Callahan wrote: On 10/31/2013 2:33 AM, David Gwynne wrote: jmatthew@ tells me this compiles, but we dont have hardware to test with. tests? oks? go for its? I'll run a test on my CAM-0100 later today. tests good. ok. cheers, dlg Index: octcf.c