netdev
[Top] [All Lists]

Re: [PATCH] netem: account for packets in delayed queue in qlen

To: Stephen Hemminger <shemminger@xxxxxxxx>
Subject: Re: [PATCH] netem: account for packets in delayed queue in qlen
From: "David S. Miller" <davem@xxxxxxxxxxxxx>
Date: Thu, 31 Mar 2005 20:36:05 -0800
Cc: netdev@xxxxxxxxxxx
In-reply-to: <20050329152110.38d50653@xxxxxxxxxxxxxxxxx>
References: <20050329152110.38d50653@xxxxxxxxxxxxxxxxx>
Sender: netdev-bounce@xxxxxxxxxxx
On Tue, 29 Mar 2005 15:21:10 -0800
Stephen Hemminger <shemminger@xxxxxxxx> wrote:

> Netem has a private queue for delayed packets, and currently, packets
> in this queue are not accounted for in the qdisc qlen statistics.
> This is a problem if netem is used inside another qdisc doing rate
> control that peeks at the qlen.
> 
> This patch changes the statistics to include the packets held but
> not ready to send.
> 
> Signed-off-by: Stephen Hemminger <shemminger@xxxxxxxx>

Both 2.4.x and 2.6.x variants applied, thanks Stephen.

<Prev in Thread] Current Thread [Next in Thread>