dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/net/sched
Stephen Hemminger 0f9f32ac65 [PKT_SCHED] netem: use only inner qdisc -- no private skbuff queue
Netem works better if there if packets are just queued in the inner discipline
rather than having a separate delayed queue. Change to use the dequeue/requeue
to peek like TBF does.

By doing this potential qlen problems with the old method are avoided. The problems
happened when the netem_run that moved packets from the inner discipline to the nested
discipline failed (because inner queue was full). This happened in dequeue, so the
effective qlen of the netem would be decreased (because of the drop), but there was
no way to keep the outer qdisc (caller of netem dequeue) in sync.

The problem window is still there since this patch doesn't address the issue of
requeue failing in netem_dequeue, but that shouldn't happen since the sequence dequeue/requeue
should always work.  Long term correct fix is to implement qdisc->peek in all the qdisc's
to allow for this (needed by several other qdisc's as well).

Signed-off-by: Stephen Hemminger <shemminger@osdl.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
2005-05-26 12:55:01 -07:00
..
Kconfig [PKT_SCHED]: fix typo on Kconfig 2005-05-03 14:34:20 -07:00
Makefile [PKT_SCHED]: Introduce simple actions. 2005-04-24 20:10:16 -07:00
act_api.c [PKT_SCHED]: Action repeat 2005-05-03 16:29:13 -07:00
cls_api.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cls_basic.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cls_fw.c [PKT_SCHED]: improve hashing performance of cls_fw 2005-04-24 20:19:54 -07:00
cls_route.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cls_rsvp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cls_rsvp.h Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cls_rsvp6.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cls_tcindex.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
cls_u32.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
em_cmp.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
em_meta.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
em_nbyte.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
em_u32.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ematch.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
estimator.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
gact.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
ipt.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
mirred.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
pedit.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
police.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_api.c [PKT_SCHED]: netetm: adjust parent qlen when duplicating 2005-05-03 16:24:57 -07:00
sch_atm.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_cbq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_dsmark.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_fifo.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_generic.c [PKT_SCHED]: netetm: trap infinite loop hange on qlen underflow 2005-05-03 16:24:03 -07:00
sch_gred.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_hfsc.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_htb.c [PKT_SCHED]: HTB: Drop packet when direct queue is full 2005-05-03 14:39:33 -07:00
sch_ingress.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_netem.c [PKT_SCHED] netem: use only inner qdisc -- no private skbuff queue 2005-05-26 12:55:01 -07:00
sch_prio.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_red.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_sfq.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_tbf.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
sch_teql.c Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
simple.c [PKT_SCHED]: Eliminate unnecessary includes in simple.c 2005-04-25 12:15:01 -07:00