[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <620d582f0905282241n1b1dd47anb27c6a377161e751@mail.gmail.com>
Date: Fri, 29 May 2009 07:41:34 +0200
From: Piotrek D <regis44@...il.com>
To: Eric Dumazet <eric.dumazet@...il.com>
Cc: netdev@...r.kernel.org
Subject: Re: HTB class parameter change
Sorry for double posting. I haven't noticed the previous reply.
Piotrek
2009/5/28 Eric Dumazet <eric.dumazet@...il.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 ?
>
>
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists