From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-io0-x242.google.com (mail-io0-x242.google.com [IPv6:2607:f8b0:4001:c06::242]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by lists.bufferbloat.net (Postfix) with ESMTPS id CB27D3B260 for ; Thu, 28 Jul 2016 13:27:03 -0400 (EDT) Received: by mail-io0-x242.google.com with SMTP id g86so7982228ioj.1 for ; Thu, 28 Jul 2016 10:27:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=9lUcIwZsX06uzY42iIBxBm5+bEUeAb+2WJVbcc0rXJE=; b=quCxpvp2MWck7p8TM77SAV3G+ZWjBLUN9Dt7M6wThONL8iG2Zf2mB4o+qmvJfPr4UQ pL+Itax9Zn9ZB/dWdeYRQMOL0OUtKytMK2ezXedzVrFU1OMzPFg5eDlovNeeYeH3Fo5Q qvrD2oqTUPLaFvD/YNPJWE2FpUOPxlx+mAS/SwH10lVMDwr6AylWbgrVyEOVlQVhPKog hwMPLy9KuvHnBuAwxjFSz8tVlDH+50G1uqccHKzajD6XE1dGYR+ijsOie1H7NCbwWTtZ 2TGnQlCwCq3zcyHcSHtX6RMvYxnHKvgi7e16yV52vh9c7tcwMNLEOF8M9V0PZ86B0Mtb ykwQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to :content-transfer-encoding; bh=9lUcIwZsX06uzY42iIBxBm5+bEUeAb+2WJVbcc0rXJE=; b=deb184n1xyE1DqRX4wg51Y9UqzHMUTBSyXMY111idnSAj+f7OxHAHSumM0Orsy2BNq vTzCBx9+n1QH84LsL1MbWLW7NTLM09resyN0xKKlYNyG5di73mdL/tc9swXDxIlItG02 6aGyYsOLMOvUdSS5pv7M7STQL7DxnYjl7bT9Moe623zJ1hU7/2B43uh71lzRLvjDSTwW VBQ2BSi4+y1C0Kyy9Gj0rUGJJCHRtmzI14Nbx6Okkb+Dr1++y476OBjENNhKabwhID7O z8TgvvUI/V4hjQ0o8j23pRC2aUxppuZZvOypQ14JOK3IqARHVJpo6pGVOiAS91fCSYW0 DzvQ== X-Gm-Message-State: AEkoouuXDgSpHRh5UnxbdpT1qvq2VGzdmVYgoN3KMFURfLKqUWglv+YgLp8RSCKA4l4Z6lN8GBOU1uE/xhBouA== X-Received: by 10.107.2.78 with SMTP id 75mr39173863ioc.128.1469726823231; Thu, 28 Jul 2016 10:27:03 -0700 (PDT) MIME-Version: 1.0 Received: by 10.79.14.17 with HTTP; Thu, 28 Jul 2016 10:27:02 -0700 (PDT) From: Dave Taht Date: Thu, 28 Jul 2016 19:27:02 +0200 Message-ID: To: "aqm@ietf.org" , tcpprague@ietf.org, bloat Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Bloat] what is the correct linux tc u32 match to ignore ecn but preserve tos? X-BeenThere: bloat@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: General list for discussing Bufferbloat List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Jul 2016 17:27:03 -0000 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? --=20 Dave T=C3=A4ht Let's go make home routers and wifi faster! With better software! http://blog.cerowrt.org=E3=AF=9D=E3=AF=9F