>I think there is a small bug in tc from iproute2-2.2.4-now-ss990417,
>which makes impossible to set the priomap parameter of the prio qdisc.
>The patch is as follows:

This patch is wrong (i.e the code is fine as is).
By default there is a three band scheduler (pmap_mode=0). You can
over-ride it to have more bands by using the "priomap" construct
(pmap_mode=1). 

> [..]
> Can this be done using fwmark classifier and prio qdisc (maybe with
>TBF attached to band 1 and 2? I have packet filter on this host anyway,
>so I prefer to do it by fwmarks instead of e.g. u32.
>

Yes -- it can be done. Override the 3 bands to 4; attach TBF to the
classes you want; use ipchains to do the  marking (at any spot where a
chain can be attached) and classify using the fw classifier on the
egress to direct packets to the appropriate class.

cheers,
jamal

-
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to [EMAIL PROTECTED]

Reply via email to