Skip to content

Commit 017bcff

Browse files
vladimirolteankuba-moo
authored andcommitted
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>
1 parent 4af9fa2 commit 017bcff

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

drivers/net/dsa/hirschmann/hellcreek.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1926,6 +1926,8 @@ static const struct dsa_switch_ops hellcreek_ds_ops = {
19261926
.port_vlan_filtering = hellcreek_vlan_filtering,
19271927
.setup = hellcreek_setup,
19281928
.teardown = hellcreek_teardown,
1929+
.port_hsr_join = dsa_port_simple_hsr_join,
1930+
.port_hsr_leave = dsa_port_simple_hsr_leave,
19291931
};
19301932

19311933
static int hellcreek_probe(struct platform_device *pdev)

0 commit comments

Comments
 (0)