Skip to content

net: hsr: Add support for HSR-SAN (RedBOX)

Lukasz Majewski lkml netdev 7 versions – Applied

Status from this message: This series was applied to netdev/net-next.git (main)

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v6 Latest5 patches 0 repliesApplied 5/5
  2. v54 patches 17 repliesSuperseded
  3. v41 patch 4 repliesSuperseded
Earlier versions · 4
VersionPostedPatchesRepliesStatus
v3 posting 2/21 patch6 repliesSuperseded
v3 posting 1/21 patch3 repliesSuperseded
v21 patch1 replySuperseded
v11 patch2 repliesSuperseded

Patches in v6 All 5 applied

#Subject and filesSizeRepliesApplied
1/5net: hsr: Provide RedBox support (HSR-SAN)include/uapi/linux/if_link.h net/hsr/hsr_device.c net/hsr/hsr_device.h +6 more+204 -160 repliesApplied
2/5test: hsr: Remove script code already implemented in lib.shtools/testing/selftests/net/hsr/hsr_ping.sh+3 -250 repliesApplied
3/5test: hsr: Move common code to hsr_common.sh filetools/testing/selftests/net/hsr/Makefile tools/testing/selftests/net/hsr/hsr_common.sh tools/testing/selftests/net/hsr/hsr_ping.sh+88 -780 repliesApplied
4/5test: hsr: Extract version agnostic information from ping command outputtools/testing/selftests/net/hsr/hsr_common.sh+2 -10 repliesApplied
5/5test: hsr: Add test for HSR RedBOX (HSR-SAN) mode of operationtools/testing/selftests/net/hsr/Makefile tools/testing/selftests/net/hsr/hsr_redbox.sh+93 -10 repliesApplied

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v6 yet.

Read the v6 thread

Cover letter [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
Signature · 1 line
2.20.1