netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Stephen Hemminger <shemminger@osdl.org>
To: George Nychis <gnychis@cmu.edu>
Cc: netdev@vger.kernel.org, lartc@mailman.ds9a.nl, netem@osdl.org
Subject: Re: [Netem] where i can find this netem patch?
Date: Fri, 5 May 2006 10:15:38 -0700	[thread overview]
Message-ID: <20060505101538.5dfc5021@localhost.localdomain> (raw)
In-Reply-To: <445B6A67.7020809@cmu.edu>

On Fri, 05 May 2006 11:08:23 -0400
George Nychis <gnychis@cmu.edu> wrote:

> Hi,
> 
> I need help finding this patch that Stephen made.
> 
> He sent me a patch, but i do not think its related to the patch that
> solved this problem.  I will include the patch he did forward to me at
> the bottom.

 
> However here is the problem, i even rtied his misspelling of change :)
>
> thorium-ini 15849-tests # tc qdisc add dev ath0 root handle 1:0 netem
> drop 0%
> thorium-ini 15849-tests # tc qdisc add dev ath0 parent 1:1 handle 10:
> xcp capacity 54Mbit limit 500
> thorium-ini 15849-tests # tc qdisc change dev ath0 root handle 1:0 netem
> drop 1%
> RTNETLINK answers: Invalid argument
>

The problem was you are giving handle 1:0 so the change request was
going to xcp. And xcp doesn't understand netem rtnetlink message.

You want to do:
# tc qdisc change dev ath0 root netem drop 1%


      reply	other threads:[~2006-05-05 17:15 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-26 22:46 how to change classful netem loss probability? George Nychis
2006-04-28  1:18 ` [LARTC] " George P Nychis
2006-04-28 17:24   ` Stephen Hemminger
2006-05-04 23:35     ` George P Nychis
2006-05-05 15:08     ` where i can find this netem patch? George Nychis
2006-05-05 17:15       ` Stephen Hemminger [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=20060505101538.5dfc5021@localhost.localdomain \
    --to=shemminger@osdl.org \
    --cc=gnychis@cmu.edu \
    --cc=lartc@mailman.ds9a.nl \
    --cc=netdev@vger.kernel.org \
    --cc=netem@osdl.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).