linux/tools/testing/selftests/net/hsr/Makefile
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

16 lines
238 B
Makefile

# SPDX-License-Identifier: GPL-2.0
top_srcdir = ../../../../..
TEST_PROGS := \
hsr_ping.sh \
hsr_prp_redbox.sh \
hsr_redbox.sh \
link_faults.sh \
prp_ping.sh \
# end of TEST_PROGS
TEST_FILES += hsr_common.sh
include ../../lib.mk