Re: qdisc_enqueue, NET_XMIT_SUCCESS and kfree_skb
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-08-19 13:11:48
From: Herbert Xu <herbert@gondor.apana.org.au>
Date: 2008-08-19 13:11:48
On Tue, Aug 19, 2008 at 03:08:57PM +0200, Patrick McHardy wrote:
quoted
Another possibility would to replace requeue by a peek+force_dequeue interface, where you can peek at the next packet, and you could then dequeue that particular packet if you're satisfied.That would be fine for TBF since it only needs to check whether the current packet exceeds the limit and reschedule otherwise. HFSC OTOH really needs to know the length of the next packet for calculating the deadline.
You mean a peek interface is insufficient for HFSC? Could you elaborate? Thanks, -- Visit Openswan at http://www.openswan.org/ Email: Herbert Xu ~{PmV>HI~} [off-list ref] Home Page: http://gondor.apana.org.au/~herbert/ PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt