mirror of
https://github.com/torvalds/linux.git
synced 2025-12-07 20:06:24 +00:00
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>
This commit is contained in:
committed by
Jakub Kicinski
parent
b6ad21ef28
commit
4af9fa2ba6
@@ -297,6 +297,8 @@ static const struct dsa_switch_ops mv88e6060_switch_ops = {
|
||||
.phy_read = mv88e6060_phy_read,
|
||||
.phy_write = mv88e6060_phy_write,
|
||||
.phylink_get_caps = mv88e6060_phylink_get_caps,
|
||||
.port_hsr_join = dsa_port_simple_hsr_join,
|
||||
.port_hsr_leave = dsa_port_simple_hsr_leave,
|
||||
};
|
||||
|
||||
static int mv88e6060_probe(struct mdio_device *mdiodev)
|
||||
|
||||
Reference in New Issue
Block a user