]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
selftests: hsr: Add ping test for PRP
authorFelix Maurer <fmaurer@redhat.com>
Thu, 5 Feb 2026 13:57:28 +0000 (14:57 +0100)
committerPaolo Abeni <pabeni@redhat.com>
Tue, 10 Feb 2026 11:02:28 +0000 (12:02 +0100)
commitc01a6c700fd54dd775020a8ddfe69dedeaca73cc
tree4ba115c8822c6dd9008e95f9fa920bbf13683b89
parent310d80b0f88a5847b6e17ceb1c2844740cc3bf35
selftests: hsr: Add ping test for PRP

Add a selftest for PRP that performs a basic ping test on IPv4 and IPv6,
over the plain PRP interface and a VLAN interface, similar to the existing
ping test for HSR. The test first checks reachability of the other node,
then checks for no loss and no duplicates.

Signed-off-by: Felix Maurer <fmaurer@redhat.com>
Reviewed-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
Link: https://patch.msgid.link/4a342189e842d7308d037da72af566729ee75834.1770299429.git.fmaurer@redhat.com
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
tools/testing/selftests/net/hsr/Makefile
tools/testing/selftests/net/hsr/prp_ping.sh [new file with mode: 0755]