Re: [PATCH 3/4] fib_trie: print statistics for multiple tables

2008-02-13 Thread Paul E. McKenney
On Tue, Feb 12, 2008 at 06:35:21PM -0800, Andrew Morton wrote: > On Tue, 12 Feb 2008 16:50:45 -0800 Stephen Hemminger <[EMAIL PROTECTED]> > wrote: > > > +/** > > + * hlist_for_each_entry_continue_rcu - iterate over rcu hlist after > > current point > > + * @tpos: the type * to use as a loop

Re: [PATCH 3/4] fib_trie: print statistics for multiple tables

2008-02-13 Thread Paul E. McKenney
On Tue, Feb 12, 2008 at 06:35:21PM -0800, Andrew Morton wrote: On Tue, 12 Feb 2008 16:50:45 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: +/** + * hlist_for_each_entry_continue_rcu - iterate over rcu hlist after current point + * @tpos: the type * to use as a loop cursor. + *

Re: [PATCH 3/4] fib_trie: print statistics for multiple tables

2008-02-12 Thread Andrew Morton
On Tue, 12 Feb 2008 16:50:45 -0800 Stephen Hemminger <[EMAIL PROTECTED]> wrote: > +/** > + * hlist_for_each_entry_continue_rcu - iterate over rcu hlist after current > point > + * @tpos:the type * to use as a loop cursor. > + * @pos: the hlist_node to use as a loop cursor. > + *

[PATCH 3/4] fib_trie: print statistics for multiple tables

2008-02-12 Thread Stephen Hemminger
Make /proc/net/fib_trie and /proc/net/fib_triestat handle multiple (alternate) route tables. Need hliist_for_each_entry_continue_rcu as well. Notes: * this usage of seq_file doesn't need/want SEQ_START_TOKEN * add hlist_for_each_entry_continue_rcu since it needs it Signed-off-by: Stephen

[PATCH 3/4] fib_trie: print statistics for multiple tables

2008-02-12 Thread Stephen Hemminger
Make /proc/net/fib_trie and /proc/net/fib_triestat handle multiple (alternate) route tables. Need hliist_for_each_entry_continue_rcu as well. Notes: * this usage of seq_file doesn't need/want SEQ_START_TOKEN * add hlist_for_each_entry_continue_rcu since it needs it Signed-off-by: Stephen

Re: [PATCH 3/4] fib_trie: print statistics for multiple tables

2008-02-12 Thread Andrew Morton
On Tue, 12 Feb 2008 16:50:45 -0800 Stephen Hemminger [EMAIL PROTECTED] wrote: +/** + * hlist_for_each_entry_continue_rcu - iterate over rcu hlist after current point + * @tpos:the type * to use as a loop cursor. + * @pos: the struct hlist_node to use as a loop cursor. + * @member: