Thread (5 messages) flat view 5 messages, 2 authors, 2021-12-07

Re: [PATCH iproute2-next] tc: Add support for ce_threshold_value/mask in fq_codel

From: Toke Høiland-Jørgensen <hidden>
Date: 2021-12-07 17:47:00

David Ahern [off-list ref] writes:
[ vger seems to be having problems; just received this ]

On 12/5/21 3:03 PM, Toke Høiland-Jørgensen wrote:
quoted
David Ahern [off-list ref] writes:
quoted
On 11/23/21 1:13 PM, Toke Høiland-Jørgensen wrote:
quoted
Commit dfcb63ce1de6 ("fq_codel: generalise ce_threshold marking for subset
of traffic") added support in fq_codel for setting a value and mask that
will be applied to the diffserv/ECN byte to turn on the ce_threshold
feature for a subset of traffic.

This adds support to tc for setting these values. The parameter is
called ce_threshold_selector and takes a value followed by a
slash-separated mask. Some examples:

 # apply ce_threshold to ECT(1) traffic
 tc qdisc replace dev eth0 root fq_codel ce_threshold 1ms ce_threshold_selector 0x1/0x3

 # apply ce_threshold to ECN-capable traffic marked as diffserv AF22
 tc qdisc replace dev eth0 root fq_codel ce_threshold 1ms ce_threshold_selector 0x50/0xfc

Signed-off-by: Toke Høiland-Jørgensen <redacted>
---
 tc/q_fq_codel.c | 40 ++++++++++++++++++++++++++++++++++++++++
 1 file changed, 40 insertions(+)
please re-send with an update to
With an update to? :)
... man page.
Ah yes, of course; will do!

-Toke
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help