From: Piotrek D <regis44@gmail.com>
To: Eric Dumazet <eric.dumazet@gmail.com>
Cc: netdev@vger.kernel.org
Subject: Re: HTB class parameter change
Date: Fri, 29 May 2009 07:41:34 +0200 [thread overview]
Message-ID: <620d582f0905282241n1b1dd47anb27c6a377161e751@mail.gmail.com> (raw)
In-Reply-To: <4A1EFA1B.2020002@gmail.com>
Sorry for double posting. I haven't noticed the previous reply.
Piotrek
2009/5/28 Eric Dumazet <eric.dumazet@gmail.com>:
> Piotrek D a écrit :
>> HI,
>>
>> I am trying to change the rate parameter of HTB class by using this
>> code from within one of my functions :
>>
>> struct htb_class *cl;
>> cl=htb_find(number,q);
>>
>> cl->rate->rate.rate = NEW_RATE_VALUE;
>>
>> TC shows the correct values, but the traffic rate doesn't change a bit.
>> Does anyboyd have any idea what am I doing wrong ? Maybe there would
>> be a faster way by sending a netlink message ?
>>
>> Piotrek
>
>
> You already asked this 15 hours ago and Stephen replied :
>
> "HTB uses a rate table, so if you want the rate to change, you will need to change the
> table as well."
>
> Did you miss this answer ?
>
>
prev parent reply other threads:[~2009-05-29 5:41 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-05-28 20:47 HTB class parameter change Piotrek D
2009-05-28 20:54 ` Eric Dumazet
2009-05-29 5:41 ` Piotrek D [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=620d582f0905282241n1b1dd47anb27c6a377161e751@mail.gmail.com \
--to=regis44@gmail.com \
--cc=eric.dumazet@gmail.com \
--cc=netdev@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).