[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20080826074702.GA1102@gondor.apana.org.au>
Date: Tue, 26 Aug 2008 17:47:02 +1000
From: Herbert Xu <herbert@...dor.apana.org.au>
To: Stephen Hemminger <shemminger@...tta.com>
Cc: David Miller <davem@...emloft.net>, jarkao2@...il.com,
netdev@...r.kernel.org, denys@...p.net.lb,
Jussi Kivilinna <jussi.kivilinna@...et.fi>
Subject: Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
On Tue, Aug 26, 2008 at 05:35:08PM +1000, Herbert Xu wrote:
> On Sun, Aug 24, 2008 at 08:29:22PM -0400, Stephen Hemminger wrote:
> >
> > But then you couldn't replace tfifo with pfifo or tbf??
>
> Couldn't the user install TBF as a parent of netem instead?
In fact, having tfifo there all the time gives us something
that we couldn't do before. Conceptually, whether TBF is above
or below netem corresponds to a network topology where the shaping
occurs after or before the segment that netem is simulating,
respectively.
If you actually replaced tfifo with TBF (as we do now), then the
shaping always occurs after the segment simulated by netem. That
is, this is pretty much the same as having TBF as the parent.
BTW, the use of the CB area conflicts with the new pkt_len stuff
so either netem or the pkt_len code needs to be fixed.
Cheers,
--
Visit Openswan at http://www.openswan.org/
Email: Herbert Xu ~{PmV>HI~} <herbert@...dor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists