netfilter.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Marek Kierdelewicz <marek@piasta.pl>
To: Bob Miller <bob@computerisms.ca>
Cc: netfilter@vger.kernel.org
Subject: Re: tc/tcng default config
Date: Mon, 19 Apr 2010 09:02:57 +0200	[thread overview]
Message-ID: <20100419090257.6d7c8aa5@catlap> (raw)
In-Reply-To: <1271639077.29385.11021.camel@laplaplian>

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

      reply	other threads:[~2010-04-19  7:02 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-18 21:16 tc/tcng default config Bob Miller
2010-04-18 21:47 ` Marek Kierdelewicz
2010-04-19  1:04   ` Bob Miller
2010-04-19  7:02     ` Marek Kierdelewicz [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20100419090257.6d7c8aa5@catlap \
    --to=marek@piasta.pl \
    --cc=bob@computerisms.ca \
    --cc=netfilter@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).