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

net: dsa: mv88e6060: use simple HSR offload helpers

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

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

authored by

Vladimir Oltean and committed by
Jakub Kicinski
4af9fa2b b6ad21ef

+2
+2
drivers/net/dsa/mv88e6060.c
··· 297 297 .phy_read = mv88e6060_phy_read, 298 298 .phy_write = mv88e6060_phy_write, 299 299 .phylink_get_caps = mv88e6060_phylink_get_caps, 300 + .port_hsr_join = dsa_port_simple_hsr_join, 301 + .port_hsr_leave = dsa_port_simple_hsr_leave, 300 302 }; 301 303 302 304 static int mv88e6060_probe(struct mdio_device *mdiodev)