Andi Kleen writes: > On Monday 04 September 2006 13:43, Robert Olsson wrote: > > > > Hello. > > > > People on this list might find this paper interesting: > > http://www.csc.kth.se/~snilsson/public/papers/trash/ > > Looks nice. Have you looked at using it for local TCP/UDP socket > lookups too or would that be part of the "unified flow cache"?
No we haven't put struct socket in the leafs (result node) yet we just kept dst entries and some stateful flow variables that we used for active GC and flow logging so far. So 128 bit flow version of the dst hash. It would have taken a lot a of more work and we wanted to get this paper out. Also ip_route_input is not the place have the lookup if we with unified include ip6. So we focused on designing and building the lookup core. Cheers. --ro struct leaf { __u32 key[LPK]; unsigned long parent; void *obj; /* Generic leaf object */ __u32 state; unsigned int len; int iif; struct timeval start; struct rcu_head rcu; }; - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html