From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lf0-x235.google.com (mail-lf0-x235.google.com [IPv6:2a00:1450:4010:c07::235]) (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 9B71D3B2A4 for ; Fri, 3 Feb 2017 14:30:21 -0500 (EST) Received: by mail-lf0-x235.google.com with SMTP id x1so15426575lff.0 for ; Fri, 03 Feb 2017 11:30:21 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8k7m9qEHJskKrcDEmKUOTU/MFDGNc5CBLfJGDRJ/u3o=; b=Xv9Of2Xh7KlfvJzcsAF3OoVAt/LGVmz7olbfZdJzrOym/Cf8TNZLgIks49ICuF0lDF YGQLfKCnDpZJqqglAbu8QgyvbdFfMdXXakCV4dx7TEgGq9nIdMz1MJS2hrt7KMostTQb ItKXjKzdwYQdX6qVEU5w/K8bmM85AuDgfkgWA0iuz3hh5bav0AdWBjLGlIlMYUZyLKHr PDWw0BNw4r5BY7gUP33Ja8KsBl4hLgX9yuRx9QUU3rUtiEeew/LBig6HuQaD7H3OBkvY Gt4eMXZVlizuOaUAGiwu9ixTZ0XO/4hEbnBRARmajbj0mykcVkqW7Kub3iKhzlDH0rij VpHg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=8k7m9qEHJskKrcDEmKUOTU/MFDGNc5CBLfJGDRJ/u3o=; b=lKYf9Q/exA7ineySEQMhUn3x1LGpYf3SQHPfSNXJy6SIGGjB/Znok/eybfsAmZd2Ic QdUgHwMEBKU4LA95YKgEkcsVSRnYF+In1/favxQIcsiJqGnImecGieuF/wngWwyWNZ8N vN7Ov8oyknEm4o1tzyv9sjs92AATJwsSgB2dN1w2IQ/yYbbyOYI9vyNO6v+RsJlfG0ET Kc+iZvpktzlsKOddpsXt7pBpcouIy3oo4MudfL27bP+2qMmiorJLYwX+HlKzqrNyzwSX 8ne8HZgCnu4jsH4EO/M+UsSaIH+YIo29U7suFfnHAv6zPkv0Hy76kgOkmL5DkMh9P0is BARw== X-Gm-Message-State: AIkVDXKpm0fyB1YzguX+qizHyfcO7FZbQO7DLtYN8JqgCVSQ5nma5SfEdchXP96AZSDp5A== X-Received: by 10.25.67.19 with SMTP id q19mr5805484lfa.9.1486150220028; Fri, 03 Feb 2017 11:30:20 -0800 (PST) Received: from [192.168.100.16] (37-136-45-245.rev.dnainternet.fi. [37.136.45.245]) by smtp.gmail.com with ESMTPSA id o91sm8158733lfg.17.2017.02.03.11.30.18 (version=TLS1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Fri, 03 Feb 2017 11:30:19 -0800 (PST) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) From: Jonathan Morton In-Reply-To: Date: Fri, 3 Feb 2017 21:30:16 +0200 Cc: Cake List Content-Transfer-Encoding: quoted-printable Message-Id: References: <1010949359.501064.1485874182374@webmail.strato.de> <6BA19F35-E3BB-48C4-9010-2153908E1DFA@gmail.com> To: John Sager X-Mailer: Apple Mail (2.3124) Subject: Re: [Cake] conntrack lookup continuation X-BeenThere: cake@lists.bufferbloat.net X-Mailman-Version: 2.1.20 Precedence: list List-Id: Cake - FQ_codel the next generation List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Feb 2017 19:30:21 -0000 > On 3 Feb, 2017, at 21:01, John Sager wrote: >=20 > As cake uses diffserv to classify, it would be good to carry dscp in = the > conntrack & transfer it to incoming packets with an 'action' on the = ingress > filter, but carrying dscp specifically in the conntrack record would = be > quite a significant change to other parts of linux. Hence the use of = fwmark > and the conntrack mark field, which already exist. Yes, this is what I thought you meant. As fwmark just sets =E2=80=9Ca number=E2=80=9D on the conntrack record, = there=E2=80=99s no reason in principle not to have that number be a DSCP = (or some reasonably transformed representation of one). The trick is = then for cake to extract that number from the conntrack record (having = looked it up), and if it looks valid, to use it as the packet=E2=80=99s = DSCP instead of the one on the packet itself. In principle, that should not be difficult. For the moment however, = I=E2=80=99ve got my hands full with writing a report on performance = tests I=E2=80=99ve been running, and then getting reacquainted with some = code changes that happened while I was looking elsewhere. - Jonathan Morton