DragonFly BSD
DragonFly submit List (threaded) for 2005-02
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Re: ALTQ


From: Joerg Sonnenberger <joerg@xxxxxxxxxxxxxxxxx>
Date: Fri, 11 Feb 2005 14:11:33 +0100
Mail-followup-to: submit@crater.dragonflybsd.org

On Thu, Feb 10, 2005 at 11:35:59AM -0800, Matthew Dillon wrote:
>     And why is the interface code calling IFQ_CLASSIFY ?  Why not have an
>     ifq_enqueue() *function*, a real function, and call IFQ_CLASSIFY
>     *inside* that function?

IFQ_CLASSIFY needs the mbuf *before* e.g. the ethernet header is
prepended. It's not used by the current queue algorithms, but it
is handy enough to warrant the inclusion. I'm working on something
which needs e.g. the IP and that's much more difficult without.

Joerg



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]