Re: [LARTC] pfifo_fast error message

2005-05-10 Thread Stephen Hemminger
gypsy wrote:

>Victor Yeo wrote:
>  
>
>>the problem is after i delete the qdisc, and check again, there is nothing
>>being displayed. Is this correct?
>>
>>#tc qdisc del root dev eth0
>>
>>#tc qdisc show dev eth0
>>
>>
>
>tc qdisc show dev eth0 returns:
>
>qdisc pfifo_fast 0: bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1
>
>If you see anything else, then I'd say you have a problem.
>--
>gypsy
>
>  
>
 Older versions of the iproute2 tools didn't know anything about pfifo_fast,
it would even core dump sometimes. This was one of the first bugs I fixed
about a year ago
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] pfifo_fast error message

2005-05-10 Thread gypsy
Victor Yeo wrote:
> 
> the problem is after i delete the qdisc, and check again, there is nothing
> being displayed. Is this correct?
> 
> #tc qdisc del root dev eth0
> 
> #tc qdisc show dev eth0

tc qdisc show dev eth0 returns:

qdisc pfifo_fast 0: bands 3 priomap  1 2 2 2 1 2 0 0 1 1 1 1 1 1 1 1

If you see anything else, then I'd say you have a problem.
--
gypsy
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] pfifo_fast error message

2005-05-08 Thread Victor Yeo
the problem is after i delete the qdisc, and check again, there is nothing
being displayed. Is this correct?

#tc qdisc del root dev eth0

#tc qdisc show dev eth0

- Original Message - 
From: "Marcin Ka?u?a" <[EMAIL PROTECTED]>
To: 
Cc: "Victor Yeo" <[EMAIL PROTECTED]>
Sent: Monday, May 09, 2005 12:45 AM
Subject: Re: [LARTC] pfifo_fast error message


> What for? I'ts already there - it's the default qdisc when there's no
other
> assigned. So to set eth0 qdisc to pfifo_fast you just need to (as root of
> course)
> #tc qdisc del root dev eth0
>
> check with
> #tc qdisc show dev eth0
>
> Martin
>
> On Saturday 07 May 2005 11:27, Victor Yeo wrote:
> > good afternoon,
> >
> > I am a newbie to tc.
> >
> > i want to set qdisc to pfifo_fast, using the command below:
> > % tc qdisc add dev eth0 root pfifo_fast
> > RTNETLINK answers: Invalid argument
> >
> > why am i getting this error message?
> >
> > thanx.
> >
> > victor
> >
> >
> > ___
> > LARTC mailing list
> > LARTC@mailman.ds9a.nl
> > http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
>


___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


Re: [LARTC] pfifo_fast error message

2005-05-08 Thread Marcin Kałuża
What for? I'ts already there - it's the default qdisc when there's no other 
assigned. So to set eth0 qdisc to pfifo_fast you just need to (as root of 
course)
#tc qdisc del root dev eth0

check with
#tc qdisc show dev eth0

Martin

On Saturday 07 May 2005 11:27, Victor Yeo wrote:
> good afternoon,
>
> I am a newbie to tc.
>
> i want to set qdisc to pfifo_fast, using the command below:
> % tc qdisc add dev eth0 root pfifo_fast
> RTNETLINK answers: Invalid argument
>
> why am i getting this error message?
>
> thanx.
>
> victor
>
>
> ___
> LARTC mailing list
> LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc
___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc


[LARTC] pfifo_fast error message

2005-05-06 Thread Victor Yeo
good afternoon,

I am a newbie to tc.

i want to set qdisc to pfifo_fast, using the command below:
% tc qdisc add dev eth0 root pfifo_fast
RTNETLINK answers: Invalid argument

why am i getting this error message?

thanx.

victor


___
LARTC mailing list
LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc