Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
* [LARTC] pfifo_fast error message
@ 2005-05-06  9:29 Victor Yeo
  2005-05-08 16:45 ` Marcin Kałuża
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Victor Yeo @ 2005-05-06  9:29 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] pfifo_fast error message
  2005-05-06  9:29 [LARTC] pfifo_fast error message Victor Yeo
@ 2005-05-08 16:45 ` Marcin Kałuża
  2005-05-09  5:34 ` Victor Yeo
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Marcin Kałuża @ 2005-05-08 16:45 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] pfifo_fast error message
  2005-05-06  9:29 [LARTC] pfifo_fast error message Victor Yeo
  2005-05-08 16:45 ` Marcin Kałuża
@ 2005-05-09  5:34 ` Victor Yeo
  2005-05-11  4:06 ` gypsy
  2005-05-11  4:10 ` Stephen Hemminger
  3 siblings, 0 replies; 5+ messages in thread
From: Victor Yeo @ 2005-05-09  5:34 UTC (permalink / raw)
  To: lartc

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" <marcin_ml@sekretarka.no-ip.org>
To: <lartc@mailman.ds9a.nl>
Cc: "Victor Yeo" <yeosv@ndc.com.tw>
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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] pfifo_fast error message
  2005-05-06  9:29 [LARTC] pfifo_fast error message Victor Yeo
  2005-05-08 16:45 ` Marcin Kałuża
  2005-05-09  5:34 ` Victor Yeo
@ 2005-05-11  4:06 ` gypsy
  2005-05-11  4:10 ` Stephen Hemminger
  3 siblings, 0 replies; 5+ messages in thread
From: gypsy @ 2005-05-11  4:06 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [LARTC] pfifo_fast error message
  2005-05-06  9:29 [LARTC] pfifo_fast error message Victor Yeo
                   ` (2 preceding siblings ...)
  2005-05-11  4:06 ` gypsy
@ 2005-05-11  4:10 ` Stephen Hemminger
  3 siblings, 0 replies; 5+ messages in thread
From: Stephen Hemminger @ 2005-05-11  4:10 UTC (permalink / raw)
  To: lartc

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

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2005-05-11  4:10 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-06  9:29 [LARTC] pfifo_fast error message Victor Yeo
2005-05-08 16:45 ` Marcin Kałuża
2005-05-09  5:34 ` Victor Yeo
2005-05-11  4:06 ` gypsy
2005-05-11  4:10 ` Stephen Hemminger

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox