[net-next PATCH v5 0/4] net: hsr: Add support for HSR-SAN (RedBOX)

Lukasz Majewski
2024-04-15T12:50:09Z

This patch set provides v5 of HSR-SAN (RedBOX) as well as hsr_redbox.sh
test script.

Applied on top of:
Branch: net-next/main
SHA1: 50aee97d1511

Runs inside: Buildroot (2024.02.1+):
SHA1: b31443e09cb7bb67b97ae6fb7614fe3a22889d50

Lukasz Majewski (4):
net: hsr: Provide RedBox support (HSR-SAN)
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 | 6 ++
net/hsr/hsr_main.h | 7 ++
net/hsr/hsr_netlink.c | 30 +++++-
net/hsr/hsr_slave.c | 1 +
tools/testing/selftests/net/hsr/hsr_common.sh | 97 +++++++++++++++++++
tools/testing/selftests/net/hsr/hsr_ping.sh | 93 +-----------------
tools/testing/selftests/net/hsr/hsr_redbox.sh | 97 +++++++++++++++++++
12 files changed, 403 insertions(+), 106 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