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>
This commit is contained in:
committed by
Jakub Kicinski
parent
4af9fa2ba6
commit
017bcff732
@@ -1926,6 +1926,8 @@ static const struct dsa_switch_ops hellcreek_ds_ops = {
|
||||
.port_vlan_filtering = hellcreek_vlan_filtering,
|
||||
.setup = hellcreek_setup,
|
||||
.teardown = hellcreek_teardown,
|
||||
.port_hsr_join = dsa_port_simple_hsr_join,
|
||||
.port_hsr_leave = dsa_port_simple_hsr_leave,
|
||||
};
|
||||
|
||||
static int hellcreek_probe(struct platform_device *pdev)
|
||||
|
||||
Reference in New Issue
Block a user