OSDN Git Service

Merge branch 'tc-mpls-selftests'
authorDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 01:13:53 +0000 (17:13 -0800)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 01:13:53 +0000 (17:13 -0800)
Guillaume Nault says:

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

Signed-off-by: David S. Miller <davem@davemloft.net>

Trivial merge