HTB behaviour renders cburst feature useless

2007-12-25 Thread Denys Fedoryshchenko
Hi again I am trying to use HTB for providing "double" speed shaper. It will looks like (graph): Explanation: For example user have bursty rate 1Mbit/s with "bucket"(derived from squid) size 10Mbyte, and then he will have 500Kbit/s if bucket is empty. Bucket refill

Re: [patch] ipv4: Update ip command line processing (take II)

2007-12-25 Thread Simon Horman
On Tue, Dec 25, 2007 at 08:55:43PM -0800, David Miller wrote: > From: Simon Horman <[EMAIL PROTECTED]> > Date: Wed, 26 Dec 2007 11:59:05 +0900 > > > Recently the documentation in Documentation/nfsroot.txt was > > update to note that in fact ip=off and ip=::off as the > > latter is ignored and

testing crazy stuff with iproute2

2007-12-25 Thread Denys Fedoryshchenko
I did rules: tc qdiscdel dev eth0 root tc qdiscadd dev eth0 handle 1: root htb tc classadd dev eth0 parent 1:0 classid 1:2 htb rate 100Mbit ceil 100Mbit quantum 1514 tc qdiscadd dev eth0 handle 2: parent 1:2 sfq tc classadd dev eth0 parent 1:0 classid 1:3

Re: [PATCH][XFRM] Documentaion: Fix error example at XFRMOUTSTATEMODEERROR.

2007-12-25 Thread David Miller
From: Masahide NAKAMURA <[EMAIL PROTECTED]> Date: Tue, 25 Dec 2007 20:43:19 +0900 > [XFRM] Documentaion: Fix error example at XFRMOUTSTATEMODEERROR. > > Signed-off-by: Masahide NAKAMURA <[EMAIL PROTECTED]> Applied, thank you. -- To unsubscribe from this list: send the line "unsubscribe netdev" i

Re: [patch] ipv4: Update ip command line processing (take II)

2007-12-25 Thread David Miller
From: Simon Horman <[EMAIL PROTECTED]> Date: Wed, 26 Dec 2007 11:59:05 +0900 > Recently the documentation in Documentation/nfsroot.txt was > update to note that in fact ip=off and ip=::off as the > latter is ignored and the default (on) is used. > > This was certainly a step in the direction

[PATCH] netconsole: register cmdline netconsole configs to configfs

