Re: tc/tcng default config

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

>To say this back to make sure I understand; I do not need to wipe my
>configuration and implement a configuration that matches the default
>one, rather deleting the top-most parent will delete all the children
>and roll back to the way it was originally before I ran any tc
>commands?

Yes.

>> If you use ifb and ingress qdiscs, cleanup may get a bit more
>> complicated.
>And this would imply that it is not trivial to overwrite the current
>config with a default one?

If you use ingress qdisc on $IF and redirect incoming traffic to $IFB
and shape traffic on in, then you need to do following for cleanup:

tc qdisc del dev $IF ingress
tc qdisc del dev $IFB root

One piece of advice. There were some problems with kernel stability on
SMP systems doing shaping:
http://lkml.indiana.edu/hypermail/linux/kernel/0711.0/2183.html

>From my profesional experience kernels >=2.6.28.10 are not affected.

Regards,
Marek
--
To unsubscribe from this list: send the line "unsubscribe netfilter" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Netfilter Development]     [Linux Kernel Networking Development]     [Netem]     [Berkeley Packet Filter]     [Linux Kernel Development]     [Advanced Routing & Traffice Control]     [Bugtraq]

  Powered by Linux