Skip to content

selftests: pmtu: Add further vti/vti6 MTU and PMTU tests

Stefano Brivio netdev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v2 Latest10 patches 3 repliesIn review
  2. v19 patches 4 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/10selftests: pmtu: Reverse return codes of functionstools/testing/selftests/net/pmtu.sh+8 -160 replies
2/10selftests: pmtu: Use namespace command prefix to fetch route mtutools/testing/selftests/net/pmtu.sh+9 -70 replies
3/10selftests: pmtu: Factor out MTU parsing helpertools/testing/selftests/net/pmtu.sh+11 -60 replies
4/10selftests: pmtu: Introduce support for multiple teststools/testing/selftests/net/pmtu.sh+61 -260 replies
5/10selftests: pmtu: Add pmtu_vti4_default_mtu testtools/testing/selftests/net/pmtu.sh+73 -130 replies
6/10selftests: pmtu: Add pmtu_vti6_default_mtu testtools/testing/selftests/net/pmtu.sh+17 -10 replies
7/10selftests: pmtu: Add test_pmtu_vti4_exception testtools/testing/selftests/net/pmtu.sh+70 -100 replies
8/10selftests: pmtu: Add pmtu_vti4_link_add_mtu testtools/testing/selftests/net/pmtu.sh+44 -10 replies
9/10selftests: pmtu: Add pmtu_vti6_link_add_mtu testtools/testing/selftests/net/pmtu.sh+43 -10 replies
10/10selftests: pmtu: Add pmtu_vti6_link_change_mtu testtools/testing/selftests/net/pmtu.sh+61 -60 replies

Reviews trailers per patch

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

Read the v2 thread

Cover letter [PATCH net-next 00/10 v2] selftests: pmtu: Add further vti/vti6 MTU and PMTU tests

Patches 5/10 to 10/10 add tests to verify default MTU assignment for vti4 and vti6 interfaces, to check that MTU values set on new link and link changes are properly taken and validated, and to verify PMTU exceptions on vti4 interfaces.

Patch 1/10 reverses function return codes as suggested by David Ahern.

Patch 2/10 fixes the helper to fetch exceptions MTU to run in the passed namespace.

Patches 3/10 and 4/10 are preparation work to make it easier to introduce those tests.

v2: Reverse return codes, and make output prettier in 4/9 by
using padded printf, test descriptions and buffered error strings. Remove accidental output to /dev/kmsg from 10/10 (was 9/9).

Stefano Brivio (10):
selftests: pmtu: Reverse return codes of functions
selftests: pmtu: Use namespace command prefix to fetch route mtu
selftests: pmtu: Factor out MTU parsing helper
selftests: pmtu: Introduce support for multiple tests
selftests: pmtu: Add pmtu_vti4_default_mtu test
selftests: pmtu: Add pmtu_vti6_default_mtu test
selftests: pmtu: Add test_pmtu_vti4_exception test
selftests: pmtu: Add pmtu_vti4_link_add_mtu test
selftests: pmtu: Add pmtu_vti6_link_add_mtu test
selftests: pmtu: Add pmtu_vti6_link_change_mtu test

 tools/testing/selftests/net/pmtu.sh | 442 ++++++++++++++++++++++++++++++------
 1 file changed, 376 insertions(+), 66 deletions(-)
Signature · 1 line
2.15.1