[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20200706111350.5a916e3e@hermes.lan>
Date: Mon, 6 Jul 2020 11:13:50 -0700
From: Stephen Hemminger <stephen@...workplumber.org>
To: Guillaume Nault <gnault@...hat.com>
Cc: netdev@...r.kernel.org, Andrea Claudi <aclaudi@...hat.com>
Subject: Re: [PATCH iproute2 v2] tc: flower: support multiple MPLS LSE match
On Wed, 1 Jul 2020 21:49:18 +0200
Guillaume Nault <gnault@...hat.com> wrote:
> Add the new "mpls" keyword that can be used to match MPLS fields in
> arbitrary Label Stack Entries.
> LSEs are introduced by the "lse" keyword and followed by LSE options:
> "depth", "label", "tc", "bos" and "ttl". The depth is manadtory, the
> other options are optionals.
>
> For example, the following filter drops MPLS packets having two labels,
> where the first label is 21 and has TTL 64 and the second label is 22:
>
> $ tc filter add dev ethX ingress proto mpls_uc flower mpls \
> lse depth 1 label 21 ttl 64 \
> lse depth 2 label 22 bos 1 \
> action drop
>
> Signed-off-by: Guillaume Nault <gnault@...hat.com>
Applied, thanks
Powered by blists - more mailing lists