Re: [PATCH net-next v3 7/8] net: dsa: soce: Add VLAN offload support

From: Andrew Lunn

Date: Fri Sep 25 2026 - 19:32:29 EST


> The port and VID selectors are shared by all VLAN operations, so
> serialize selector and data register sequences with a dedicated mutex.
> Track member and untagged masks in software and restore the shadow state
> if programming fails.

Looking at other features of the switch, how many different mutex are
going to be needed? Is it better to have a single mutex which protects
everything?

Andrew