Home
last modified time | relevance | path

Searched refs:mpu (Results 1 – 25 of 49) sorted by relevance

12

/external/iproute2/tc/
Dtc_core.c92 static unsigned int tc_adjust_size(unsigned int sz, unsigned int mpu, enum link_layer linklayer) in tc_adjust_size() argument
94 if (sz < mpu) in tc_adjust_size()
95 sz = mpu; in tc_adjust_size()
133 unsigned int mpu = r->mpu; in tc_calc_rtable() local
145 sz = tc_adjust_size((i + 1) << cell_log, mpu, linklayer); in tc_calc_rtable()
165 if (linklayer <= LINKLAYER_ETHERNET && s->mpu == 0) { in tc_calc_size_table()
190 sz = tc_adjust_size((i + 1) << s->cell_log, s->mpu, linklayer); in tc_calc_size_table()
Dq_tbf.c45 unsigned buffer = 0, mtu = 0, mpu = 0, latency = 0; in tbf_parse_opt() local
114 if (mpu) { in tbf_parse_opt()
118 if (get_size(&mpu, *argv)) { in tbf_parse_opt()
216 opt.rate.mpu = mpu; in tbf_parse_opt()
225 opt.peakrate.mpu = mpu; in tbf_parse_opt()
283 1<<qopt->rate.cell_log, sprint_size(qopt->rate.mpu, b2)); in tbf_print_opt()
295 if (qopt->mtu || qopt->peakrate.mpu) { in tbf_print_opt()
299 1<<qopt->peakrate.cell_log, sprint_size(qopt->peakrate.mpu, b2)); in tbf_print_opt()
Dtc_stab.c47 return s->linklayer >= LINKLAYER_ETHERNET || s->mpu != 0 || in check_size_table_opts()
71 if (s.mpu) in parse_size_table()
73 if (get_u32(&s.mpu, *argv, 10)) in parse_size_table()
127 if (s.mpu) in print_size_table()
128 fprintf(fp, "mpu %u ", s.mpu); in print_size_table()
Dq_htb.c120 unsigned short mpu = 0; in htb_parse_class_opt() local
140 if (get_u16(&mpu, *argv, 10)) { in htb_parse_class_opt()
233 opt.ceil.mpu = mpu; in htb_parse_class_opt()
234 opt.rate.mpu = mpu; in htb_parse_class_opt()
317 sprint_size(hopt->rate.mpu, b2)); in htb_print_opt()
321 sprint_size(hopt->ceil.mpu, b2)); in htb_print_opt()
Dm_police.c66 unsigned buffer = 0, mtu = 0, mpu = 0; in act_parse_police() local
111 if (mpu) { in act_parse_police()
115 if (get_size(&mpu, *argv)) { in act_parse_police()
212 p.rate.mpu = mpu; in act_parse_police()
223 p.peakrate.mpu = mpu; in act_parse_police()
Dq_cbq.c55 unsigned mpu = 0, avpkt = 0, allot = 0; in cbq_parse_opt() local
105 if (get_size(&mpu, *argv)) { in cbq_parse_opt()
150 r.mpu = mpu; in cbq_parse_opt()
188 unsigned mpu = 0; in cbq_parse_class_opt() local
300 if (get_size(&mpu, *argv)) { in cbq_parse_class_opt()
359 r.mpu = mpu; in cbq_parse_class_opt()
495 if (r->mpu) in cbq_print_opt()
496 fprintf(f, "mpu %ub ", r->mpu); in cbq_print_opt()
/external/iproute2/testsuite/tests/tc/
Dcbq.t3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
8 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
Dpolicer.t3 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
10 $TC qdisc add dev $DEV root handle 10:0 cbq bandwidth 100Mbit avpkt 1400 mpu 64
Dcls-testbed.t22 cbq bandwidth 100Mbit avpkt 1400 mpu 64
/external/strace/tests-m32/
Dnlattr_tca_stab.c106 .mpu = 0xfebfaefb, in main()
118 PRINT_FIELD_U(", ", s, mpu); in main()
/external/strace/tests-mx32/
Dnlattr_tca_stab.c106 .mpu = 0xfebfaefb, in main()
118 PRINT_FIELD_U(", ", s, mpu); in main()
/external/strace/tests/
Dnlattr_tca_stab.c106 .mpu = 0xfebfaefb, in main()
118 PRINT_FIELD_U(", ", s, mpu); in main()
/external/iproute2/
DREADME.iproute2+tc20 avpkt 1000 mpu 64
102 police rate 32kbit buffer 5kb/8 mpu 64 mtu 1514 index 1
111 police rate 10kbit buffer 5kb/8 mpu 64 mtu 1514 index 2
/external/libnl/include/netlink-private/
Dnetlink.h183 dst->rs_mpu = src->mpu; in rtnl_copy_ratespec()
193 dst->mpu = src->rs_mpu; in rtnl_rcopy_ratespec()
/external/libnl/lib/route/
Dtc.c393 void rtnl_tc_set_mpu(struct rtnl_tc *tc, uint32_t mpu) in rtnl_tc_set_mpu() argument
395 tc->tc_mpu = mpu; in rtnl_tc_set_mpu()
716 static unsigned int adjust_size(unsigned int size, unsigned int mpu, in adjust_size() argument
719 if (size < mpu) in adjust_size()
720 size = mpu; in adjust_size()
/external/libnl/python/netlink/route/
Dtc.py136 def mpu(self): member in Tc
139 @mpu.setter
140 def mpu(self, value): member in Tc
/external/iproute2/examples/
Dcbqinit.eth114 $BANDWIDTH avpkt 1000 mpu 64
/external/iproute2/include/uapi/linux/
Dpkt_sched.h94 unsigned short mpu; member
106 unsigned int mpu; member
/external/libnl/lib/route/qdisc/
Dcbq.c123 cbq->cbq_rate.mpu, in cbq_dump_details()
/external/pigweed/third_party/pico_sdk/src/rp2040/hardware_structs/
DBUILD.gn47 "${_CWD}/include/hardware/structs/mpu.h",
/external/libnl/include/linux-private/linux/
Dpkt_sched.h95 unsigned short mpu; member
107 unsigned int mpu; member
/external/bpftool/include/uapi/linux/
Dpkt_sched.h95 unsigned short mpu; member
107 unsigned int mpu; member
/external/libbpf/include/uapi/linux/
Dpkt_sched.h95 unsigned short mpu; member
107 unsigned int mpu; member
/external/strace/
Drtnl_tc.c228 PRINT_FIELD_U(", ", s, mpu); in decode_tc_sizespec()
/external/kernel-headers/original/uapi/linux/
Dpkt_sched.h96 unsigned short mpu; member
108 unsigned int mpu; member

12