From: John Fastabend <john.fastabend@gmail.com>
To: Jamal Hadi Salim <jhs@mojatatu.com>
Cc: Cong Wang <xiyou.wangcong@gmail.com>, netdev <netdev@vger.kernel.org>
Subject: tc rsvp filter show broke
Date: Fri, 26 Sep 2014 10:41:25 -0700 [thread overview]
Message-ID: <5425A545.1040907@gmail.com> (raw)
Hi Jamal,
Here is another strange 'tc' result that I think is a
bug. If it was intended I can't see why. Show filter
commands on rsvp classifiers only list the first entry?
# for i in {10..20}; do
tc filter add dev p3p2 protocol ip parent 8001: prio $i \
rsvp session 12.0.0.$i ipproto udp classid 1:$i;
done
# tc filter show dev p3p2
filter parent 8001: protocol ip pref 10 rsvp
# tc filter show dev p3p2 prio 11
filter parent 8001: protocol ip rsvp
# tc filter show dev p3p2 prio 22
Although the entries must still be around because listing
the prio explicitly show the entries. Also the case where
the prio doesn't exist returns without any errors. A better
response might be 'EINVAL' or something.
This is on 3.16 so nothing to do with my changes. I'm
not sure I'll get a chance until Monday to look at it
so figured I'll document it here in case someone else has
a moment.
Thanks,
John
--
John Fastabend Intel Corporation
next reply other threads:[~2014-09-26 17:41 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-09-26 17:41 John Fastabend [this message]
2014-09-26 22:48 ` tc rsvp filter show broke Jamal Hadi Salim
2014-09-26 23:25 ` John Fastabend
2014-09-28 15:05 ` Jamal Hadi Salim
2014-09-28 17:15 ` Cong Wang
2014-09-28 17:50 ` John Fastabend
2014-09-28 18:48 ` Jamal Hadi Salim
2014-09-29 1:40 ` Cong Wang
2014-09-29 5:34 ` John Fastabend
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=5425A545.1040907@gmail.com \
--to=john.fastabend@gmail.com \
--cc=jhs@mojatatu.com \
--cc=netdev@vger.kernel.org \
--cc=xiyou.wangcong@gmail.com \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.