[net-next PATCH v6 0/5] net: hsr: Add support for HSR-SAN (RedBOX)
From: Lukasz Majewski
Date: Tue Apr 23 2024 - 08:50:55 EST
This patch set provides v6 of HSR-SAN (RedBOX) as well as hsr_redbox.sh
test script.
The most straightforward way to test those patches is to use buildroot
(2024.02.01) to create rootfs and QEMU based environment to run x86_64
Linux.
Then one shall run hsr_redbox.sh and hsr_ping.sh from
tools/testing/selftests/net/hsr.
Lukasz Majewski (5):
net: hsr: Provide RedBox support (HSR-SAN)
test: hsr: Remove script code already implemented in lib.sh
test: hsr: Move common code to hsr_common.sh file
test: hsr: Extract version agnostic information from ping command
output
test: hsr: Add test for HSR RedBOX (HSR-SAN) mode of operation
include/uapi/linux/if_link.h | 1 +
net/hsr/hsr_device.c | 36 +++++-
net/hsr/hsr_device.h | 4 +-
net/hsr/hsr_forward.c | 85 ++++++++++++--
net/hsr/hsr_framereg.c | 52 +++++++++
net/hsr/hsr_framereg.h | 4 +
net/hsr/hsr_main.h | 7 ++
net/hsr/hsr_netlink.c | 30 ++++-
net/hsr/hsr_slave.c | 1 +
tools/testing/selftests/net/hsr/Makefile | 3 +-
tools/testing/selftests/net/hsr/hsr_common.sh | 84 ++++++++++++++
tools/testing/selftests/net/hsr/hsr_ping.sh | 106 +-----------------
tools/testing/selftests/net/hsr/hsr_redbox.sh | 92 +++++++++++++++
13 files changed, 387 insertions(+), 118 deletions(-)
create mode 100644 tools/testing/selftests/net/hsr/hsr_common.sh
create mode 100755 tools/testing/selftests/net/hsr/hsr_redbox.sh
--
2.20.1