From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-la0-x234.google.com (mail-la0-x234.google.com [IPv6:2a00:1450:4010:c03::234]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by huchra.bufferbloat.net (Postfix) with ESMTPS id 00D6321F1D6 for ; Sun, 17 May 2015 17:49:48 -0700 (PDT) Received: by laat2 with SMTP id t2so196084628laa.1 for ; Sun, 17 May 2015 17:49:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date :content-transfer-encoding:message-id:references:to; bh=Um8uvuXI2q2f49aNHfR6bj3v7zUAwtcdCtRPhWCRMas=; b=lAmaWubhFw/nRI7UjTCTUkNz0knlQRus2Dha5LsXXY+dEmGewxYo99WlEOjGdYc1OI 4PRSVEAxyn9KYn6Y+Vrg74htuYkISZhkEdm5u2pgoF3JsEhqwsAcRr1Nv6iYLZL6m2fg X8n/9mnMZdVACHOzpPrZDtti9miH7FtHSgTZ28LO2teilIuqVH3Y/VlCDzdzswYB8v8k Xu22lPPpmQZicqmfM6vzgs/0PZFtfOVAwWo++7M5OZO/Ozk9hIm8d891cjKLBb8+NLc4 KOsGuw1YzdQ0XQZHNZX8Frs+tjTHZzzemU0ajhMCKczaeVNVK2z/ajNysYx/D07ElnPn /iXw== X-Received: by 10.112.190.10 with SMTP id gm10mr14865358lbc.2.1431910159008; Sun, 17 May 2015 17:49:19 -0700 (PDT) Received: from bass.home.chromatix.fi (188-67-171-145.bb.dnainternet.fi. [188.67.171.145]) by mx.google.com with ESMTPSA id ra7sm2281909lbb.27.2015.05.17.17.49.15 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 17 May 2015 17:49:18 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2098\)) From: Jonathan Morton In-Reply-To: Date: Mon, 18 May 2015 03:49:09 +0300 Content-Transfer-Encoding: quoted-printable Message-Id: References: <554F64E1.6000609@gmail.com> <554F9594.60808@gmail.com> To: cake@lists.bufferbloat.net X-Mailer: Apple Mail (2.2098) Subject: [Cake] More overhead keywords X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.13 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 May 2015 00:50:49 -0000 This is entirely userspace (ie. iproute2) stuff: The initial cake-overhead patch included only =E2=80=9Craw=E2=80=9D and = =E2=80=9Cconservative=E2=80=9D shortcut keywords, alongside the numeric = =E2=80=9Coverhead=E2=80=9D parameter for experts. I=E2=80=99ve now = worked out an extended set of keywords which, I think, takes care of all = the normal cases. There are eight new keywords which deal with the basic ADSL = configurations. These switch on ATM cell-framing compensation, and set = the overhead based on the raw IP packet as a baseline. ipoa-vcmux (8) ipoa-llcsnap (16) bridged-vcmux (24) bridged-llcsnap (32) pppoa-vcmux (10) pppoa-llc (14) pppoe-vcmux (32) pppoe-llcsnap (40) Note that =E2=80=9Cpppoa-llc=E2=80=9D is not a typo - it really = doesn=E2=80=99t involve SNAP, and is thus a little more compact than if = it did. Two more new keywords deal with the basic VDSL2 configurations. Again, = the overheads use IP as a baseline, but this time ATM cell-framing is = turned off. Apparently PTM does have a small additional overhead on the = order of 1/128, due to HDLC framing which attaches special meaning to = 0x7D and 0x7E bytes; I might need to add approximate handling for that, = kernel-side. pppoe-ptm (27) bridged-ptm (19) The final three keywords are not for standalone use, but act as = modifiers to some previous keyword. They can be specified more than = once, which is probably only useful for =E2=80=9Cether-vlan=E2=80=9D. via-ethernet (-14) ether-fcs (+4) ether-vlan (+4) Does all this look reasonable? In particular, have I missed anything = regarding PTM/VDSL2? I=E2=80=99m using = http://www.ethernetinthefirstmile.com/articles/WTC2002.pdf as a = reference, but it isn=E2=80=99t as clear as it might be. - Jonathan Morton