linux/tools/testing/selftests/net/hsr
Xin Xie 6d548d0fc1 selftests: net: hsr: add PRP RedBox test
Add a kselftest that builds a PRP RedBox (interlink) with a SAN behind the
interlink and a peer DANP, and checks bidirectional unicast across the
interlink, preservation of the SAN source MAC on the PRP network, and that
the proxy-announce supervision frame carries the RedBox-MAC TLV (Type 30)
terminated by an EOT marker. It reuses the hsr_common.sh / lib.sh helpers
and skips cleanly on a kernel or iproute2 without PRP interlink support.

The background ping is killed by its exact PID: ip netns exec does not
isolate the PID namespace, so a pattern-based pkill could hit unrelated
processes on the host.

Signed-off-by: Xin Xie <xiexinet@gmail.com>
Link: https://patch.msgid.link/20260717201457.54-5-xiexinet@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
2026-07-27 17:46:41 -07:00
..
config selftests: net: sort configs 2025-10-06 13:12:59 -07:00
hsr_common.sh tests: hsr: Increase timeout to 50 seconds 2024-10-30 16:23:38 -07:00
hsr_ping.sh selftests: hsr: Add more link fault tests for HSR 2026-02-10 12:02:29 +01:00
hsr_prp_redbox.sh selftests: net: hsr: add PRP RedBox test 2026-07-27 17:46:41 -07:00
hsr_redbox.sh selftests: hsr: Extend the hsr_redbox.sh test to use fixed MAC addresses 2024-06-05 19:26:15 -07:00
link_faults.sh selftests: hsr: Add more link fault tests for HSR 2026-02-10 12:02:29 +01:00
Makefile selftests: net: hsr: add PRP RedBox test 2026-07-27 17:46:41 -07:00
prp_ping.sh selftests: hsr: Add ping test for PRP 2026-02-10 12:02:28 +01:00
settings selftests: hsr: Add more link fault tests for HSR 2026-02-10 12:02:29 +01:00