Re: 2.6.13-rc4 - kernel panic - BUG at net/ipv4/tcp_output.c:918

2005-08-03 Thread Herbert Xu
On Mon, Aug 01, 2005 at 08:33:20AM +, Guillaume Pelat wrote: > > I just tried the patch attached. :) > > The bug is still here (same symptoms), with a slightly different backtrace : > [ cut here ] > kernel BUG at net/ipv4/tcp_output.c:918! OK, let's try again :) I be

Super TSO performance drop

2005-08-03 Thread Leonid Grossman
We went through all 16 Super TSO patches to see which one causes the performance degradation (relative to the original TSO implementation) that was observed earlier, and it appears to be the last patch #16; results below. We can either provide a remote to the setup, or test incremental patches if

[patch 5/5] fib_trie: use RCU (EXPERIMENTAL)

2005-08-03 Thread Stephen Hemminger
Convert FIB Trie to use RCU for the normal lookup fast path. Use simple spin_lock for updates and dump access. This needs more testing on systems with lareg numbers of routes Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> Index: fib-2.6.13-rc5/net/ipv4/fib_trie.c ==

[patch 4/5] fib_trie: proc interface cleanup

2005-08-03 Thread Stephen Hemminger
Cleanup of the the fib_trie proc interface: * cleanup initialization to get rid of ifdef * new iterator that walks the trie * cleanup format of /proc/net/fib_trie (no pointers, etc) * add /proc/net/route for legacy utilities Signed-off-by: Stephen Hemminger <[EMAIL

[patch 1/5] fib_trie: use BUG_ON and pr_debug

2005-08-03 Thread Stephen Hemminger
Change from using a custom debug hooks, to just using pr_debug() and BUG_ON() in fib_trie. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> Index: tcp/net/ipv4/fib_trie.c === --- tcp.orig/net/ipv4/fib_trie.c +++ tcp/net/ipv4/fib_

[patch 2/5] fib_trie: Use ERR_PTR to handle errno return

2005-08-03 Thread Stephen Hemminger
Change inflate/halve to use the ERR_PTR return value method to avoid having to pass error code by reference. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> Index: fib/net/ipv4/fib_trie.c === --- fib.orig/net/ipv4/fib_trie.c +++

[patch 3/5] fib_trie: Use const

2005-08-03 Thread Stephen Hemminger
Use const where possible and get rid of EXTRACT() macro that was never used. Signed-off-by: Stephen Hemmigner <[EMAIL PROTECTED]> Index: fib/net/ipv4/fib_trie.c === --- fib.orig/net/ipv4/fib_trie.c +++ fib/net/ipv4/fib_trie.c @@ -77,

[PATCH] bond inherits zero-copy flags of slaves

2005-08-03 Thread Arthur Kepner
The attached patch allows a bonding device to inherit the "zero- copy" features of its slave devices. It was inspired by a couple of previous postings on this topic: http://marc.theaimsgroup.com/?l=bonding-devel&m=111924607327794&w=2 http://marc.theaimsgroup.com/?l=bonding-devel&m=11192524270629

Re: [PATCH] add new nfnetlink_log subsystem

2005-08-03 Thread Andi Kleen
> no, it hasn't. I am travelling and don't have the space for a > debian/i386 installation in addition to the debian/x86_64 on this box, > sorry :( That sounds risky. I would ask for this stuff not being merged before it isn't tested. > However, all nfnetlink-based protocols are supposed to be b

Re: [PATCH] add new nfnetlink_log subsystem

2005-08-03 Thread Harald Welte
On Wed, Aug 03, 2005 at 10:02:28PM +0200, Andi Kleen wrote: > Harald Welte <[EMAIL PROTECTED]> writes: > > > Hi Dave! > > > > This (long-awaited) patch adds the generic nfnetlink-based userspace > > logging. nfnetlink_log can be used for any protocol family, and > > supports upt to 65535 logging

Re: [Bugme-new] [Bug 4952] New: IPSec incompabilty. Linux kernel waits to long to start using new SA for outbound traffic.

2005-08-03 Thread Herbert Xu
On Wed, Aug 03, 2005 at 06:34:38AM -0700, David S. Miller wrote: > > I don't understand. I think I'm still missing something so I don't understand either :) > Therefore, when any SA is added, the assosciated policy is the > one for which we flush all matching DST entries. How do you find the a

[PATCH] sysfs feature support in gianfar (II)

2005-08-03 Thread Andy Fleming
This patch exposes certain features of the gianfar ethernet driver through sysfs so that they can be configured at runtime. These include allocating and/or locking buffers and buffer descriptors in the L2 cache, and modifying the threshold in the FIFO at which the controller starts transmitting

[rfc/patch] drivers/net/tg3: Firmware loading

2005-08-03 Thread Nathanael Nerode
This patch converts tg3 to use firmware loading, and builds loadable firmware. Immediate advantages: * separation of binary firmware and GPL driver into different files makes Debian happy * Firmware for irrelevant models never goes into memory (a significant savings; currently three sets are s

Re: [RFC] Net vm deadlock fix (preliminary)

2005-08-03 Thread Daniel Phillips
On Thursday 04 August 2005 04:21, Martin Josefsson wrote: > On Thu, 2005-08-04 at 03:36 +1000, Daniel Phillips wrote: > > I can think of two ways to deal with this: > > > > 1) Mindlessly include the entire maximum memory usage of the rx-ring in > > the reserve requirement (e.g., (maxskbs * (

Re: [PATCH] add new nfnetlink_log subsystem

2005-08-03 Thread Andi Kleen
Harald Welte <[EMAIL PROTECTED]> writes: > Hi Dave! > > This (long-awaited) patch adds the generic nfnetlink-based userspace > logging. nfnetlink_log can be used for any protocol family, and > supports upt to 65535 logging groups (that could go to separate logging > daemons, e.g.). Hi - I hope

Re: [RFC] Net vm deadlock fix (preliminary)

2005-08-03 Thread Martin Josefsson
On Thu, 2005-08-04 at 03:36 +1000, Daniel Phillips wrote: > I can think of two ways to deal with this: > > 1) Mindlessly include the entire maximum memory usage of the rx-ring in > the reserve requirement (e.g., (maxskbs * (MTU + k)) / PAGE_SIZE). Would be dependent on the numberof interf

Re: [RFC] Net vm deadlock fix (preliminary)

2005-08-03 Thread Daniel Phillips
On Wednesday 03 August 2005 16:59, Martin Josefsson wrote: > On Wed, 3 Aug 2005, Daniel Phillips wrote: > > Hi, > > > > Here is a preliminary patch, not tested at all, just to give everybody a > > target to aim bricks at. > > > > * A new __GFP_MEMALLOC flag gives access to the memalloc reserve. >

Re: [ANNOUNCE] Chelsio 10Gb TOE (TCP Offload Engine)

2005-08-03 Thread Stephen Hemminger
Great to see TOE support getting reviewed. Some general stuff: * Use linux indentation style (Documentation/Codingstyle) "Tabs are 8 characters, and thus indentations are also 8 characters." You are using 4 spaces. * Don't use // for comments * All patches must have Signed-off-by:

Re: [RFC,PATCH] Idea to speedup tcp lookups

2005-08-03 Thread Christoph Hellwig
On Wed, Aug 03, 2005 at 12:19:24PM -0300, Arnaldo Carvalho de Melo wrote: > On 8/3/05, Christoph Hellwig <[EMAIL PROTECTED]> wrote: > > On Wed, Aug 03, 2005 at 06:29:25AM -0700, David S. Miller wrote: > > > From: Eric Dumazet <[EMAIL PROTECTED]> > > > Date: Tue, 02 Aug 2005 23:45:27 +0200 > > > > >

Re: [RFC,PATCH] Idea to speedup tcp lookups

2005-08-03 Thread Arnaldo Carvalho de Melo
On 8/3/05, Christoph Hellwig <[EMAIL PROTECTED]> wrote: > On Wed, Aug 03, 2005 at 06:29:25AM -0700, David S. Miller wrote: > > From: Eric Dumazet <[EMAIL PROTECTED]> > > Date: Tue, 02 Aug 2005 23:45:27 +0200 > > > > > Please move ; in a better place, not > > > just after spinlock_t portalloc_lock;

Re: [RFC,PATCH] Idea to speedup tcp lookups

2005-08-03 Thread Christoph Hellwig
On Wed, Aug 03, 2005 at 06:29:25AM -0700, David S. Miller wrote: > From: Eric Dumazet <[EMAIL PROTECTED]> > Date: Tue, 02 Aug 2005 23:45:27 +0200 > > > Please move kmem_cache_t *bind_bucket_cachep; in a better place, not > > just after spinlock_t portalloc_lock; > > [ Eric, I haven't had time to

Re: [Bugme-new] [Bug 4952] New: IPSec incompabilty. Linux kernel waits to long to start using new SA for outbound traffic.

2005-08-03 Thread David S. Miller
From: Herbert Xu <[EMAIL PROTECTED]> Date: Wed, 3 Aug 2005 21:36:59 +1000 > On Sun, Jul 31, 2005 at 10:03:05PM -0700, David S. Miller wrote: > > When an SA changes, we walk that assosciated policies DST list > > marking them ->obsolete > > Yes this should work but it's missing one important detai

Re: [RFC,PATCH] Idea to speedup tcp lookups

2005-08-03 Thread David S. Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Tue, 02 Aug 2005 23:45:27 +0200 > Please move kmem_cache_t *bind_bucket_cachep; in a better place, not > just after spinlock_t portalloc_lock; [ Eric, I haven't had time to respond to this thread because I'm in the UK for UKUUG2005 this week, so emai

Re: [PATCH 1/2] LSM-IPSec Networking Hooks -- revised flow cache [resend]

2005-08-03 Thread Herbert Xu
On Tue, Aug 02, 2005 at 02:04:41PM -0400, jaegert wrote: > Resend of 20 July patch that repaired the flow_cache_lookup > authorization (now for 2.6.13-rc4-git4). Thanks for the resend. I'll try to get back to you soon. -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} <

ICMP broken in 2.6.13-rc5

2005-08-03 Thread Vladimir B. Savkin
Hello! When trying to upgrade a gateway from old 2.6.10-rc2 to new 2.6.13-rc5, I noticed a flood of messages like "172.16.12.1 sent an invalid ICMP type 11, code 0 error to a broadcast: 0.0.0.0" Source IP is always that of this gateway, destination IP is always 0.0.0.0. Looks like it tries to se

Re: [Bugme-new] [Bug 4952] New: IPSec incompabilty. Linux kernel waits to long to start using new SA for outbound traffic.

2005-08-03 Thread Herbert Xu
On Sun, Jul 31, 2005 at 10:03:05PM -0700, David S. Miller wrote: > > We can avoid the flushing damage to DSTs of the effected policy. > At least I think we can do that cleanly. Do you think that is > a middle ground that might be acceptable to you? It's acceptable with some blanks filled in :)

Re: [RFC] Net vm deadlock fix (preliminary)

2005-08-03 Thread Martin Josefsson
On Wed, 3 Aug 2005, Daniel Phillips wrote: > Hi, > > Here is a preliminary patch, not tested at all, just to give everybody a > target to aim bricks at. > > * A new __GFP_MEMALLOC flag gives access to the memalloc reserve. > > * In dev_alloc_skb, if GFP_ATOMIC fails then try again with __GFP_M

RE: ARP entry ageing time

2005-08-03 Thread Partha Chatterjee
Hello, Could someone please help me out on this. I am desperately looking out for a solution. Thanks, Partha x3025 -Original Message- From: Partha Chatterjee Sent: Tuesday, August 02, 2005 5:50 PM To: Partha Chatterjee; netdev@vger.kernel.org Subject: RE: ARP entry ageing time Hello,

[RFC] Net vm deadlock fix (preliminary)

2005-08-03 Thread Daniel Phillips
Hi, Here is a preliminary patch, not tested at all, just to give everybody a target to aim bricks at. * A new __GFP_MEMALLOC flag gives access to the memalloc reserve. * In dev_alloc_skb, if GFP_ATOMIC fails then try again with __GFP_MEMALLOC. * We know an skb was allocated from reserve