aosp12/external/iproute2/tc
hcl 7be3fd486c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
..
.gitignore init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Android.bp init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
MODULE_LICENSE_GPL init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
Makefile init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
NOTICE init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
README.last init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
e_bpf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
em_canid.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
em_cmp.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
em_ipset.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
em_meta.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
em_nbyte.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
em_u32.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
emp_ematch.l init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
emp_ematch.lex.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
emp_ematch.y init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
emp_ematch.yacc.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
emp_ematch.yacc.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
emp_ematch.yacc.output init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_basic.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_bpf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_cgroup.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_flow.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_flower.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_fw.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_matchall.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_route.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_rsvp.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_tcindex.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
f_u32.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_action.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_bpf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_connmark.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_csum.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_ematch.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_ematch.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_estimator.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_gact.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_ife.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_ipt.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_mirred.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_nat.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_pedit.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_pedit.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_police.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_sample.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_simple.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_skbedit.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_skbmod.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_tunnel_key.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_vlan.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_xt.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
m_xt_old.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
p_eth.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
p_icmp.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
p_ip.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
p_ip6.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
p_tcp.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
p_udp.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_atm.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_cbq.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_choke.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_clsact.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_codel.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_drr.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_dsmark.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_fifo.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_fq.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_fq_codel.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_gred.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_hfsc.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_hhf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_htb.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_ingress.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_mqprio.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_multiq.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_netem.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_pie.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_prio.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_qfq.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_red.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_rr.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_sfb.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_sfq.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
q_tbf.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
static-syms.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
static-syms.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_cbq.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_cbq.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_class.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_common.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_core.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_core.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_estimator.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_exec.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_filter.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_monitor.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_qdisc.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_red.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_red.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_stab.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_util.c init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00
tc_util.h init from android-12.1.0_r8 2023-01-09 17:11:35 +08:00

README.last

Kernel code and interface.
--------------------------

* Compile time switches

There is only one, but very important, compile time switch.
It is not settable by "make config", but should be selected
manually and after a bit of thinking in <include/net/pkt_sched.h>

PSCHED_CLOCK_SOURCE can take three values:

	PSCHED_GETTIMEOFDAY
	PSCHED_JIFFIES
	PSCHED_CPU


 PSCHED_GETTIMEOFDAY

Default setting is the most conservative PSCHED_GETTIMEOFDAY.
It is very slow both because of weird slowness of do_gettimeofday()
and because it forces code to use unnatural "timeval" format,
where microseconds and seconds fields are separate.
Besides that, it will misbehave, when delays exceed 2 seconds
(f.e. very slow links or classes bounded to small slice of bandwidth)
To resume: as only you will get it working, select correct clock
source and forget about PSCHED_GETTIMEOFDAY forever.


 PSCHED_JIFFIES

Clock is derived from jiffies. On architectures with HZ=100
granularity of this clock is not enough to make reasonable
bindings to real time. However, taking into account Linux
architecture problems, which force us to use artificial
integrated clock in any case, this switch is not so bad
for schduling even on high speed networks, though policing
is not reliable.


 PSCHED_CPU

It is available only for alpha and pentiums with correct
CPU timestamp. It is the fastest way, use it when it is available,
but remember: not all pentiums have this facility, and
a lot of them have clock, broken by APM etc. etc.