netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH net-next 0/2] selftests: tc: Test tc-flower's MPLS features
@ 2021-02-12 19:05 Guillaume Nault
  2021-02-12 19:05 ` [PATCH net-next 1/2] selftests: tc: Add basic mpls_* matching support for tc-flower Guillaume Nault
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Guillaume Nault @ 2021-02-12 19:05 UTC (permalink / raw)
  To: David Miller, Jakub Kicinski; +Cc: netdev

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2021-02-13  1:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-02-12 19:05 [PATCH net-next 0/2] selftests: tc: Test tc-flower's MPLS features Guillaume Nault
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

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).