From c97fb1ded88f566dee7e63133f8fd91425888bfc Mon Sep 17 00:00:00 2001 From: MD Danish Anwar Date: Wed, 16 Sep 2026 11:15:57 +0530 Subject: [PATCH] feat(linux): Add documentation for HSR Redbox support ICSSG on AM64x can be used as HSR Redbox. Add documentation for the same. Signed-off-by: MD Danish Anwar --- .../Kernel_Drivers/Network/HSR_Offload.rst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_Offload.rst b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_Offload.rst index 5db7cd5e7..ed6991ee3 100644 --- a/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_Offload.rst +++ b/source/linux/Foundational_Components/Kernel/Kernel_Drivers/Network/HSR_Offload.rst @@ -41,6 +41,7 @@ To enable Tx packet duplication The below script sets up an HSR interface with the port-to-port forwarding and Tx packet duplication offloaded +.. _hsr-setup-script: .. code-block:: bash #!/bin/sh @@ -429,3 +430,21 @@ CPU usage at Node B found to be negligible * - 505 Mbits/sec - 504 Mbits/sec +.. ifconfig:: CONFIG_part_variant in ('AM64X') + + .. rubric:: HSR RedBox Support + + The HSR RedBox feature extends standard HSR functionality by adding an interlink port + that bridges the HSR ring to an external network segment. This allows devices on the + external segment to communicate directly with HSR ring nodes as if they were part of + the same HSR Ring. + + On AM64x, ICSSG can be used as an HSR Redbox. To enable this feature, the CPSW port + (``eth0``) must be connected to the external network to serve as the interlink port. + + The existing :ref:`hsr_setup.sh script ` can be used with small modification + to the ``ip link add`` command inside it, which must be updated as below. + + .. code-block:: bash + + ip link add name type hsr slave1 slave2 interlink supervision 45 version 1