Home
last modified time | relevance | path

Searched hist:be6ff9665d642d4cd0800b508ded289eaa5b02a2 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/net/dsa/
H A Dswitch.cdiff be6ff9665d642d4cd0800b508ded289eaa5b02a2 Fri Apr 15 10:46:26 CDT 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: don't emit targeted cross-chip notifiers for MTU change

A cross-chip notifier with "targeted_match=true" is one that matches
only the local port of the switch that emitted it. In other words,
passing through the cross-chip notifier layer serves no purpose.

Eliminate this concept by calling directly ds->ops->port_change_mtu
instead of emitting a targeted cross-chip notifier. This leaves the
DSA_NOTIFIER_MTU event being emitted only for MTU updates on the CPU
port, which need to be reflected also across all DSA links.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dport.cdiff be6ff9665d642d4cd0800b508ded289eaa5b02a2 Fri Apr 15 10:46:26 CDT 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: don't emit targeted cross-chip notifiers for MTU change

A cross-chip notifier with "targeted_match=true" is one that matches
only the local port of the switch that emitted it. In other words,
passing through the cross-chip notifier layer serves no purpose.

Eliminate this concept by calling directly ds->ops->port_change_mtu
instead of emitting a targeted cross-chip notifier. This leaves the
DSA_NOTIFIER_MTU event being emitted only for MTU updates on the CPU
port, which need to be reflected also across all DSA links.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
H A Dslave.cdiff be6ff9665d642d4cd0800b508ded289eaa5b02a2 Fri Apr 15 10:46:26 CDT 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: don't emit targeted cross-chip notifiers for MTU change

A cross-chip notifier with "targeted_match=true" is one that matches
only the local port of the switch that emitted it. In other words,
passing through the cross-chip notifier layer serves no purpose.

Eliminate this concept by calling directly ds->ops->port_change_mtu
instead of emitting a targeted cross-chip notifier. This leaves the
DSA_NOTIFIER_MTU event being emitted only for MTU updates on the CPU
port, which need to be reflected also across all DSA links.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>