Hello
I have problem with wrr and more than 1300
classes
when i try to add qdisc like:
tc qdisc add dev imq1 parent 1:21 handle 1000: wrr
dest ip 1512 0
then i have a message like:
RTNETLINK answers: Cannot allocate
memory
And some other problem:
When I do more than 2048 filters I have message
like:
Classes:
tc class add dev imq1 parent 1:1 classid
1:9 htb rate 1024kbit ceil 2048kbit
..
tc class add dev imq1 parent 1:1 classid
1:10 htb rate 1024kbit ceil 2048kbit
...
...
...
tc class add dev imq1 parent 1:1 classid
1:2048 htb rate 1024kbit ceil 2048kbit
tc class add dev imq1 parent 1:1 classid 1:2049 htb rate 1024kbit ceil
2048kbit
tc class add dev imq1 parent 1:1 classid 1:2050 htb rate 1024kbit ceil
2048kbit
Filters:
tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip
dst 1.1.1.1 flowid 1:9
..
tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip
dst 1.1.1.1 flowid 1:10
...
...
...
tc filter add dev imq1 parent 1:0 protocol ip prio 2 u32 match ip
dst 1.1.1.1 flowid 1:2048
RTNETLINK answers: File exist
tc filter add dev imq1 parent 1:0 protocol ip prio
2 u32 match ip dst 1.1.1.1 flowid 1:2049
RTNETLINK answers: File exist
tc filter add dev imq1 parent 1:0 protocol ip prio
2 u32 match ip dst 1.1.1.1 flowid 1:2050
RTNETLINK answers: File exist
So classes are added corectly but filters not. WHY ....
Please help me
Regards
Paweł Staszewski |