Re: [PATCH RFC 4/6] rhashtable: abstract out function to get hash

2016-09-14 Thread Thomas Graf
On 09/09/16 at 04:19pm, Tom Herbert wrote: > Split out most of rht_key_hashfn which is calculating the hash into > its own function. This way the hash function can be called separately to > get the hash value. > > Signed-off-by: Tom Herbert Acked-by: Thomas Graf

[PATCH RFC 4/6] rhashtable: abstract out function to get hash

2016-09-09 Thread Tom Herbert
Split out most of rht_key_hashfn which is calculating the hash into its own function. This way the hash function can be called separately to get the hash value. Signed-off-by: Tom Herbert --- include/linux/rhashtable.h | 28 ++-- 1 file changed, 18 insertions(+), 10 delet