diff options
author | 2017-06-07 18:12:15 -0400 | |
---|---|---|
committer | 2017-06-08 11:43:32 -0400 | |
commit | b2f81d304cee0e027c666890f52644a92062cce0 (patch) | |
tree | 0d0d9e7ed7e05942d890eff009221a03092176e2 /drivers/net/dsa | |
parent | net: dsa: check VLAN capability of every switch (diff) | |
download | linux-b2f81d304cee0e027c666890f52644a92062cce0.tar.gz linux-b2f81d304cee0e027c666890f52644a92062cce0.tar.bz2 linux-b2f81d304cee0e027c666890f52644a92062cce0.zip |
net: dsa: add CPU and DSA ports as VLAN members
In a multi-chip switch fabric, it is currently the responsibility of the
driver to add the CPU or DSA (interconnecting chips together) ports as
members of a new VLAN entry. This makes the drivers more complicated.
We want the DSA drivers to be stupid and the DSA core being the one
responsible for caring about the abstracted switch logic and topology.
Make the DSA core program the CPU and DSA ports as part of the VLAN.
This makes all chips of the data path to be aware of VIDs spanning the
the whole fabric and thus, seamlessly add support for cross-chip VLAN.
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions