Re: txqueuelen has wrong units; should be time

From: Eric Dumazet
Date: Tue Mar 01 2011 - 00:37:10 EST


Le mardi 01 mars 2011 Ã 06:01 +0100, Eric Dumazet a Ãcrit :
> Le lundi 28 fÃvrier 2011 Ã 23:11 -0500, Albert Cahalan a Ãcrit :
>
> > It sounds like you need a callback or similar, so that TCP can be
> > informed later that the drop has occurred.
>
> There is the thing called skb destructor / skb_orphan() mess, that is
> not stackable... Might extend this to something more clever, and be able
> to call functions (into TCP stack for example) giving a status of skb :
> Sent, or dropped somewhere in the stack...
>

One problem of such schem is the huge extra cost involved, extra
locking, extra memory allocations, extra atomic operations...



--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/