Skip to contentSkip to conversation

pfifo_fast error message

LARTC Victor Yeo 4 participants 5 messages May 6, 2005 – May 11, 2005

lore
Share & tools
lore
#1 lore raw

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

Quoted 12 lines · 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.

Quoted 7 lines

victor

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

author
#2 lore raw
In reply to 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: <[email protected]>
Cc: "Victor Yeo" <[email protected]>
Sent: Monday, May 09, 2005 12:45 AM
Subject: Re: [LARTC] pfifo_fast error message

Quoted 1 line

What for? I'ts already there - it's the default qdisc when there's no

other

Quoted 4 lines

assigned. So to set eth0 qdisc to pfifo_fast you just need to (as root of course)
#tc qdisc del root dev eth0

Quoted 26 lines

check with
#tc qdisc show dev eth0

Martin

Quoted 19 lines · 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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

_______________________________________________
LARTC mailing list
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#3 lore raw
In reply to Victor Yeo
Quoted 7 lines · 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

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

#4 lore raw
In reply to Victor Yeo
Quoted 12 lines · gypsy
Quoted 8 lines · 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

Quoted 10 lines

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
[email protected]
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc