3 days in I have a memory use graph from luci-statistics, and the difference is pretty stunning: Memory use hovers around 40mb and is stable plus/minus 5 MB as WiFi clients come and go.
The change I hacked into my build is this:
--- openwrt-orig/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-6.6.100/drivers/net/ethernet/mediatek/mtk_eth_soc.c 2025-08-11 21:05:42.020814611 +0300
+++ openwrt/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/linux-6.6.100/drivers/net/ethernet/mediatek/mtk_eth_soc.c 2025-08-11 21:51:09.364872361 +0300
@@ -5424,14 +5424,14 @@
.desc_size = sizeof(struct mtk_tx_dma),
.dma_max_len = MTK_TX_DMA_BUF_LEN,
.dma_len_offset = 16,
- .dma_size = MTK_DMA_SIZE(2K),
+ .dma_size = MTK_DMA_SIZE(512),
.fq_dma_size = MTK_DMA_SIZE(2K),
},
.rx = {
.desc_size = sizeof(struct mtk_rx_dma),
.irq_done_mask = MTK_RX_DONE_INT,
.dma_l4_valid = RX_DMA_L4_VALID,
- .dma_size = MTK_DMA_SIZE(2K),
+ .dma_size = MTK_DMA_SIZE(512),
.dma_max_len = MTK_TX_DMA_BUF_LEN,
.dma_len_offset = 16,
},
I have now reverted it to see if the problem comes back or if something else fixed the problem by accident.
