Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Documentation: net: dsa: mention simple HSR offload helpers

Keep the documentation up to date.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20251130131657.65080-16-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Vladimir Oltean and committed by
Jakub Kicinski
4e4c00f3 97783916

+8
+8
Documentation/networking/dsa/dsa.rst
··· 1119 1119 - ``port_hsr_leave``: function invoked when a given switch port leaves a 1120 1120 DANP/DANH and returns to normal operation as a standalone port. 1121 1121 1122 + Note that the ``NETIF_F_HW_HSR_DUP`` feature relies on transmission towards 1123 + multiple ports, which is generally available whenever the tagging protocol uses 1124 + the ``dsa_xmit_port_mask()`` helper function. If the helper is used, the HSR 1125 + offload feature should also be set. The ``dsa_port_simple_hsr_join()`` and 1126 + ``dsa_port_simple_hsr_leave()`` methods can be used as generic implementations 1127 + of ``port_hsr_join`` and ``port_hsr_leave``, if this is the only supported 1128 + offload feature. 1129 + 1122 1130 TODO 1123 1131 ==== 1124 1132