From mboxrd@z Thu Jan 1 00:00:00 1970 From: bert hubert Date: Sun, 09 Dec 2001 14:40:27 +0000 Subject: Re: [LARTC] Re: further CBQ/tc documentation ds9a.nl/lartc/manpages Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: lartc@vger.kernel.org On Sun, Dec 09, 2001 at 12:38:21PM +0100, Henrik Nordstrom wrote: > You need to specify the correct arguments to the qdisc you are adding.. I.e. > the same command as adding that qdisc as the root qdisc, but replace root by > ingress. > > tc qdisc add dev eth0 ingress tbf rate 220kbit latency 50ms burst 1540 > > qdisc tbf ffff: dev eth0 rate 220Kbit burst 1407b lat 2147.5s > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > > But as I said it does not seem to ever be used. This appears to be a bug - which version of tc are you using? I think in fact tc just added an egress tbf - you can't specify *any* qdisc as an ingress qdisc except for the bare one, like Jamal does below: (jamal *wrote* the ingress qdisc, he should know) > > I cant seem to get it to work; > > ------- > > [root@jzny tc]# ./tc qdisc add dev lo handle ffff: ingress tbf > > RTNETLINK answers: Invalid argument > > [root@jzny tc]# ./tc qdisc add dev lo handle ffff: ingress > > [root@jzny tc]# tc -s qdisc > > qdisc ingress ffff: dev lo > > Sent 0 bytes 0 pkts (dropped 0, overlimits 0) > > -------- > > > > What is the full command? > > can you try tc -s qdisc after you add it ? Regards, bert -- http://www.PowerDNS.com Versatile DNS Software & Services Trilab The Technology People Netherlabs BV / Rent-a-Nerd.nl - Nerd Available - 'SYN! .. SYN|ACK! .. ACK!' - the mating call of the internet _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://ds9a.nl/lartc/