PRIO qdisc classes and filters

From: John A. Sullivan III <hidden>
Date: 2011-12-24 19:36:37

Hello, all.  Sorry for such pestering; I really do spend a lot of time
in Internet research before posting believe it or not!

Is it my imagination or is it not possible to attach a filter to a PRIO
qdisc class? I only succeed in attaching filters to root or the qdisc
itself.

tc qdisc add dev eth1 root handle 2: prio bands 2 priomap 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
root@testswitch01:~# tc filter add dev eth1 parent 2:2 protocol ip prio 1 u32 match u32 0 0 flowid 1:1
RTNETLINK answers: Invalid argument
We have an error talking to the kernel
root@testswitch01:~# tc filter add dev eth1 parent 2:0 protocol ip prio 1 u32 match u32 0 0 flowid 1:0
root@testswitch01:~# tc filter del dev eth1 parent 2:0 protocol ip prio 1 u32 match u32 0 0 flowid 1:0
root@testswitch01:~# tc filter add dev eth1 parent 2:1 protocol ip prio 1 u32 match u32 0 0 flowid 1:0
RTNETLINK answers: Invalid argument
We have an error talking to the kernel

I am trying to use PRIO simply as a container so that I can apply two
separate filters to the same traffic.  Thanks - John
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help