From: "Toke Høiland-Jørgensen" <toke@toke.dk>
To: Dave Taht <dave.taht@gmail.com>, Jonathan Morton <chromatix99@gmail.com>
Cc: Cake List <cake@lists.bufferbloat.net>
Subject: Re: [Cake] Backporting 'tc class' support
Date: Mon, 16 Jul 2018 11:24:55 +0200 [thread overview]
Message-ID: <87r2k37ct4.fsf@toke.dk> (raw)
In-Reply-To: <CAA93jw5xhhO3qYwXCw5i+RuVUhiGY4AXzE1v-1JfWAW8GX2p6Q@mail.gmail.com>
Dave Taht <dave.taht@gmail.com> writes:
> I am curious if the new tc class support would allow for recognizing
> sebastian's desire to have the llc (?) dsl control packets moved to
> the higher priority tin?
>
> Similarly, there were other things in early-sqm (like deprioritizing
> ping, prioritizing dns) that I liked, but disliked using iptables to
> use.
You can write a tc filter in BPF, which allows you to do arbitrary
matching on packet data... So as long as the packets go through the
qdisc, the answer would be yes :)
> lastly, the hopelessly overloaded skb->priority field is hopefully
> still not recognized for anything that actually sets skb->priority
> naively?
CAKE will only react to the priority field if the upper 16 bits match
the major number of the qdisc; so anything that sets priority has to
know about the qdisc configuration for it to stick...
-Toke
next prev parent reply other threads:[~2018-07-16 9:25 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-07-14 21:50 Toke Høiland-Jørgensen
2018-07-15 0:48 ` Kevin Darbyshire-Bryant
2018-07-15 9:48 ` Toke Høiland-Jørgensen
2018-07-15 20:13 ` Kevin Darbyshire-Bryant
2018-07-15 20:23 ` Toke Høiland-Jørgensen
2018-07-15 22:41 ` Kevin Darbyshire-Bryant
2018-07-16 2:09 ` Jonathan Morton
2018-07-16 4:00 ` Dave Taht
2018-07-16 9:24 ` Toke Høiland-Jørgensen [this message]
2018-07-16 9:30 ` Toke Høiland-Jørgensen
2018-07-16 9:57 ` Jonathan Morton
2018-07-16 10:18 ` Toke Høiland-Jørgensen
2018-07-16 12:06 ` Georgios Amanakis
2018-07-16 12:28 ` Toke Høiland-Jørgensen
2018-07-16 12:44 ` Kevin Darbyshire-Bryant
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
List information: https://lists.bufferbloat.net/postorius/lists/cake.lists.bufferbloat.net/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87r2k37ct4.fsf@toke.dk \
--to=toke@toke.dk \
--cc=cake@lists.bufferbloat.net \
--cc=chromatix99@gmail.com \
--cc=dave.taht@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox