Home
last modified time | relevance | path

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

/Linux-v4.19/net/sched/
Dsch_sfb.c119 return min_t(u32, res, SFB_MAX_PROB); in prob_plus()
355 if (unlikely(p_min >= SFB_MAX_PROB)) { in sfb_enqueue()
383 r = prandom_u32() & SFB_MAX_PROB; in sfb_enqueue()
386 if (unlikely(p_min > SFB_MAX_PROB / 2)) { in sfb_enqueue()
391 if (r < (p_min - SFB_MAX_PROB / 2) * 2) { in sfb_enqueue()
485 .increment = (SFB_MAX_PROB + 500) / 1000, /* 0.1 % */
486 .decrement = (SFB_MAX_PROB + 3000) / 6000,
/Linux-v4.19/include/uapi/linux/
Dpkt_sched.h735 #define SFB_MAX_PROB 0xFFFF macro