From bced023064eb5d7a07bcffef59c35f2a9f05fcab 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 | 18 ++++++++++++++++++ 1 file changed, 18 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..bcb200bf2 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,20 @@ CPU usage at Node B found to be negligible * - 505 Mbits/sec - 504 Mbits/sec +.. 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 +