[pf4freebsd] Re: Implementing altq
Bruno Afonso
brunomiguel at dequim.ist.utl.pt
Wed Sep 15 21:08:25 PDT 2004
Brent Bolin wrote:
> Current kernel config only contains this -
>
> options PFIL_HOOKS # pfil(9) framework
> options RANDOM_IP_ID
>
> It is loaded as a module.
>
> Do I need to add these to the kernel config for altq -
>
> http://people.freebsd.org/~mlaier
>
> An ALTQ kernel must include the following additional options:
> options ALTQ
> options ALTQ_CBQ # Class Bases Queueing
> options ALTQ_RED # Random Early Drop
> options ALTQ_RIO # RED In/Out
> options ALTQ_HFSC # Hierarchical Packet Scheduler
> options ALTQ_CDNR # Traffic conditioner
> options ALTQ_PRIQ # Prioirity Queueing
> options ALTQ_NOPCC # Required for SMP build
>
> Or can altq be loaded as a module also ?
I don't think so, at least, not at the present time.
> This same page also has a number of patches for different NIC's. Do they
> need to be patched if cvsup is Current ?
>
> Interface cards are xl and rl
>
> How do I install patches ?
You need to patch them yes.
Example for fxp:
1) Find the correct dir for the driver. Ex: cd /usr/src/sys/dev/fxp/
2) fetch the patch
3) apply the patch: patch -p0 < if_fxp.c.patch
4) recompile kernel and reboot.
If you're using modules, you only need to recompile the module I guess.
Hope it all works out ok. :-)
--
Bruno Miguel Afonso
Biological Eng. student
D.E.Q. @ I.S.T. - Portugal
GnuPG Public key: http://dequim.ist.utl.pt/~bruno/gpg
More information about the freebsd-pf
mailing list