Roel van Meer wrote:
Hi list,
I'm currently implementing a shaping solution based on the hfsc qdisc.
I've seen that the htb qdisc (and others) have a linklayer option, with
which you can compensate for atm cell padding.
The hfsc qdisc does not have such an option. Tc does have a generic stab
option, though. Does anyone know if that is functional with hfsc? E.g.
will the following command provide me with a hfsc root qdisc that
correctly compensates for atm cell padding?*
tc qdisc add dev eth1 stab linklayer atm root handle 1: hfsc
.. or will I have to use htb instead?
Yes, it will work. Don't forget about overhead options. Generally:
tc qdisc add stab help
It will explain all the generic stab options (assuming your tc is recent
enough)
E.g. I have:
... stab overhead -4 mtu 1500 mpu 53 linklayer atm hfsc default ...
in one of the root qdiscs (-4 corresponds to pppoa connection, on behalf
of upstream modem).
--
To unsubscribe from this list: send the line "unsubscribe linux-net" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html