2007-12-25 Thread Joonwoo Park
This patch intorduces cmdline netconsole configs to register to configfs with dynamic netconsole. Satyam Sharma who designed shiny dynamic reconfiguration for netconsole, mentioned about this issue already. (http://lkml.org/lkml/2007/7/29/360) But I think, without separately managing of two kind

[patch] ipv4: Update ip command line processing (take II)

2007-12-25 Thread Simon Horman
Recently the documentation in Documentation/nfsroot.txt was update to note that in fact ip=off and ip=::off as the latter is ignored and the default (on) is used. This was certainly a step in the direction of reducing confusion. But it seems to me that the code ought to be fixed up so that ip=

Re: [PATCH] veth: move veth.h to include/linux

2007-12-25 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 25 Dec 2007 17:14:15 -0800 > On Tue, 25 Dec 2007 23:23:35 +0100 > Sam Ravnborg <[EMAIL PROTECTED]> wrote: > > > Someone will argue that you should use header-y += > > because the file has no conditionals removed by unifdef. > > > > My person

Re: [PATCH] veth: move veth.h to include/linux

2007-12-25 Thread Stephen Hemminger
On Tue, 25 Dec 2007 23:23:35 +0100 Sam Ravnborg <[EMAIL PROTECTED]> wrote: > On Tue, Dec 25, 2007 at 12:46:56PM -0800, Stephen Hemminger wrote: > > Move veth.h from net/ to linux/ since it is a user api, and > > add it to user header processing Kbuild. > > > > Signed-off-by: Stephen Hemminger <[E

Re: [PATCH] net: santize headers for iproute2

2007-12-25 Thread Stephen Hemminger
On Tue, 25 Dec 2007 15:02:38 -0800 (PST) David Miller <[EMAIL PROTECTED]> wrote: > From: Stephen Hemminger <[EMAIL PROTECTED]> > Date: Tue, 25 Dec 2007 12:43:23 -0800 > > > The problem is that iproute ss.c needs linux/tcp.h to get the > > tcp_info structure definition but linux/tcp.h has incompat

Re: [PATCH] via-velocity big-endian support

2007-12-25 Thread Francois Romieu
Al Viro <[EMAIL PROTECTED]> : [...] > > Can we avoid using cpu_to_leXY here for consistency sake within the driver > > (and among different drivers as well) ? > > ??? I admit that it is a bit late for the Xmas wishlist. Compare it with: @@ -1409,31 +1409,33 @@ static int velocity_rx_srv(struct v

Re: [PATCH] net: santize headers for iproute2

2007-12-25 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Tue, 25 Dec 2007 12:43:23 -0800 > The problem is that iproute ss.c needs linux/tcp.h to get the > tcp_info structure definition but linux/tcp.h has incompatible > definitions with netinet/tcp.h. I propose that the enum be moved > from net/tcp_stat

Re: [PATCH] via-velocity big-endian support

2007-12-25 Thread Al Viro
On Tue, Dec 25, 2007 at 11:43:33PM +0100, Francois Romieu wrote: > > +#define DESC_OWNER cpu_to_le16(0x8000) > > + > > DESC_OWNER does not seem to be used. *nod* That should be removed. > [...] > > +enum { > > + RX_INTEN = __constant_cpu_to_le16(0x8000) > > +}; > > Can we avoid using cpu_to_

Re: [PATCH] via-velocity big-endian support

2007-12-25 Thread Francois Romieu
Al Viro <[EMAIL PROTECTED]> : [...] > diff --git a/drivers/net/via-velocity.h b/drivers/net/via-velocity.h > index aa91796..e0ec5d4 100644 > --- a/drivers/net/via-velocity.h > +++ b/drivers/net/via-velocity.h > @@ -196,26 +196,29 @@ > * Receive descriptor > */ > > +#define DESC_OWNER cpu_to

Re: [PATCH] veth: move veth.h to include/linux

2007-12-25 Thread Sam Ravnborg
On Tue, Dec 25, 2007 at 12:46:56PM -0800, Stephen Hemminger wrote: > Move veth.h from net/ to linux/ since it is a user api, and > add it to user header processing Kbuild. > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> > > --- a/drivers/net/veth.c 2007-12-25 12:30:56.0 -080

Re: ipv4_devconf.arp_accept mystery

2007-12-25 Thread Benny Amorsen
Herbert Xu <[EMAIL PROTECTED]> writes: > As the name suggests you should use > > /proc/sys/net/ipv4/conf/all/arp_accept The documentation says that if arp_accept is 0, unsolicited arp replies are dropped. Doesn't that interfere with failover services such as vrrp, keepalived, ucarp etc? I t

[PATCH] veth: move veth.h to include/linux

2007-12-25 Thread Stephen Hemminger
Move veth.h from net/ to linux/ since it is a user api, and add it to user header processing Kbuild. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/drivers/net/veth.c2007-12-25 12:30:56.0 -0800 +++ b/drivers/net/veth.c2007-12-25 12:31:38.0 -0800 @@ -15,

Re: [PATCH] net: santize headers for iproute2

2007-12-25 Thread Stephen Hemminger
> net/tcp_states.h is not movable to include/linux/ and thus to > userspace, it defines things that are present already in existing > userland header files. If you look, defines these > state values, as an enumeration. If you need the TCPF_* flag bit > versions, sorry... you'll need to find som

Re: [PATCH] [IPROUTE2] IPT action compatibility with iptables 1.4.0

2007-12-25 Thread Denys Fedoryshchenko
I will try to be more careful on patches formatting. I am newbie to this. And thanks for all responding on christmas :-) Usually all people N/A at this time. It seems 2.6.24-rc6 + iptables 1.4.0 + iproute2-git working fine now. On Mon, 24 Dec 2007 12:57:32 -0500, jamal wrote > On Mon, 2007-24-1

Re: Simple question about network stack

2007-12-25 Thread Denys Fedoryshchenko
Probably you have enabled in kernel "Enable kernel irq balancing" or CONFIG_IRQBALANCE It is wrong. It has to be disabled. On Tue, 25 Dec 2007 11:52:48 +0300, Badalian Vyacheslav wrote > Marek Kierdelewicz: > > Hi, > > > > > >> Have 2 Ethernet adapters e1000. Have 8 CPU (4 real). > >> Computer

Re: Strange Panic (Deadlock)

2007-12-25 Thread Denys Fedoryshchenko
Probably also there is TCO watchdog, if it is Intel motherboard. I am using also on unreliable machines nmi_watchdog. And also if it is servers, probably there is IPMI. Plus it is IMHO important to know lspci -vvv, cat /proc/interrupts, and kernel config. Vyacheslav, on my experience i am tried a

Re: Strange Panic (Deadlock)

2007-12-25 Thread Jarek Poplawski
On Tue, Dec 25, 2007 at 12:11:50PM +0300, Badalian Vyacheslav wrote: ... > ok. i will add it to bugtracker, but bug process in gentoo and in > vanilla kernel. > I send to netdev mail list becouse i think that bug depend to TC or > IPTABLES functional. > I have 4 machine. All platforms different.

[PATCH] qla3xxx: convert byte order of constant instead of variable

2007-12-25 Thread Marcin Slusarz
convert byte order of constant instead of variable it will be done at compile time (vs run time) Signed-off-by: Marcin Slusarz <[EMAIL PROTECTED]> --- drivers/net/qla3xxx.c |6 ++ 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/drivers/net/qla3xxx.c b/drivers/net/qla3xxx.c

[PATCH][XFRM] Documentaion: Fix error example at XFRMOUTSTATEMODEERROR. (Re: [XFRM]: Fix outbound statistics.)

2007-12-25 Thread Masahide NAKAMURA
# This is resent email since the Subject is blank at the first time; Hello, On Fri, 21 Dec 2007 23:11:11 +0800 Herbert Xu <[EMAIL PROTECTED]> wrote: > On Fri, Dec 21, 2007 at 11:25:00PM +0900, Masahide NAKAMURA wrote: > > > > do { > > err = xfrm_state_check_space(x, skb); > > -

Re: Strange Panic (Deadlock)

2007-12-25 Thread Badalian Vyacheslav
Jarek Poplawski пишет: > [EMAIL PROTECTED] wrote, On 12/24/2007 07:18 PM: > > >> Hello again. >> Its bug depend to >> http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=4aae07025265151e3f7041dfbf0f529e122de1d8 >> ? >> > ok. i will add it to bugtracker, but bug pr

Re: Simple question about network stack

2007-12-25 Thread Badalian Vyacheslav
Marek Kierdelewicz: > Hi, > > >> Have 2 Ethernet adapters e1000. Have 8 CPU (4 real). >> Computer work as Shaper. Use only TC rules to shape and IPTABLES to >> drop. >> question: >> 1. I may balance load to other cpu? I understand that i can't balance >> polling place, but find in TC and IPTABLE