Using ALTQ without PF in FreeBSD

Max Laier max at love2party.net
Mon May 12 15:23:08 UTC 2008


Diego,

please don't top post!

On Monday 12 May 2008 16:06:16 Diego Salvador wrote:
> Thanks for your reply and explanation! I now understand why ALTQ is in
> PF-mode. What are the things needed to be done in order ALTQ to be
> SMPng compliant?

I haven't looked at the classifier code in a while.  But IIRC it is a 
mess.  I don't remember the details, but I'd stay away from it.  That 
aside, what's wrong with the existing solutions?

>                  What is the use of the option ALTQ_NOPCC in the 
> kernel? This is described to be used for SMP kernels?

This is something completely different.  It simply tells ALTQ to not use 
the TSC for timing directly as it might not be in sync on SMP boxes.

>                                                       Yes, I will look 
> also on the pfil(9).

This is the right solution, though I really think that either PF or IPFW 
can do what you need.  If not, please be more specific about what your 
goal is.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News


More information about the freebsd-pf mailing list