Home
last modified time | relevance | path

Searched hist:"219827 ef92f86460a6159c012636cae5e1e7a0e3" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/net/dsa/sja1105/
H A Dsja1105_main.cdiff 219827ef92f86460a6159c012636cae5e1e7a0e3 Fri Feb 25 03:22:24 CST 2022 Vladimir Oltean <vladimir.oltean@nxp.com> net: dsa: sja1105: enforce FDB isolation

For sja1105, to enforce FDB isolation simply means to turn on
Independent VLAN Learning unconditionally, and to remap VLAN-unaware FDB
and MDB entries towards the private VLAN allocated by tag_8021q for each
bridge.

Standalone ports each have their own standalone tag_8021q VLAN. No
learning happens in that VLAN due to:
- learning being disabled on standalone user ports
- learning being disabled on the CPU port (we use
assisted_learning_on_cpu_port which only installs bridge FDBs)

VLAN-aware ports learn FDB entries with the bridge VLANs.

VLAN-unaware bridge ports learn with the tag_8021q VLAN for bridging.

Signed-off-by: Vladimir Oltean <vladimir.oltean@nxp.com>
Signed-off-by: David S. Miller <davem@davemloft.net>