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

net: dsa: hellcreek: use simple HSR offload helpers

The "hellcreek" tagging protocol uses dsa_xmit_port_mask(), which means
we can offload HSR packet duplication on transmit. Enable that feature.

Cc: Kurt Kanzenbach <kurt@linutronix.de>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Link: https://patch.msgid.link/20251130131657.65080-12-vladimir.oltean@nxp.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>

authored by

Vladimir Oltean and committed by
Jakub Kicinski
017bcff7 4af9fa2b

+2
+2
drivers/net/dsa/hirschmann/hellcreek.c
··· 1926 1926 .port_vlan_filtering = hellcreek_vlan_filtering, 1927 1927 .setup = hellcreek_setup, 1928 1928 .teardown = hellcreek_teardown, 1929 + .port_hsr_join = dsa_port_simple_hsr_join, 1930 + .port_hsr_leave = dsa_port_simple_hsr_leave, 1929 1931 }; 1930 1932 1931 1933 static int hellcreek_probe(struct platform_device *pdev)