diff options
author | Michael Pratt <mcpratt@pm.me> | 2021-04-20 12:35:47 -0400 |
---|---|---|
committer | Petr Štetiar <ynezz@true.cz> | 2022-04-19 14:48:21 +0200 |
commit | 1769e3162e02ebe372274836ae6ad75a0391f50d (patch) | |
tree | a438ed45527b0c45529c8651f708d9f652c9a884 /tools/patchelf | |
parent | 30e47fb1e4f128e76b10fa3e0ff55c0497a9096a (diff) | |
download | upstream-1769e3162e02ebe372274836ae6ad75a0391f50d.tar.gz upstream-1769e3162e02ebe372274836ae6ad75a0391f50d.tar.bz2 upstream-1769e3162e02ebe372274836ae6ad75a0391f50d.zip |
ramips: mt7620: disable SOC VLANs for external switches
These boards have AR8327 or QCA8337 external ethernet switch.
The SOC also has it's own internal switch
where VLAN is now enabled by default.
Changes to preinit caused all switches to have VLANs enabled by default
even if they are not configured with a topology in uci_defaults
(see commit f017f617aecbd47debd4d3a734dc0e471342db96)
When both internal and external switches have VLANs,
and the external switch has both LAN and WAN,
the TX traffic from the SOC cannot flow to the tagged port on the external switch
because the VLAN IDs are not matching.
So disable the internal switch VLANs by default on these boards.
Also, add a topology for the internal switch,
so that on LuCI there is not an "unknown topology" warning.
In theory, it may be possible to have LAN ports on both switches
through internal and external PHYs, but there are no known boards that have this.
Signed-off-by: Michael Pratt <mcpratt@pm.me>
(cherry picked from commit 2adeada04558848058105cdad8195848d10d1486)
Diffstat (limited to 'tools/patchelf')
0 files changed, 0 insertions, 0 deletions