Subject: Re: if_qflush()/IFQ_PURGE()
To: Charles M. Hannum <root@ihack.net>
From: None <itojun@iijlab.net>
List: tech-net
Date: 12/19/2000 16:28:53
we really need to talk with kjc@csl.sony.co.jp. we should not
add differences with master ALTQ tree, we need to keep it very
easy to upgrade ALTQ portion.
>> to migrate to ALTQ gradually, we need to kee if_qflush() until
>> all the drivers are rewritten. if_qflush() certainly works for
>> non-ALTQ drivers (correct me if i'm wrong).
>Okay, that may be. However, it's quite dangerous to leave an
>interface there that will break if it's used -- and it seems clear
>that people want to ALTQify everything *.
if we are done with transition, i think it make sense.
>> not sure i understand the concern, but IFQ_PURGE() may be
>> expanded into ALTQ_PURGE().
>No, it is never `expanded into ALTQ_PURGE()'. It is expanded into
>some big conditional which *may* do an ALTQ_PURGE(). My point was
>that test could just as well go in if_qflush(). There is no reason to
>have an inlined macro for it at all. Actually, it's a waste of space.
hmm.
itojun