]> git.baikalelectronics.ru Git - kernel.git/commit
selftests: net: improved IOAM tests
authorJustin Iurman <justin.iurman@uliege.be>
Mon, 16 Aug 2021 17:16:38 +0000 (19:16 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 17 Aug 2021 09:50:33 +0000 (10:50 +0100)
commitdb51c5b157e12bdaeef2ff7b7f84ac9436804aa4
tree04bb5f5f8905ae3b733189d482235017c68c3f07
parenta1bb62b0de16e2a5730b47887eb672d7427d411a
selftests: net: improved IOAM tests

As previously discussed with David Ahern, here is a refactored and improved
version of the IOAM self-test. It is now more complete and more robust. Now,
all tests are divided into three categories: OUTPUT (evaluates the IOAM
processing by the sender), INPUT (evaluates the IOAM processing by the receiver)
and GLOBAL (evaluates wider use cases that do not fall into the other two
categories). Both OUTPUT and INPUT tests only use a two-node topology (alpha and
beta), while GLOBAL tests use the entire three-node topology (alpha, beta,
gamma). Each test is documented inside its own handler in the (bash) script.

Signed-off-by: Justin Iurman <justin.iurman@uliege.be>
Signed-off-by: David S. Miller <davem@davemloft.net>
tools/testing/selftests/net/ioam6.sh [changed mode: 0644->0755]
tools/testing/selftests/net/ioam6_parser.c