mbox series

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

Message ID cover.1613155785.git.gnault@redhat.com (mailing list archive)
Headers show
Series selftests: tc: Test tc-flower's MPLS features | expand

Message

Guillaume Nault Feb. 12, 2021, 7:05 p.m. UTC
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(-)

Comments

patchwork-bot+netdevbpf@kernel.org Feb. 13, 2021, 1:20 a.m. UTC | #1
Hello:

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

On Fri, 12 Feb 2021 20:05:33 +0100 you wrote:
> 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.
> 
> [...]

Here is the summary with links:
  - [net-next,1/2] selftests: tc: Add basic mpls_* matching support for tc-flower
    https://git.kernel.org/netdev/net-next/c/203ee5cd7235
  - [net-next,2/2] selftests: tc: Add generic mpls matching support for tc-flower
    https://git.kernel.org/netdev/net-next/c/c09bfd9a5df9

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html