[PATCH] ath79: Push MV88E6060 DSA switch into package

Felix Baumann felix.baumann at freifunk-aachen.de
Thu Jan 2 07:14:47 PST 2025


Hi,

I'm pretty certain qca8k is going to be run as a DSA switch eventually, but devs are still working on that to avoid regressions and performance penalties afaik.

There are a couple Pull Requests on github but I can't find the right one at the moment. (some superseeded others)

Regards
Felix Baumann

Am 2. Januar 2025 15:44:45 MEZ schrieb Linus Walleij <linus.walleij at linaro.org>:
>We can use a package for the MV88E6060 DSA switch on the single
>ath79 device that uses it, saving around 600 KB of memory on
>all other devices (for the DSA infrastructure, mainly).
>
>As far as I can see the TP-Link TL WR941 v2 is the only device
>using MV88E6060 and the only device with a DSA switch overall.
>
>However the ath79 people should look at this so I'm not
>mistaken.
>
>Signed-off-by: Linus Walleij <linus.walleij at linaro.org>
>---
> target/linux/ath79/image/tiny-tp-link.mk | 1 +
> target/linux/ath79/tiny/config-default   | 3 ---
> 2 files changed, 1 insertion(+), 3 deletions(-)
>
>diff --git a/target/linux/ath79/image/tiny-tp-link.mk b/target/linux/ath79/image/tiny-tp-link.mk
>index 93cbc7d148cfd3ced21162ed258186e422aa5b73..70c3ab4c7b5d5425a679766078e3d907d57c9559 100644
>--- a/target/linux/ath79/image/tiny-tp-link.mk
>+++ b/target/linux/ath79/image/tiny-tp-link.mk
>@@ -481,6 +481,7 @@ define Device/tplink_tl-wr941-v2
>   $(Device/tplink-4m)
>   SOC := ar9132
>   DEVICE_MODEL := TL-WR941ND
>+  DEVICE_PACKAGES := kmod-dsa-mv88e6060
>   DEVICE_VARIANT := v2/v3
>   DEVICE_ALT0_VENDOR := TP-Link
>   DEVICE_ALT0_MODEL := TL-WR941N
>diff --git a/target/linux/ath79/tiny/config-default b/target/linux/ath79/tiny/config-default
>index e47260df82056f27ed805a9f90b94983d7168794..38fbe1b5228be3a6e2fa024d60a89c4ea57f1661 100644
>--- a/target/linux/ath79/tiny/config-default
>+++ b/target/linux/ath79/tiny/config-default
>@@ -1,9 +1,6 @@
> CONFIG_GRO_CELLS=y
> CONFIG_MTD_SPI_NOR_USE_4K_SECTORS=y
> CONFIG_NET_DEVLINK=y
>-CONFIG_NET_DSA=y
>-CONFIG_NET_DSA_MV88E6060=y
>-CONFIG_NET_DSA_TAG_TRAILER=y
> CONFIG_NET_SWITCHDEV=y
> CONFIG_NVMEM_SYSFS=y
> CONFIG_NVMEM_U_BOOT_ENV=y
>
>---
>base-commit: f0df6e3a4a4996eca917fa17591b8f1d483dfa30
>change-id: 20250102-ath79-mv88e6060-module-d4ee1c78d32a
>
>Best regards,



More information about the openwrt-devel mailing list