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>>
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
Make hash divisor user-configurable.
Signed-off-by: Corey Hickey <[EMAIL PROTECTED]>
---
net/sched/sch_sfq.c | 18 +-
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index 34a299d..d72ea7c 100644
--- a/net/sched/sch_sfq.c
Make hash divisor user-configurable.
Signed-off-by: Corey Hickey <[EMAIL PROTECTED]>
---
net/sched/sch_sfq.c | 18 +-
1 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c
index 2e6d607..827b885 100644
--- a/net/sched/sch_sfq.c