Re: [PATCH 4/9] statistics improvements

2008-01-12 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Sat, 12 Jan 2008 21:33:16 -0800 > The size field is added to /proc/net/fib_triestat that was the point. Not from what I can see. [EMAIL PROTECTED]:~/src/GIT/net-2.6.25$ git grep -e "->size" net/ipv4/fib_trie.c net/ipv4/fib_trie.c:t->size++; n

Re: [PATCH 4/9] statistics improvements

2008-01-12 Thread Stephen Hemminger
David Miller wrote: From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 11 Jan 2008 22:45:17 -0800 Turn the unused size field into a useful counter for the number of routes. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> It's not useful if nothing reports it's value. I'm dr

Re: [PATCH 4/9] statistics improvements

2008-01-12 Thread David Miller
From: Stephen Hemminger <[EMAIL PROTECTED]> Date: Fri, 11 Jan 2008 22:45:17 -0800 > Turn the unused size field into a useful counter for the number > of routes. > > Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> It's not useful if nothing reports it's value. I'm dropping this. Unless you

[PATCH 4/9] statistics improvements

2008-01-11 Thread Stephen Hemminger
Turn the unused size field into a useful counter for the number of routes. Signed-off-by: Stephen Hemminger <[EMAIL PROTECTED]> --- a/net/ipv4/fib_trie.c 2008-01-11 22:30:28.0 -0800 +++ b/net/ipv4/fib_trie.c 2008-01-11 22:30:36.0 -0800 @@ -149,10 +149,10 @@ struct tri