Re: Errors with GRED after upgrading to 2.6.18 kernel

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Flechsenhaar, Jon J wrote:
ALL:


<<diffserv-gred_10-06>> I have attached the current script that I am using.
$TC qdisc add dev $EDEV parent 2:20 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:20 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:20 gred DP 2 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.04 prio 3
$TC qdisc change dev $EDEV parent 2:20 gred DP 3 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.06 prio 4
### GRED for AF2

$TC qdisc add dev $EDEV parent 2:30 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:30 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:30 gred DP 2 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.04 prio 3
$TC qdisc change dev $EDEV parent 2:30 gred DP 3 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.06 prio 4
### GRED for AF3

$TC qdisc add dev $EDEV parent 2:40 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:40 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:40 gred DP 2 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.04 prio 3
$TC qdisc change dev $EDEV parent 2:40 gred DP 3 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.06 prio 4
### GRED for AF4

$TC qdisc add dev $EDEV parent 2:50 gred setup DPs 3 default 2 grio
$TC qdisc change dev $EDEV parent 2:50 gred DP 1 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.02 prio 2
$TC qdisc change dev $EDEV parent 2:50 gred DP 2 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.04 prio 3
$TC qdisc change dev $EDEV parent 2:50 gred DP 3 limit $lim min $minTh
max $maxTh avpkt $avgPL burst $bursty bandwidth $netBand probability
0.06 prio 4

Each DP3 line gives me an error.  If I comment it out the error goes
away. The line translates to below.
I get an error with the following line
++ /usr/sbin/tc qdisc change dev eth0 parent 2:20 gred DP 3 limit 60kb
min 10kb max 20kb avpkt 1500 burst 9 bandwidth 500kbit probability 0.06
prio 4 RTNETLINK answers: Invalid argument

after each DP 3 on each gred.

This starting happening after I upgraded to 2.6.18 from 2.4.20 kernel.
Anyone have any ideas?

I would ask on netdev about this one - I don't use GRED - the last changes I can remember were by Thomas Graf, I don't think he lurks here anymore.

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

[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux