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

From: Nikolay Aleksandrov
Date: Thu Mar 17 2022 - 05:01:51 EST


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@xxxxxxxxxxxxxx>
> ---
> include/linux/if_bridge.h | 6 ++++++
> net/bridge/br_mst.c | 25 +++++++++++++++++++++++++
> 2 files changed, 31 insertions(+)
>

Acked-by: Nikolay Aleksandrov <razor@xxxxxxxxxxxxx>