Home
last modified time | relevance | path

Searched refs:avpkt (Results 1 – 20 of 20) sorted by relevance

/external/iproute2/tc/
Dtc_cbq.c27 unsigned int tc_cbq_calc_maxidle(unsigned int bndw, unsigned int rate, unsigned int avpkt, in tc_cbq_calc_maxidle() argument
32 double xmt = (double)avpkt/bndw; in tc_cbq_calc_maxidle()
36 double vxmt = (double)avpkt/rate - xmt; in tc_cbq_calc_maxidle()
45 unsigned int tc_cbq_calc_offtime(unsigned int bndw, unsigned int rate, unsigned int avpkt, in tc_cbq_calc_offtime() argument
49 double offtime = (double)avpkt/rate - (double)avpkt/bndw; in tc_cbq_calc_offtime()
Dtc_red.c53 int tc_red_eval_ewma(unsigned int qmin, unsigned int burst, unsigned int avpkt) in tc_red_eval_ewma() argument
57 double a = (double)burst + 1 - (double)qmin/avpkt; in tc_red_eval_ewma()
61 burst, 1 + qmin/avpkt); in tc_red_eval_ewma()
75 int tc_red_eval_idle_damping(int Wlog, unsigned int avpkt, unsigned int bps, __u8 *sbuf) in tc_red_eval_idle_damping() argument
77 double xmit_time = tc_calc_xmittime(bps, avpkt); in tc_red_eval_idle_damping()
Dq_cbq.c55 unsigned mpu = 0, avpkt = 0, allot = 0; in cbq_parse_opt() local
99 if (get_size(&avpkt, *argv)) { in cbq_parse_opt()
143 if (avpkt == 0) { in cbq_parse_opt()
147 if (allot < (avpkt*3)/2) in cbq_parse_opt()
148 allot = (avpkt*3)/2; in cbq_parse_opt()
160 lss.maxidle = tc_calc_xmittime(r.rate, avpkt); in cbq_parse_opt()
162 lss.avpkt = avpkt; in cbq_parse_opt()
293 if (get_size(&lss.avpkt, *argv)) { in cbq_parse_class_opt()
357 if (wrr.allot < (lss.avpkt*3)/2) in cbq_parse_class_opt()
358 wrr.allot = (lss.avpkt*3)/2; in cbq_parse_class_opt()
[all …]
Dq_choke.c39 unsigned int avpkt = 1000; in choke_parse_opt() local
83 if (get_size(&avpkt, *argv)) { in choke_parse_opt()
130 wlog = tc_red_eval_ewma(opt.qth_min*avpkt, burst, avpkt); in choke_parse_opt()
139 wlog = tc_red_eval_P(opt.qth_min*avpkt, opt.qth_max*avpkt, probability); in choke_parse_opt()
146 wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf); in choke_parse_opt()
Dq_red.c40 unsigned int avpkt = 0; in red_parse_opt() local
75 if (get_size(&avpkt, *argv)) { in red_parse_opt()
110 if (!opt.limit || !avpkt) { in red_parse_opt()
123 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in red_parse_opt()
128 if ((parm = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in red_parse_opt()
140 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) { in red_parse_opt()
Dq_gred.c125 unsigned int avpkt = 0; in gred_parse_opt() local
184 if (get_size(&avpkt, *argv)) { in gred_parse_opt()
224 !avpkt) { in gred_parse_opt()
229 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in gred_parse_opt()
236 if ((parm = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in gred_parse_opt()
249 if ((parm = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) in gred_parse_opt()
Dtc_cbq.h4 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned avpkt,
6 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt,
Dtc_red.h5 extern int tc_red_eval_ewma(unsigned qmin, unsigned burst, unsigned avpkt);
6 extern int tc_red_eval_idle_damping(int wlog, unsigned avpkt, unsigned bandwidth, __u8 *sbuf);
Dq_sfq.c44 unsigned int avpkt = 1000; in sfq_parse_opt() local
127 if (get_size(&avpkt, *argv)) { in sfq_parse_opt()
169 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in sfq_parse_opt()
181 wlog = tc_red_eval_ewma(opt.qth_min, burst, avpkt); in sfq_parse_opt()
/external/iproute2/examples/
Dcbqinit.eth114 $BANDWIDTH avpkt 1000 mpu 64
26 $BANDWIDTH rate 10Mbit allot 1514 maxburst 50 avpkt 1000
37 prio 6 maxburst 50 avpkt 1000 split 1:0 defmap ff3d
49 prio 2 maxburst 100 avpkt 1000 split 1:0 defmap c0
57 prio 7 maxburst 10 avpkt 1000 split 1:0 defmap 2
64 rate 5Mbit $BANDWIDTH allot 1514b avpkt 1000 \
74 rate 1Mbit $BANDWIDTH allot 1514b avpkt 1000 weight 10Kbit \
Dcbq.init-v0.7.3504 [ -r /etc/sysconfig/cbq/avpkt ] && . /etc/sysconfig/cbq/avpkt
755 bandwidth $DEVBWDT avpkt $AVPKT cell 8
772 allot 1514 cell 8 maxburst 20 avpkt $AVPKT $BOUNDED $ISOLATED ||
946 allot 1514 cell 8 maxburst 20 avpkt $AVPKT $BOUNDED $ISOLATED
/external/iproute2/testsuite/tests/tc/
Dcbq.t3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
4 … classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
8 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
9 … classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
Dpolicer.t3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
4 … classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
10 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
11 … classid 10:12 cbq bandwidth 100mbit rate 100mbit allot 1514 prio 3 maxburst 1 avpkt 500 bounded
Dcls-testbed.t22 cbq bandwidth 100Mbit avpkt 1400 mpu 64
26 maxburst 1 avpkt 500 bounded
/external/iproute2/
DREADME.iproute2+tc20 avpkt 1000 mpu 64
25 allot 1514 cell 8 weight 1Mbit prio 8 maxburst 20 avpkt 1000
30 allot 1514 cell 8 weight 100Kbit prio 3 maxburst 20 avpkt 1000 split 1:0 \
36 allot 1514 cell 8 weight 800Kbit prio 7 maxburst 20 avpkt 1000 split 1:0 \
/external/iproute2/bash-completion/
Dtc257 admit_bytes|avpkt|burst|cell|initial_quantum|limit|max|min|mtu|mpu|\
304 _tc_once_attr 'setup vqs default grio vq prio limit min max avpkt \
329 _tc_once_attr 'limit min max avpkt burst adaptive probability \
344 redflowlimit min max avpkt burst probability ecn harddrop'
353 _tc_once_attr 'bandwidth avpkt mpu cell ewma'
/external/libnl/lib/route/qdisc/
Dcbq.c128 cbq->cbq_lss.avpkt, in cbq_dump_details()
/external/iproute2/include/uapi/linux/
Dpkt_sched.h439 __u32 avpkt; member
/external/libnl/include/linux-private/linux/
Dpkt_sched.h455 __u32 avpkt; member
/external/kernel-headers/original/uapi/linux/
Dpkt_sched.h503 __u32 avpkt; member