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 <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
hole
goes.

Over here on this mikrotik thead
https://forum.mikrotik.com/viewtopic.php?p=904422#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=https%3A%2F%2Fwww.icei.org

Dave Täht CEO, TekLibre, LLC
_______________________________________________
Bloat mailing list
Bloat@lists.bufferbloat.net
https://lists.bufferbloat.net/listinfo/bloat