Re: [PATCH v5 net-next 09/15] net: bridge: mst: Add helper to query a port's MST state

Nikolay Aleksandrov
2022-03-17T09:01:49Z

On 16/03/2022 17:08, Tobias Waldekranz wrote:
> This is useful for switchdev drivers who are offloading MST states
> into hardware. As an example, a driver may wish to flush the FDB for a
> port when it transitions from forwarding to blocking - which means
> that the previous state must be discoverable.
>
> Signed-off-by: Tobias Waldekranz <tobias@waldekranz.com>
> ---
> include/linux/if_bridge.h | 6 ++++++
> net/bridge/br_mst.c | 25 +++++++++++++++++++++++++
> 2 files changed, 31 insertions(+)
>

Acked-by: Nikolay Aleksandrov <razor@blackwall.org>