net: dsa: remove cross-chip support for HSR
authorVladimir Oltean <vladimir.oltean@nxp.com>
Wed, 5 Jan 2022 13:18:13 +0000 (15:18 +0200)
committerDavid S. Miller <davem@davemloft.net>
Wed, 5 Jan 2022 15:04:51 +0000 (15:04 +0000)
commita68dc7b938fbbf3d4d74b81a9b5d0d6fdd78566c
treedeef016c88876e27f951290ccfaafec7540e9487
parentcad69019f2f8c8c36006fa67b4b5ce04ac2e262b
net: dsa: remove cross-chip support for HSR

The cross-chip notifiers for HSR 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: George McCollister <george.mccollister@gmail.com>
Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Reviewed-by: George McCollister <george.mccollister@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/dsa/dsa_priv.h
net/dsa/port.c
net/dsa/switch.c