1
0
This repository has been archived on 2024-07-22. You can view files and clone it, but cannot push or open issues or pull requests.
TP-Link_Archer-XR500v/EN7526G_3.18Kernel_SDK/apps/public/iproute/tc
2024-07-22 01:58:46 -03:00
..
.gitignore Add gpl 2024-07-22 01:58:46 -03:00
em_cmp.c Add gpl 2024-07-22 01:58:46 -03:00
em_meta.c Add gpl 2024-07-22 01:58:46 -03:00
em_nbyte.c Add gpl 2024-07-22 01:58:46 -03:00
em_u32.c Add gpl 2024-07-22 01:58:46 -03:00
emp_ematch.l Add gpl 2024-07-22 01:58:46 -03:00
emp_ematch.y Add gpl 2024-07-22 01:58:46 -03:00
f_basic.c Add gpl 2024-07-22 01:58:46 -03:00
f_flow.c Add gpl 2024-07-22 01:58:46 -03:00
f_fw.c Add gpl 2024-07-22 01:58:46 -03:00
f_route.c Add gpl 2024-07-22 01:58:46 -03:00
f_rsvp.c Add gpl 2024-07-22 01:58:46 -03:00
f_tcindex.c Add gpl 2024-07-22 01:58:46 -03:00
f_u32.c Add gpl 2024-07-22 01:58:46 -03:00
m_action.c Add gpl 2024-07-22 01:58:46 -03:00
m_ematch.c Add gpl 2024-07-22 01:58:46 -03:00
m_ematch.h Add gpl 2024-07-22 01:58:46 -03:00
m_estimator.c Add gpl 2024-07-22 01:58:46 -03:00
m_gact.c Add gpl 2024-07-22 01:58:46 -03:00
m_ipt.c Add gpl 2024-07-22 01:58:46 -03:00
m_mirred.c Add gpl 2024-07-22 01:58:46 -03:00
m_nat.c Add gpl 2024-07-22 01:58:46 -03:00
m_pedit.c Add gpl 2024-07-22 01:58:46 -03:00
m_pedit.h Add gpl 2024-07-22 01:58:46 -03:00
m_police.c Add gpl 2024-07-22 01:58:46 -03:00
Makefile Add gpl 2024-07-22 01:58:46 -03:00
p_icmp.c Add gpl 2024-07-22 01:58:46 -03:00
p_ip.c Add gpl 2024-07-22 01:58:46 -03:00
p_tcp.c Add gpl 2024-07-22 01:58:46 -03:00
p_udp.c Add gpl 2024-07-22 01:58:46 -03:00
q_atm.c Add gpl 2024-07-22 01:58:46 -03:00
q_cbq.c Add gpl 2024-07-22 01:58:46 -03:00
q_dsmark.c Add gpl 2024-07-22 01:58:46 -03:00
q_fifo.c Add gpl 2024-07-22 01:58:46 -03:00
q_gred.c Add gpl 2024-07-22 01:58:46 -03:00
q_hfsc.c Add gpl 2024-07-22 01:58:46 -03:00
q_htb.c Add gpl 2024-07-22 01:58:46 -03:00
q_ingress.c Add gpl 2024-07-22 01:58:46 -03:00
q_netem.c Add gpl 2024-07-22 01:58:46 -03:00
q_prio.c Add gpl 2024-07-22 01:58:46 -03:00
q_red.c Add gpl 2024-07-22 01:58:46 -03:00
q_rr.c Add gpl 2024-07-22 01:58:46 -03:00
q_sfq.c Add gpl 2024-07-22 01:58:46 -03:00
q_tbf.c Add gpl 2024-07-22 01:58:46 -03:00
README.last Add gpl 2024-07-22 01:58:46 -03:00
tc_cbq.c Add gpl 2024-07-22 01:58:46 -03:00
tc_cbq.h Add gpl 2024-07-22 01:58:46 -03:00
tc_class.c Add gpl 2024-07-22 01:58:46 -03:00
tc_common.h Add gpl 2024-07-22 01:58:46 -03:00
tc_core.c Add gpl 2024-07-22 01:58:46 -03:00
tc_core.h Add gpl 2024-07-22 01:58:46 -03:00
tc_estimator.c Add gpl 2024-07-22 01:58:46 -03:00
tc_filter.c Add gpl 2024-07-22 01:58:46 -03:00
tc_monitor.c Add gpl 2024-07-22 01:58:46 -03:00
tc_qdisc.c Add gpl 2024-07-22 01:58:46 -03:00
tc_red.c Add gpl 2024-07-22 01:58:46 -03:00
tc_red.h Add gpl 2024-07-22 01:58:46 -03:00
tc_util.c Add gpl 2024-07-22 01:58:46 -03:00
tc_util.h Add gpl 2024-07-22 01:58:46 -03:00
tc.c Add gpl 2024-07-22 01:58:46 -03:00

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.