Home
last modified time | relevance | path

Searched refs:red_wshift (Results 1 – 2 of 2) sorted by relevance

/freebsd/sys/net/altq/
H A Daltq_red.c236 rp->red_wshift = i; in red_alloc()
237 w = 1 << rp->red_wshift; in red_alloc()
248 rp->red_thmin_s = rp->red_thmin << (rp->red_wshift + FP_SHIFT); in red_alloc()
249 rp->red_thmax_s = rp->red_thmax << (rp->red_wshift + FP_SHIFT); in red_alloc()
272 sp->q_avg = rp->red_avg >> rp->red_wshift; in red_getstats()
318 avg += (qlen(q) << FP_SHIFT) - (avg >> rp->red_wshift); in red_addq()
337 } else if (drop_early((avg - rp->red_thmin_s) >> rp->red_wshift, in red_addq()
H A Daltq_red.h82 int red_wshift; /* log(red_weight) */ member