Home
last modified time | relevance | path

Searched refs:avpkt (Results 1 – 19 of 19) 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()
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()
61 " Try burst %u\n", burst, 1 + qmin/avpkt); in tc_red_eval_ewma()
75 int tc_red_eval_idle_damping(int Wlog, unsigned avpkt, unsigned 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
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 …]
Dq_choke.c39 unsigned avpkt = 1000; in choke_parse_opt() local
85 if (get_size(&avpkt, *argv)) { in choke_parse_opt()
132 wlog = tc_red_eval_ewma(opt.qth_min*avpkt, burst, avpkt); in choke_parse_opt()
141 wlog = tc_red_eval_P(opt.qth_min*avpkt, opt.qth_max*avpkt, probability); in choke_parse_opt()
148 wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf); in choke_parse_opt()
Dq_red.c40 unsigned avpkt = 0; in red_parse_opt() local
77 if (get_size(&avpkt, *argv)) { in red_parse_opt()
115 if (!opt.limit || !avpkt) { in red_parse_opt()
128 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in red_parse_opt()
129 if ((wlog = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in red_parse_opt()
141 if ((wlog = tc_red_eval_idle_damping(opt.Wlog, avpkt, rate, sbuf)) < 0) { in red_parse_opt()
Dq_gred.c123 unsigned avpkt = 0; in gred_parse_opt() local
182 if (get_size(&avpkt, *argv)) { in gred_parse_opt()
220 if (!opt.qth_min || !opt.qth_max || !opt.limit || !avpkt || in gred_parse_opt()
227 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in gred_parse_opt()
231 if ((wlog = tc_red_eval_ewma(opt.qth_min, burst, avpkt)) < 0) { in gred_parse_opt()
244 if ((wlog = 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
129 if (get_size(&avpkt, *argv)) { in sfq_parse_opt()
171 burst = (2 * opt.qth_min + opt.qth_max) / (3 * avpkt); in sfq_parse_opt()
183 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.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/libnl/include/linux/
Dpkt_sched.h341 __u32 avpkt; member
/external/libnl/lib/route/sch/
Dcbq.c199 cbq->cbq_lss.avpkt, in cbq_dump_details()
/external/iproute2/include/linux/
Dpkt_sched.h416 __u32 avpkt; member
/external/kernel-headers/original/uapi/linux/
Dpkt_sched.h431 __u32 avpkt; member