From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-lj1-f177.google.com (mail-lj1-f177.google.com [209.85.208.177]) (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 013483B29E for ; Tue, 19 Mar 2019 17:59:25 -0400 (EDT) Received: by mail-lj1-f177.google.com with SMTP id v22so442588lje.9 for ; Tue, 19 Mar 2019 14:59:25 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:mime-version:content-transfer-encoding; bh=RiFa6EHEK3Tfn6pchLfn+BOZ8sxqXmN9PLmj7ZxhSRk=; b=ELdGfH0P8GUi7nTv6LVDfHOc6nB60hRU0dr9hrx7nF1Lf4nj3/vb8w7iqvEab77/qw oA+oDZxhitf3n0+TokRdpmN1ikQ8/yYoLDeDnjY6PLwuk/xG1Or9CeLUjzz7bJd9IGQr EnxvS8YulvJFwNlHkLQetj/b4u5Grka44qa0DofWEcWZA5oxbEVhLKCwJMfshzHFS7V0 1CiCv6fQ0RxtW/a1zQOFdaSBJE2CS9m0WUry6YZ7RkK/vGV840VsIc6Jw+U2SL9yusVp 5QaLFlzKrL47W4H0K1hrtmJ8D7LP/APvFPz18FVU0T+QFApRraI6ZKo2F0vmXZberYZM ekZw== X-Gm-Message-State: APjAAAV8Y2pCYBTDrxHP6eB9Oh8CTjhxkmjy83Y4CYMROLC1pHQ6hLao vs76vepJKEtUbxxTyjiRj/KJoA== X-Google-Smtp-Source: APXvYqzboSxnQpo7KPsoze1MoJkkLhqlllDwCYBSHFBGXntc0e9Ph0uU6z25DEz7JiB/pjN+oTU/bg== X-Received: by 2002:a2e:9d04:: with SMTP id t4mr15475271lji.80.1553032764882; Tue, 19 Mar 2019 14:59:24 -0700 (PDT) Received: from alrua-x1.borgediget.toke.dk (borgediget.toke.dk. [85.204.121.218]) by smtp.gmail.com with ESMTPSA id r130sm15481lfr.42.2019.03.19.14.59.23 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 19 Mar 2019 14:59:24 -0700 (PDT) Received: by alrua-x1.borgediget.toke.dk (Postfix, from userid 1000) id 92F6C1804A4; Tue, 19 Mar 2019 22:59:22 +0100 (CET) From: Toke =?utf-8?Q?H=C3=B8iland-J=C3=B8rgensen?= To: Kevin Darbyshire-Bryant Cc: Ryan Mounce , Cake List In-Reply-To: <38D5F27A-A4E8-4019-9AFC-E741B38715AB@darbyshire-bryant.me.uk> References: <878sxasfsw.fsf@toke.dk> <38D5F27A-A4E8-4019-9AFC-E741B38715AB@darbyshire-bryant.me.uk> X-Clacks-Overhead: GNU Terry Pratchett Date: Tue, 19 Mar 2019 22:59:22 +0100 Message-ID: <874l7yseyt.fsf@toke.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: [Cake] act_conndscp 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: Tue, 19 Mar 2019 21:59:26 -0000 Kevin Darbyshire-Bryant writes: >> On 19 Mar 2019, at 21:41, Toke H=C3=B8iland-J=C3=B8rgensen wrote: >>=20 >> Kevin Darbyshire-Bryant writes: >>=20 >>>> On 19 Mar 2019, at 21:24, Ryan Mounce wrote: >>>>=20 >>>> Hi Kevin, >>>>=20 >>>> I've finally applied your patches, compiled, and flashed on my router. >>>> Could you share your tc filter action for conndscp to get me started? >>>=20 >>> Ahh! Ooops yes knew I forgot something - here=E2=80=99s my hacked up >>> sqm-scripts/my_layer_cake.qos >>=20 >> So this only works with your patched version of CAKE that interprets the >> fwmark as a DSCP value, right? >>=20 > > No. It is completely qdisc agnostic/independent. > > The tc conndscp action stores/restores DSCP to/from the conntrack > mark. CAKE is completely unmodified and looking at DSCP for tin > selection. Ohh, right, silly me... It also goes the other way; of course :) -Toke