From: "John A. Sullivan III" <jsullivan@opensourcedevel.com>
To: netdev@vger.kernel.org
Subject: PRIO qdisc classes and filters
Date: Sat, 24 Dec 2011 14:36:33 -0500 [thread overview]
Message-ID: <1324755393.3200.31.camel@denise.theartistscloset.com> (raw)
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
reply other threads:[~2011-12-24 19:36 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1324755393.3200.31.camel@denise.theartistscloset.com \
--to=jsullivan@opensourcedevel.com \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox