Skip to content

selftests: tc: Test tc-flower's MPLS features

Guillaume Nault netdev 1 version Applied

Status from this message: This series was applied to netdev/net-next.git (refs/heads/master):

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 0 repliesApplied 2/2

Patches in v1 All 2 applied

#Subject and filesSizeRepliesApplied
1/2selftests: tc: Add basic mpls_* matching support for tc-flowertools/testing/selftests/net/forwarding/config tools/testing/selftests/net/forwarding/lib.sh tools/testing/selftests/net/forwarding/tc_flower.sh+187 -10 repliesApplied
2/2selftests: tc: Add generic mpls matching support for tc-flowertools/testing/selftests/net/forwarding/lib.sh tools/testing/selftests/net/forwarding/tc_flower.sh+162 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH net-next 0/2] selftests: tc: Test tc-flower's MPLS features

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(-)
Signature · 1 line
2.21.3