Home
last modified time | relevance | path

Searched refs:red_parms (Results 1 – 5 of 5) sorted by relevance

/openbmc/linux/include/net/
H A Dred.h127 struct red_parms { struct
229 static inline void red_set_parms(struct red_parms *p, in red_set_parms()
289 static inline unsigned long red_calc_qavg_from_idle_time(const struct red_parms *p, in red_calc_qavg_from_idle_time()
337 static inline unsigned long red_calc_qavg_no_idle_time(const struct red_parms *p, in red_calc_qavg_no_idle_time()
353 static inline unsigned long red_calc_qavg(const struct red_parms *p, in red_calc_qavg()
364 static inline u32 red_random(const struct red_parms *p) in red_random()
369 static inline int red_mark_probability(const struct red_parms *p, in red_mark_probability()
398 static inline int red_cmp_thresh(const struct red_parms *p, unsigned long qavg) in red_cmp_thresh()
414 static inline int red_action(const struct red_parms *p, in red_action()
444 static inline void red_adaptative_algo(struct red_parms *p, struct red_vars *v) in red_adaptative_algo()
/openbmc/linux/net/sched/
H A Dsch_sfq.c122 struct red_parms *red_parms; member
371 if (q->red_parms) { in sfq_enqueue()
372 slot->vars.qavg = red_calc_qavg_no_idle_time(q->red_parms, in sfq_enqueue()
375 switch (red_action(q->red_parms, in sfq_enqueue()
577 if (q->red_parms) in sfq_rehash()
578 slot->vars.qavg = red_calc_qavg(q->red_parms, in sfq_rehash()
631 struct red_parms *p = NULL; in sfq_change()
673 swap(q->red_parms, p); in sfq_change()
674 red_set_parms(q->red_parms, in sfq_change()
728 kfree(q->red_parms); in sfq_destroy()
[all …]
H A Dsch_choke.c53 struct red_parms parms;
216 const struct red_parms *p = &q->parms; in choke_enqueue()
H A Dsch_red.c45 struct red_parms parms;
H A Dsch_gred.c42 struct red_parms parms;