From: Guillaume Nault <gnault@redhat.com>
To: David Miller <davem@davemloft.net>, Jakub Kicinski <kuba@kernel.org>
Cc: netdev@vger.kernel.org
Subject: [PATCH net-next 0/2] selftests: tc: Test tc-flower's MPLS features
Date: Fri, 12 Feb 2021 20:05:33 +0100 [thread overview]
Message-ID: <cover.1613155785.git.gnault@redhat.com> (raw)
A couple of patches for exercising the MPLS filters of tc-flower.
Patch 1 tests basic MPLS matching features: those that only work on the
first label stack entry (that is, the mpls_label, mpls_tc, mpls_bos and
mpls_ttl options).
Patch 2 tests the more generic "mpls" and "lse" options, which allow
matching MPLS fields beyond the first stack entry.
In both patches, special care is taken to skip these new tests for
incompatible versions of tc.
Guillaume Nault (2):
selftests: tc: Add basic mpls_* matching support for tc-flower
selftests: tc: Add generic mpls matching support for tc-flower
tools/testing/selftests/net/forwarding/config | 1 +
tools/testing/selftests/net/forwarding/lib.sh | 41 +++
.../selftests/net/forwarding/tc_flower.sh | 307 +++++++++++++++++-
3 files changed, 348 insertions(+), 1 deletion(-)
--
2.21.3
next reply other threads:[~2021-02-12 19:07 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-12 19:05 Guillaume Nault [this message]
2021-02-12 19:05 ` [PATCH net-next 1/2] selftests: tc: Add basic mpls_* matching support for tc-flower Guillaume Nault
2021-02-12 19:05 ` [PATCH net-next 2/2] selftests: tc: Add generic mpls " Guillaume Nault
2021-02-13 1:20 ` [PATCH net-next 0/2] selftests: tc: Test tc-flower's MPLS features patchwork-bot+netdevbpf
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1613155785.git.gnault@redhat.com \
--to=gnault@redhat.com \
--cc=davem@davemloft.net \
--cc=kuba@kernel.org \
--cc=netdev@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).