Re: [PATCH] NET : UDP can use sk_hash to speedup lookups

2007-02-09 Thread David Miller
From: Eric Dumazet <[EMAIL PROTECTED]> Date: Fri, 9 Feb 2007 18:44:16 +0100 > In a prior patch, I introduced a sk_hash field (__sk_common.skc_hash) to let > tcp lookups use one cache line per unmatched entry instead of two. > > We can also use sk_hash to speedup UDP part as well. We store in sk

[PATCH] NET : UDP can use sk_hash to speedup lookups

2007-02-09 Thread Eric Dumazet
In a prior patch, I introduced a sk_hash field (__sk_common.skc_hash) to let tcp lookups use one cache line per unmatched entry instead of two. We can also use sk_hash to speedup UDP part as well. We store in sk_hash the hnum value, and use sk->sk_hash (same cache line than 'next' pointer), in