summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorVladimir Oltean <vladimir.oltean@nxp.com>2026-05-12 16:06:28 +0300
committerJakub Kicinski <kuba@kernel.org>2026-05-15 04:16:15 +0300
commit5973ddcc1765cfb325747eb4bab7c504e1f282bd (patch)
tree4380d262a7e5b810b526d1e4567eaf18d0ae9bbe /include
parentede165ba0bd0b91f388f43ff0df89afd34dd24c1 (diff)
downloadlinux-5973ddcc1765cfb325747eb4bab7c504e1f282bd.tar.xz
net: dsa: microchip: bypass dev_ops for mirror operations
Mirror operations are handled through a common function that redirects the treatment to ksz_dev_ops callbacks. This layer of indirection isn't needed since we now have a dsa_switch_ops for each switch family. Remove this indirection layer for KSZ switches, by connecting the ksz_dev_ops :: mirror_add() and mirror_del() operations directly to dsa_switch_ops. Remove the now unused mirror callbacks from ksz_dev_ops. Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com> Signed-off-by: Bastien Curutchet (Schneider Electric) <bastien.curutchet@bootlin.com> Link: https://patch.msgid.link/20260512-clean-ksz-2nd-series-v1-6-c00f6ce037fa@bootlin.com Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions