Cake - FQ_codel the next generation
 help / color / mirror / Atom feed
* [Cake] [PATCH net] sch_cake: diffserv8 CS1 should be bulk
@ 2022-01-25  6:04 Matt Johnston
  2022-01-25 10:58 ` Toke Høiland-Jørgensen
  0 siblings, 1 reply; 8+ messages in thread
From: Matt Johnston @ 2022-01-25  6:04 UTC (permalink / raw)
  Cc: Kevin Darbyshire-Bryant, Toke Høiland-Jørgensen,
	David S . Miller, Jakub Kicinski, netdev, cake

The CS1 priority (index 0x08) was changed from 0 to 1 when LE (index
0x01) was added. This looks unintentional, it doesn't match the
docs and CS1 shouldn't be the same tin as AF1x

Signed-off-by: Matt Johnston <matt@codeconstruct.com.au>
Fixes: b8392808eb3f ("sch_cake: add RFC 8622 LE PHB support to CAKE diffserv handling")
---
 net/sched/sch_cake.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net/sched/sch_cake.c b/net/sched/sch_cake.c
index 857aaebd49f4..6ff2ddc5b812 100644
--- a/net/sched/sch_cake.c
+++ b/net/sched/sch_cake.c
@@ -313,7 +313,7 @@ static const u8 precedence[] = {
 
 static const u8 diffserv8[] = {
 	2, 0, 1, 2, 4, 2, 2, 2,
-	1, 2, 1, 2, 1, 2, 1, 2,
+	0, 2, 1, 2, 1, 2, 1, 2,
 	5, 2, 4, 2, 4, 2, 4, 2,
 	3, 2, 3, 2, 3, 2, 3, 2,
 	6, 2, 3, 2, 3, 2, 3, 2,
-- 
2.32.0


^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2022-01-28  4:31 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25  6:04 [Cake] [PATCH net] sch_cake: diffserv8 CS1 should be bulk Matt Johnston
2022-01-25 10:58 ` Toke Høiland-Jørgensen
2022-01-25 11:54   ` Sebastian Moeller
2022-01-27  3:14     ` Matt Johnston
2022-01-27 16:00       ` Sebastian Moeller
2022-01-28  4:31         ` Matt Johnston
2022-01-27  9:00   ` Kevin 'ldir' Darbyshire-Bryant
2022-01-27 16:02     ` Sebastian Moeller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox