| To: | Patrick McHardy <kaber@xxxxxxxxx> |
|---|---|
| Subject: | Re: [PATCH] netem: restart device after inserting packets |
| From: | Stephen Hemminger <shemminger@xxxxxxxx> |
| Date: | Mon, 13 Dec 2004 11:08:28 -0800 |
| Cc: | "David S. Miller" <davem@xxxxxxxxxxxxx>, netem@xxxxxxxx, netdev@xxxxxxxxxxx |
| In-reply-to: | <41B91901.3070304@trash.net> |
| Organization: | Open Source Development Lab |
| References: | <20041208123103.4cc6b005@dxpl.pdx.osdl.net> <20041208210031.63f0963f.davem@davemloft.net> <41B91901.3070304@trash.net> |
| Sender: | netdev-bounce@xxxxxxxxxxx |
On Fri, 10 Dec 2004 04:33:21 +0100 Patrick McHardy <kaber@xxxxxxxxx> wrote: > David S. Miller wrote: > > >On Wed, 8 Dec 2004 12:31:03 -0800 > >Stephen Hemminger <shemminger@xxxxxxxx> wrote: > > > > > >>The version of netem in 2.6.10 moves packets from the delayed queue > >>to the qdisc in a timer interrupt. But it forgot to force the device to > >>pick them up. > >> > >>Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx> > >> > > > >Good spotting. Applied, thanks Stephen. > > > The patch is incomplete, netem may dequeue multiple packets from > the delayed queue at once and feed them to the inner queue, but > qdisc_restart will only dequeue one packet from the inner queue. > This patch moves qdisc_run back to include/net/pkt_sched.h and > replaces qdisc_restart by qdisc_run in netem_watchdog. Yes, I wasn't running big enough delays to notice. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [openib-general] [PATCH][v3][17/21] Add IPoIB (IP-over-InfiniBand) driver, Roland Dreier |
|---|---|
| Next by Date: | Re: 2.4.28 neighbour/arp problem, mmadore |
| Previous by Thread: | Re: [PATCH] netem: restart device after inserting packets, Patrick McHardy |
| Next by Thread: | Re: [PATCH] netem: restart device after inserting packets, David S. Miller |
| Indexes: | [Date] [Thread] [Top] [All Lists] |