]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: tc: Add basic mpls_* matching support for tc-flower
authorGuillaume Nault <gnault@redhat.com>
Fri, 12 Feb 2021 19:05:37 +0000 (20:05 +0100)
committerDavid S. Miller <davem@davemloft.net>
Sat, 13 Feb 2021 01:13:52 +0000 (17:13 -0800)
commit203ee5cd723502e88bac830a2478258f23bc4756
tree48aab9d1a5551b4a482a2536c76a4ba89f4ea01b
parent4098ced4680a485c5953f60ac63dff19f3fb3d42
selftests: tc: Add basic mpls_* matching support for tc-flower

Add tests in tc_flower.sh for mpls_label, mpls_tc, mpls_bos and
mpls_ttl. For each keyword, test the minimal and maximal values.

Selectively skip these new mpls tests for tc versions that don't
support them.

Signed-off-by: Guillaume Nault <gnault@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/forwarding/config
tools/testing/selftests/net/forwarding/lib.sh
tools/testing/selftests/net/forwarding/tc_flower.sh