Home
last modified time | relevance | path

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

/external/iproute2/tc/
Dtc_cbq.c27 unsigned tc_cbq_calc_maxidle(unsigned bndw, unsigned rate, unsigned 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()
44 unsigned tc_cbq_calc_offtime(unsigned bndw, unsigned rate, unsigned avpkt, in tc_cbq_calc_offtime() argument
48 double offtime = (double)avpkt/rate - (double)avpkt/bndw; in tc_cbq_calc_offtime()
Dq_cbq.c55 unsigned mpu=0, avpkt=0, allot=0; in cbq_parse_opt() local
101 if (get_size(&avpkt, *argv)) { in cbq_parse_opt()
145 if (avpkt == 0) { in cbq_parse_opt()
149 if (allot < (avpkt*3)/2) in cbq_parse_opt()
150 allot = (avpkt*3)/2; in cbq_parse_opt()
162 lss.maxidle = tc_calc_xmittime(r.rate, avpkt); in cbq_parse_opt()
164 lss.avpkt = avpkt; in cbq_parse_opt()
299 if (get_size(&lss.avpkt, *argv)) { in cbq_parse_class_opt()
361 if (wrr.allot < (lss.avpkt*3)/2) in cbq_parse_class_opt()
362 wrr.allot = (lss.avpkt*3)/2; in cbq_parse_class_opt()
[all …]
Dtc_red.c53 int tc_red_eval_ewma(unsigned qmin, unsigned burst, unsigned avpkt) in tc_red_eval_ewma() argument
57 double a = (double)burst + 1 - (double)qmin/avpkt; in tc_red_eval_ewma()
72 int tc_red_eval_idle_damping(int Wlog, unsigned avpkt, unsigned bps, __u8 *sbuf) in tc_red_eval_idle_damping() argument
74 double xmit_time = tc_calc_xmittime(bps, avpkt); in tc_red_eval_idle_damping()
Dq_red.c38 unsigned avpkt = 0; in red_parse_opt() local
75 if (get_size(&avpkt, *argv)) { in red_parse_opt()
107 if (!opt.qth_min || !opt.qth_max || !burst || !opt.limit || !avpkt) { in red_parse_opt()
112 if ((wlog = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in red_parse_opt()
124 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) { in red_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_gred.c123 unsigned avpkt = 0; in gred_parse_opt() local
181 if (get_size(&avpkt, *argv)) { in gred_parse_opt()
219 if (!opt.qth_min || !opt.qth_max || !burst || !opt.limit || !avpkt || in gred_parse_opt()
226 if ((wlog = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in gred_parse_opt()
239 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) in gred_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.3505 [ -r /etc/sysconfig/cbq/avpkt ] && . /etc/sysconfig/cbq/avpkt
756 bandwidth $DEVBWDT avpkt $AVPKT cell 8
773 allot 1514 cell 8 maxburst 20 avpkt $AVPKT $BOUNDED $ISOLATED ||
947 allot 1514 cell 8 maxburst 20 avpkt $AVPKT $BOUNDED $ISOLATED
/external/iproute2/testsuite/tests/
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
Dpolicer3 $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.t17 cbq bandwidth 100Mbit avpkt 1400 mpu 64
21 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/include/linux/
Dpkt_sched.h344 __u32 avpkt; member
/external/kernel-headers/original/linux/
Dpkt_sched.h368 __u32 avpkt; member