From: Stephen Hemminger Date: Fri, 05 May 2006 17:15:38 +0000 Subject: [LARTC] Re: [Netem] where i can find this netem patch? Message-Id: <20060505101538.5dfc5021@localhost.localdomain> List-Id: References: <444FF846.7050600@cmu.edu> <32923.128.2.140.234.1146187103.squirrel@128.2.140.234> <20060428102421.7d304ca6@localhost.localdomain> <445B6A67.7020809@cmu.edu> In-Reply-To: <445B6A67.7020809@cmu.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: George Nychis Cc: netdev@vger.kernel.org, lartc@mailman.ds9a.nl, netem@osdl.org On Fri, 05 May 2006 11:08:23 -0400 George Nychis 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% _______________________________________________ LARTC mailing list LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc