[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20240423124908.2073400-1-lukma@denx.de>
Date: Tue, 23 Apr 2024 14:49:03 +0200
From: Lukasz Majewski <lukma@...x.de>
To: netdev@...r.kernel.org,
Paolo Abeni <pabeni@...hat.com>,
Casper Andersson <casper.casan@...il.com>
Cc: Andrew Lunn <andrew@...n.ch>,
Eric Dumazet <edumazet@...gle.com>,
Vladimir Oltean <olteanv@...il.com>,
"David S. Miller" <davem@...emloft.net>,
Jakub Kicinski <kuba@...nel.org>,
Oleksij Rempel <o.rempel@...gutronix.de>,
Tristram.Ha@...rochip.com,
Sebastian Andrzej Siewior <bigeasy@...utronix.de>,
Ravi Gunasekaran <r-gunasekaran@...com>,
Simon Horman <horms@...nel.org>,
Nikita Zhandarovich <n.zhandarovich@...tech.ru>,
Murali Karicheri <m-karicheri2@...com>,
Jiri Pirko <jiri@...nulli.us>,
Dan Carpenter <dan.carpenter@...aro.org>,
Ziyang Xuan <william.xuanziyang@...wei.com>,
Shigeru Yoshida <syoshida@...hat.com>,
"Ricardo B. Marliere" <ricardo@...liere.net>,
linux-kernel@...r.kernel.org,
Lukasz Majewski <lukma@...x.de>
Subject: [net-next PATCH v6 0/5] net: hsr: Add support for HSR-SAN (RedBOX)
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
Powered by blists - more mailing lists