From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ua1-x933.google.com (mail-ua1-x933.google.com [IPv6:2607:f8b0:4864:20::933]) (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 1BA593CB41; Mon, 10 Jan 2022 16:31:40 -0500 (EST) Received: by mail-ua1-x933.google.com with SMTP id l15so14662119uai.11; Mon, 10 Jan 2022 13:31:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=fu5OZHNsfosVhWyFCoFhpLwPof3yz4YTtP+vLGNqb4w=; b=Ie5MbSXc6w5B0L28OSF/FKZyzkAZ+xvZ2zSnGTNdiTW34vYGcus3tuTJ0Z8S8RfIMm UKFhDDbkVFnPKej2cyFrQLfoxWUBb28ZIECryxGGRBVg6fdsu3qedrsXLG1qQBxHoy01 9ASq71XWMYiHHC+rZ+zbq9jXVT5L1UjXyhYGnKUnnZZubWr4PlNAR5LE1PXwHZOpqzzG nf9q0rs4V0z9dAD5TpQRcqCL/0lni3AaTHo8bwQfrvDmPPfiEN1eXYnW9FW6mOblTSc+ GIR4uxdMAumfJoX9SPYNIAx/C8DKWq7k0V5IQjMuQiYn1QHRkRKwKeMbD67M94TS6ND5 Yf/Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=fu5OZHNsfosVhWyFCoFhpLwPof3yz4YTtP+vLGNqb4w=; b=IXNtWVr1VJ0yvaBzqyP4dEDEroOUukS2pTmmdE54RQP+OcnG1V45Zf25aTJPDKlWGd emaqj9hkFQDZSA37RYkMio/sjTSxgEHFGsTXDINlW/5n94hytyfZILL4GqdPnLi1O1+q RQhS+/W61Bwi05cH2/DdTVgoNltgFQz4cy0jgvOxkQYuK0FtqlU1YNw8Szkxx49iJ5UM 6MZof5KGUex0Wt1GF3xR/5bmWkdZekhLVbqjPuD/HWUtCkgbPAinhXNqFO6igRd74nDs UHrlgb3t2iTboTwZUQHuES4FuE8l1JNgfPDvC8NBZ72ubsnBTiQ8Z06LtxZP3VgE3Rn/ eg4Q== X-Gm-Message-State: AOAM530cNtIY1sRO+Gs+8/5BCSxi/Hp+2y1bt+c/hr471UdoqQP39sCK jJXGzCJtcKne+odrhCrLleeNKdN1+2mk8A4tph8= X-Google-Smtp-Source: ABdhPJz3DFW08hlXdzNuGGiI3DyxhRL2VK5isGOjMOFmzj8ZMVAWJn6SePiwCKgFopyLbf1ESx+u36RwSnW9nQrMguA= X-Received: by 2002:ab0:6558:: with SMTP id x24mr783404uap.107.1641850299504; Mon, 10 Jan 2022 13:31:39 -0800 (PST) MIME-Version: 1.0 References: In-Reply-To: From: =?UTF-8?Q?Jonas_M=C3=A5rtensson?= Date: Mon, 10 Jan 2022 22:31:56 +0100 Message-ID: To: Dave Taht Cc: Cake List , bloat Content-Type: multipart/alternative; boundary="000000000000e05c7d05d5410f38" Subject: Re: [Bloat] cake + mpls? 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: Mon, 10 Jan 2022 21:31:40 -0000 --000000000000e05c7d05d5410f38 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable If you just want to use cake with priority tins based on the MPLS "Traffic Class" (TC) field (i.e. the renamed original "EXP" field, see RFC5462), I think you can use a tc flower filter ( https://man7.org/linux/man-pages/man8/tc-flower.8.html) matching on mpls_tc values. See here for some examples: https://www.redhat.com/sysadmin/mpls-tc-linux-kernel /Jonas On Mon, Jan 10, 2022 at 7:21 PM Dave Taht wrote: > I noticed that sometime in the past 8 years the flow_dissector gained > support for dissecting mpls packets. I don't know how deep that rabbit > hole > goes. > > Over here on this mikrotik thead > https://forum.mikrotik.com/viewtopic.php?p=3D904422#p904422 the question > was asked about cake, the exp bits, and mpls. > > In looking over this, would we slam cake onto the vrf? or? > > https://blog.swineson.me/en/use-linux-as-an-mpls-router/ > > I have precisely zero experience with mpls. Is there an mpls expert in > the house? > > -- > I tried to build a better future, a few times: > https://wayforward.archive.org/?site=3Dhttps%3A%2F%2Fwww.icei.org > > Dave T=C3=A4ht CEO, TekLibre, LLC > _______________________________________________ > Bloat mailing list > Bloat@lists.bufferbloat.net > https://lists.bufferbloat.net/listinfo/bloat > --000000000000e05c7d05d5410f38 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
If you just want to use cake with priority tins based on t= he MPLS "Traffic Class" (TC) field (i.e. the renamed original &qu= ot;EXP" field, see RFC5462), I think you can use a tc flower filter (<= a href=3D"https://man7.org/linux/man-pages/man8/tc-flower.8.html">https://m= an7.org/linux/man-pages/man8/tc-flower.8.html) matching on=C2=A0mpls_tc= values. See here for some examples:


/Jonas
=
On Mon= , Jan 10, 2022 at 7:21 PM Dave Taht <dave.taht@gmail.com> wrote:
I noticed that sometime in the past 8 years the flow= _dissector gained
support for dissecting mpls packets. I don't know how deep that rabbit<= br> hole
goes.

Over here on this mikrotik thead
https://forum.mikrotik.com/viewtopic.php?= p=3D904422#p904422 the question
was asked about cake, the exp bits, and mpls.

In looking over this, would we slam cake onto the vrf? or?

https://blog.swineson.me/en/use-linux-as-an-= mpls-router/

I have precisely zero experience with mpls. Is there an mpls expert in
the house?

--
I tried to build a better future, a few times:
https://wayforward.archive.org/?sit= e=3Dhttps%3A%2F%2Fwww.icei.org

Dave T=C3=A4ht CEO, TekLibre, LLC
_______________________________________________
Bloat mailing list
Bloat@list= s.bufferbloat.net
https://lists.bufferbloat.net/listinfo/bloat
--000000000000e05c7d05d5410f38--