[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <50214222-779D-4C49-9151-C725C8F470D5@gmail.com>
Date: Thu, 28 May 2009 07:12:33 +0200
From: Piotr DuszyĆski <regis44@...il.com>
To: netdev@...r.kernel.org
Subject: changing the qdisc class speed rate
Hi everyone,
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 anyone have any idea what am I doing wrong ? Maybe there would
be a faster way by sending a netlink message ?
Piotrek
--
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