On 19.06.2021 20:36, Hauke Mehrtens wrote:
On a DSA switch the ports have an upper device, the CPU device, e.g.
eth0. This device has to be in up state to bring up the lower devices
like lan1.
Parse the link device from "ip link show" and bring it into up stated
before bringing up the actual interface.
This is needed to make network in failsafe on systems with DSA work.
Signed-off-by: Hauke Mehrtens <ha...@hauke-m.de>
Idea behind this patch sounds OK (screen scraping of "ip" maybe a bit less).
The problem is this patch *breaks* network on normal (non-failsafe)
bcm4908 (DSA target) boot. I don't know why. In ifconfig interfaces look
OK. In "brctl show" everything seems fine too.
I've to keep debugging that problem. Meanwhile I'll also try kernel
patch.
This patch doesn't affect (break or fix) bcm53xx with swconfig.
_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel