Home
last modified time | relevance | path

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

/linux-4.19.296/include/net/
Dred.h130 u32 qth_min; /* Min avg length threshold: Wlog scaled */ member
171 static inline bool red_check_params(u32 qth_min, u32 qth_max, u8 Wlog, in red_check_params() argument
174 if (fls(qth_min) + Wlog >= 32) in red_check_params()
180 if (qth_max < qth_min) in red_check_params()
193 u32 qth_min, u32 qth_max, u8 Wlog, u8 Plog, in red_set_parms() argument
196 int delta = qth_max - qth_min; in red_set_parms()
199 p->qth_min = qth_min << Wlog; in red_set_parms()
220 p->target_min = qth_min + 2*delta; in red_set_parms()
221 p->target_max = qth_min + 3*delta; in red_set_parms()
352 return !(((qavg - p->qth_min) >> p->Wlog) * v->qcount < v->qR); in red_mark_probability()
[all …]
/linux-4.19.296/include/uapi/linux/
Dpkt_sched.h235 __u32 qth_min; /* Min average length threshold (bytes) */ member
265 __u32 qth_min; /* Min average length threshold (bytes) */ member
301 __u32 qth_min; /* Min average length threshold (bytes) */ member
341 __u32 qth_min; /* Min average threshold (packets) */ member