Home | History | Annotate | only in /external/iproute2/tc
Up to higher level directory
NameDateSize
.gitignore15-Nov-201138
Android.mk15-Nov-2011560
em_cmp.c15-Nov-20114.6K
em_meta.c15-Nov-201112.6K
em_nbyte.c15-Nov-20113.5K
em_u32.c15-Nov-20114K
emp_ematch.l15-Nov-20113.3K
emp_ematch.y15-Nov-20111.2K
f_basic.c15-Nov-20113.4K
f_cgroup.c15-Nov-20112.6K
f_flow.c15-Nov-20118.5K
f_fw.c15-Nov-20113.8K
f_route.c15-Nov-20114.3K
f_rsvp.c15-Nov-201110.1K
f_tcindex.c15-Nov-20114K
f_u32.c15-Nov-201127.5K
m_action.c15-Nov-201113.4K
m_ematch.c15-Nov-201110.7K
m_ematch.h15-Nov-20112K
m_estimator.c15-Nov-20111.7K
m_gact.c15-Nov-20115.2K
m_ipt.c15-Nov-201112.8K
m_mirred.c15-Nov-20116.1K
m_nat.c15-Nov-20114K
m_pedit.c15-Nov-201111.8K
m_pedit.h15-Nov-20112K
m_police.c15-Nov-20119K
m_skbedit.c15-Nov-20114.4K
m_xt.c15-Nov-20117.2K
m_xt_old.c15-Nov-20119.4K
Makefile15-Nov-20112.6K
p_icmp.c15-Nov-20111.1K
p_ip.c15-Nov-20113.4K
p_tcp.c15-Nov-2011810
p_udp.c15-Nov-2011810
q_atm.c15-Nov-20115.5K
q_cbq.c15-Nov-201114.8K
q_drr.c15-Nov-20112.6K
q_dsmark.c15-Nov-20113.8K
q_fifo.c15-Nov-20112.1K
q_gred.c15-Nov-20117.9K
q_hfsc.c15-Nov-20118.4K
q_htb.c15-Nov-20119.3K
q_ingress.c15-Nov-20111.4K
q_multiq.c15-Nov-20112K
q_netem.c15-Nov-20119.2K
q_prio.c15-Nov-20112.9K
q_red.c15-Nov-20115.1K
q_rr.c15-Nov-20112.8K
q_sfq.c15-Nov-20112.7K
q_tbf.c15-Nov-20117.1K
README.last15-Nov-20111.5K
static-syms.c15-Nov-201193
tc.c15-Nov-20117.4K
tc_cbq.c15-Nov-20111.5K
tc_cbq.h15-Nov-2011283
tc_class.c15-Nov-20118.3K
tc_common.h15-Nov-2011979
tc_core.c15-Nov-20114.4K
tc_core.h15-Nov-2011894
tc_estimator.c15-Nov-20111.1K
tc_filter.c15-Nov-20119.4K
tc_monitor.c15-Nov-20112.3K
tc_qdisc.c15-Nov-20119.1K
tc_red.c15-Nov-20111.8K
tc_red.h15-Nov-2011289
tc_stab.c15-Nov-20113.8K
tc_util.c15-Nov-201111.8K
tc_util.h15-Nov-20113.9K

README.last

      1 Kernel code and interface.
      2 --------------------------
      3 
      4 * Compile time switches
      5 
      6 There is only one, but very important, compile time switch.
      7 It is not settable by "make config", but should be selected
      8 manually and after a bit of thinking in <include/net/pkt_sched.h>
      9 
     10 PSCHED_CLOCK_SOURCE can take three values:
     11 
     12 	PSCHED_GETTIMEOFDAY
     13 	PSCHED_JIFFIES
     14 	PSCHED_CPU
     15 
     16 
     17  PSCHED_GETTIMEOFDAY
     18 
     19 Default setting is the most conservative PSCHED_GETTIMEOFDAY.
     20 It is very slow both because of weird slowness of do_gettimeofday()
     21 and because it forces code to use unnatural "timeval" format,
     22 where microseconds and seconds fields are separate.
     23 Besides that, it will misbehave, when delays exceed 2 seconds
     24 (f.e. very slow links or classes bounded to small slice of bandwidth)
     25 To resume: as only you will get it working, select correct clock
     26 source and forget about PSCHED_GETTIMEOFDAY forever.
     27 
     28 
     29  PSCHED_JIFFIES
     30 
     31 Clock is derived from jiffies. On architectures with HZ=100
     32 granularity of this clock is not enough to make reasonable
     33 bindings to real time. However, taking into account Linux
     34 architecture problems, which force us to use artificial
     35 integrated clock in any case, this switch is not so bad
     36 for schduling even on high speed networks, though policing
     37 is not reliable.
     38 
     39 
     40  PSCHED_CPU
     41 
     42 It is available only for alpha and pentiums with correct
     43 CPU timestamp. It is the fastest way, use it when it is available,
     44 but remember: not all pentiums have this facility, and
     45 a lot of them have clock, broken by APM etc. etc.
     46 
     47 
     48