Subject: Re: if_qflush()/IFQ_PURGE()
To: Charles M. Hannum <root@ihack.net>
From: Jason R Thorpe <thorpej@zembu.com>
List: tech-net
Date: 12/19/2000 08:48:19
On Tue, Dec 19, 2000 at 06:53:31AM +0000, Charles M. Hannum wrote:

 > and I find myself wondering `why does if_qflush() even continue to
 > exist when it won't work with ALTQ'?

I've deleted if_qflush().

 > But I've also been wondering why IFQ_PURGE() is inlined at all.  It's
 > not as if it ever occurs in a critical path.  Shouldn't the ALTQ
 > support just go in if_qflush(), and all the users do a function call
 > instead?

What argument does it take?  An ifqueue or an ifaltq?

-- 
        -- Jason R. Thorpe <thorpej@zembu.com>