Re: [PATCH 05/10] Add divisor.

2007-10-01 Thread Corey Hickey
Patrick McHardy wrote: Corey Hickey wrote: Make hash divisor user-configurable. @@ -120,7 +121,7 @@ static __inline__ unsigned sfq_fold_hash(struct sfq_sched_data *q, u32 h, u32 h1 /* Have we any rotation primitives? If not, WHY? */ h ^= (h1<>(0x1F - pert)); h ^= h>>

Re: [PATCH 05/10] Add divisor.

2007-10-01 Thread Patrick McHardy
Corey Hickey wrote: > Make hash divisor user-configurable. > > @@ -120,7 +121,7 @@ static __inline__ unsigned sfq_fold_hash(struct > sfq_sched_data *q, u32 h, u32 h1 > /* Have we any rotation primitives? If not, WHY? */ > h ^= (h1<>(0x1F - pert)); > h ^= h>>10; > - return h