[pf4freebsd] Re: pf 3.5 + ALTQ import / Looking for beta testers and altq drivers

Max Laier max at love2party.net
Wed Sep 15 21:03:58 PDT 2004


On Thursday 20 May 2004 10:32, Mathieu Arnold wrote:
> +-le 20/05/2004 01:48 +0200, Max Laier écrivait :
> |> -- Binary/unsupported file stripped by Ecartis --
> |> -- Type: text/x-diff
> |> -- File: if_ste.c.diff
> |
> | time for freebsd-pf at freebsd.org it seems ... :-( meanwhile I have put the
> | diff  on the webpage as well. http://people.freebsd.org/~mlaier/
>
> Looking at this patch, I've been wondering if it'd be hard to add altq to
> em ? :-)

Generally it's not very hard. If the rofug.ro patchset does not provide 
patches already I suggest that you look at: 
http://www.csl.sony.co.jp/person/kjc/kjc/software/altq-new-design.txt

"4 How to convert the existing drivers" is a list of very simple "search for 
FOO and replace it with BAR" examples. It usually boils down to searching for 
"if_snd" and picking the right replacement from the list. Reading the whole 
thing is of course suggested ...

For FreeBSD 5.x you have to take the locking into account. Look at Pyun's em 
patches, there is an example for that and there are more in the rofug.ro 
patchset.

For some drivers it's not that easy, if you run into problems ... please, let 
me know.

-- 
Best regards,				| mlaier at freebsd.org
Max Laier				| ICQ #67774661
http://pf4freebsd.love2party.net/	| mlaier at EFnet




More information about the freebsd-pf mailing list