General list for discussing Bufferbloat
 help / color / mirror / Atom feed
* [Bloat] what is the correct linux tc u32 match to ignore ecn but preserve tos?
@ 2016-07-28 17:27 Dave Taht
  2016-08-03  9:56 ` [Bloat] [aqm] " De Schepper, Koen (Nokia - BE)
  0 siblings, 1 reply; 2+ messages in thread
From: Dave Taht @ 2016-07-28 17:27 UTC (permalink / raw)
  To: aqm, tcpprague, bloat

I can't ever get my endianess straight, and I figure that someone here
might "just know"

Do I use match u8 0xfc or 0xcf?

tc filter add dev $DEV parent 1:0 protocol ip prio 10 u32 \
      match ip tos 0x10 0xff  flowid 1:10

(am trying to revise this from in front of a mac:
https://www.bufferbloat.net/projects/cerowrt/wiki/Wondershaper_Must_Die/
)

Bonus points if you can come up with the right tc filter line for ipv6.

What I would probably do is have a filter chain to then classify the
thing further for L4s, but I don't understand how or where I'd direct
CE markings correctly. (?)

How does it happen in the pi2 code? is that on github somewhere?

-- 
Dave Täht
Let's go make home routers and wifi faster! With better software!
http://blog.cerowrt.org㯝㯟

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

end of thread, other threads:[~2016-08-03  9:57 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-07-28 17:27 [Bloat] what is the correct linux tc u32 match to ignore ecn but preserve tos? Dave Taht
2016-08-03  9:56 ` [Bloat] [aqm] " De Schepper, Koen (Nokia - BE)

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