[PATCH] riscv: dts: sophgo: cv180x: fix USB dwc2 FIFO sizes
Inochi Amaoto
inochiama at gmail.com
Wed Nov 26 22:52:29 PST 2025
On Wed, 26 Nov 2025 21:21:16 +0400, Anton D. Stavinskii wrote:
> I've tested the current dwc2 FIFO configuration and found that USB
> device mode breaks in ECM mode when transmitting frames larger than
> 128 bytes. For example, large ICMP packets or iperf3 traffic cause
> the USB link to hang and eventually disconnect without any messages in
> dmesg.
>
> After switching to more conservative FIFO sizes, ECM becomes stable
> and no longer drops the connection. iperf3 now shows ~130 Mbit/s RX
> and ~100 Mbit/s TX on SG2002 (MilkV Duo 256M).
>
> [...]
Applied to dt/riscv, thanks!
[1/1] riscv: dts: sophgo: cv180x: fix USB dwc2 FIFO sizes
https://github.com/sophgo/linux/commit/1d3ed9920a193e5d99d651d6ec1dbbe215ca172f
Thanks,
Inochi
More information about the linux-riscv
mailing list