mirror of
https://github.com/torvalds/linux.git
synced 2026-05-26 08:02:27 +02:00
net: dsa: yt921x: use simple HSR offloading helpers
Accelerate TX packet duplication with HSR rings. Cc: David Yang <mmyangfl@gmail.com> Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Link: https://patch.msgid.link/20251130131657.65080-7-vladimir.oltean@nxp.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
This commit is contained in:
parent
0e75bfe340
commit
42e63b1373
|
|
@ -2874,6 +2874,9 @@ static const struct dsa_switch_ops yt921x_dsa_switch_ops = {
|
|||
/* mtu */
|
||||
.port_change_mtu = yt921x_dsa_port_change_mtu,
|
||||
.port_max_mtu = yt921x_dsa_port_max_mtu,
|
||||
/* hsr */
|
||||
.port_hsr_leave = dsa_port_simple_hsr_leave,
|
||||
.port_hsr_join = dsa_port_simple_hsr_join,
|
||||
/* mirror */
|
||||
.port_mirror_del = yt921x_dsa_port_mirror_del,
|
||||
.port_mirror_add = yt921x_dsa_port_mirror_add,
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user