Home
last modified time | relevance | path

Searched refs:ewma_log (Results 1 – 10 of 10) sorted by relevance

/Linux-v5.4/net/core/
Dgen_estimator.c47 u8 ewma_log; member
83 brate = (b.bytes - est->last_bytes) << (10 - est->ewma_log - est->intvl_log); in est_timer()
84 brate -= (est->avbps >> est->ewma_log); in est_timer()
86 rate = (u64)(b.packets - est->last_packets) << (10 - est->ewma_log - est->intvl_log); in est_timer()
87 rate -= (est->avpps >> est->ewma_log); in est_timer()
155 est->ewma_log = parm->ewma_log; in gen_new_estimator()
/Linux-v5.4/net/netfilter/
Dxt_RATEEST.c128 if ((!info->interval && !info->ewma_log) || in xt_rateest_tg_checkentry()
130 info->ewma_log != est->params.ewma_log)) { in xt_rateest_tg_checkentry()
147 est->params.ewma_log = info->ewma_log; in xt_rateest_tg_checkentry()
152 cfg.est.ewma_log = info->ewma_log; in xt_rateest_tg_checkentry()
/Linux-v5.4/include/uapi/linux/netfilter/
Dxt_RATEEST.h11 __u8 ewma_log; member
/Linux-v5.4/net/sched/
Dsch_cbq.c78 unsigned char ewma_log; /* time constant for idle time calculation */ member
410 delay -= (-cl->avgidle) - ((-cl->avgidle) >> cl->ewma_log); in cbq_overlimit()
589 avgidle += idle - (avgidle>>cl->ewma_log); in cbq_update()
608 idle = (-avgidle) - ((-avgidle) >> cl->ewma_log); in cbq_update()
1067 cl->ewma_log = lss->ewma_log; in cbq_set_lss()
1209 q->link.ewma_log = TC_CBQ_DEF_EWMA; in cbq_init()
1255 opt.ewma_log = cl->ewma_log; in cbq_dump_lss()
1658 if (cl->ewma_log == 0) in cbq_change_class()
1659 cl->ewma_log = q->link.ewma_log; in cbq_change_class()
Dsch_htb.c1352 .ewma_log = 2, in htb_change_class()
/Linux-v5.4/include/uapi/linux/
Dgen_stats.h77 unsigned char ewma_log; member
Dpkt_sched.h48 unsigned char ewma_log; member
472 unsigned char ewma_log; member
/Linux-v5.4/tools/include/uapi/linux/
Dpkt_sched.h47 unsigned char ewma_log; member
471 unsigned char ewma_log; member
/Linux-v5.4/drivers/atm/
Didt77252.h192 unsigned int ewma_log; member
Didt77252.c2092 est->avcps += ((long)rate - (long)est->avcps) >> est->ewma_log; in idt77252_est_timer()
2129 est->ewma_log = 2; /* XXX: make this configurable */ in idt77252_init_est()