mirror of
https://github.com/torvalds/linux.git
synced 2026-05-12 16:18:45 +02:00
net: dsa: a5psw: use simple HSR offload helpers
The "a5psw" tagging protocol uses dsa_xmit_port_mask(), which means we can offload HSR packet duplication on transmit. Enable that feature. Cc: "Clément Léger" <clement.leger@bootlin.com> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20251130131657.65080-14-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
585943b7ad
commit
7271d4a08c
|
|
@ -1035,6 +1035,8 @@ static const struct dsa_switch_ops a5psw_switch_ops = {
|
|||
.port_fdb_add = a5psw_port_fdb_add,
|
||||
.port_fdb_del = a5psw_port_fdb_del,
|
||||
.port_fdb_dump = a5psw_port_fdb_dump,
|
||||
.port_hsr_join = dsa_port_simple_hsr_join,
|
||||
.port_hsr_leave = dsa_port_simple_hsr_leave,
|
||||
};
|
||||
|
||||
static int a5psw_mdio_wait_busy(struct a5psw *a5psw)
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user