]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: remove cross-chip support for MRP
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 5 Jan 2022 13:18:12 +0000 (15:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 15:04:50 +0000 (15:04 +0000)
commit0916020df56f4ebd816f13edac09b40a5f2e75f8
treee28427b650ae84283c04e062d9096b4916c5254c
parenta9356efb9dd993e63481ba2ec37227580b5f7515
net: dsa: remove cross-chip support for MRP

The cross-chip notifiers for MRP are bypass operations, meaning that
even though all switches in a tree are notified, only the switch
specified in the info structure is targeted.

We can eliminate the unnecessary complexity by deleting the cross-chip
notifier logic and calling the ds->ops straight from port.c.

Cc: Horatiu Vultur <horatiu.vultur@microchip.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa_priv.h
net/dsa/port.c
net/dsa/switch.c