Re: [net-next PATCH v9 3/4] net: dsa: Add Airoha AN8855 5-Port Gigabit DSA Switch driver

From: Vladimir Oltean
Date: Thu Dec 05 2024 - 12:06:45 EST


On Thu, Dec 05, 2024 at 03:51:33PM +0100, Christian Marangi wrote:
> + .port_fdb_add = an8855_port_fdb_add,
> + .port_fdb_del = an8855_port_fdb_del,
> + .port_fdb_dump = an8855_port_fdb_dump,
> + .port_mdb_add = an8855_port_mdb_add,
> + .port_mdb_del = an8855_port_mdb_del,

Please handle the "struct dsa_db" argument of these functions, so that
you can turn on ds->fdb_isolation. It is likely that instead of a single
AN8855_FID_BRIDGED, there needs to be a unique FID allocated for each
VLAN-unaware bridge in order for their FDBs to be isolated from each
other, and so that the same MAC address could live under both bridges.