2022-03-14 18:04:37

by Nikolay Aleksandrov

[permalink] [raw]
Subject: Re: [PATCH v3 net-next 02/14] net: bridge: mst: Allow changing a VLAN's MSTI

On 14/03/2022 11:52, Tobias Waldekranz wrote:
> Allow a VLAN to move out of the CST (MSTI 0), to an independent tree.
>
> The user manages the VID to MSTI mappings via a global VLAN
> setting. The proposed iproute2 interface would be:
>
> bridge vlan global set dev br0 vid <VID> msti <MSTI>
>
> Changing the state in non-zero MSTIs is still not supported, but will
> be addressed in upcoming changes.
>
> Signed-off-by: Tobias Waldekranz <[email protected]>
> ---
> include/uapi/linux/if_bridge.h | 1 +
> net/bridge/br_mst.c | 42 ++++++++++++++++++++++++++++++++++
> net/bridge/br_private.h | 1 +
> net/bridge/br_vlan_options.c | 15 ++++++++++++
> 4 files changed, 59 insertions(+)
>

Acked-by: Nikolay Aleksandrov <[email protected]>