Re: [PATCH net-next v3 3/5] net: dsa: Add support for offloaded locked port flag
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2022-02-19 09:57:04
Also in:
bridge, linux-kselftest, lkml
From: Vladimir Oltean <olteanv@gmail.com>
Date: 2022-02-19 09:57:04
Also in:
bridge, linux-kselftest, lkml
On Fri, Feb 18, 2022 at 04:51:46PM +0100, Hans Schultz wrote:
Among the switchcores that support this feature is the Marvell mv88e6xxx family. Signed-off-by: Hans Schultz <redacted> ---
Reviewed-by: Vladimir Oltean <olteanv@gmail.com> Although this doesn't "add support for offloaded locked ports", that passes right through with no DSA-level filtering, from SWITCHDEV_ATTR_ID_PORT_BRIDGE_FLAGS to dsa_port_bridge_flags(), to ds->ops->port_bridge_flags(). Rather, a clearer description of what this does is: net: dsa: include BR_PORT_LOCKED in the list of synced brport flags Make sure the DSA switch driver gets notified of changes to the BR_PORT_LOCKED flag as well, for the case when a DSA port joins or leaves a LAG that is a bridge port.