This again suggests that the ST provided driver is flawed (which is very 
possible).

I have a transfer rate of around 10 Mbit/s with this window size, which is not 
great yet. In fact, I need more than this.

Can you point me to some resources with regard to writing a driver/debugging 
it? Unfortunately, I have no experience in this field, which may make it hard.

Thank you,
Adrian

-----Ursprüngliche Nachricht-----
Von: lwip-users 
[mailto:lwip-users-bounces+adrian.figueroa=tu-dresden...@nongnu.org] Im Auftrag 
von goldsimon
Gesendet: Thursday, September 14, 2017 4:14 PM
An: Mailing list for lwIP users <lwip-users@nongnu.org>
Betreff: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no 
error



Adrian Figueroa wrote::
>I have no idea why I have no packet loss with TCP_WND and TCP_SND_BUF 
>set to 2xTCP_MSS. Instead, I get rare ZeroWindow errors from my PC.

Because you don't fill your DMA buffers in this case and as a result, you don't 
drop tx segments.

Implementing a zero copy driver in lwip is, unfortunately, still not that easy.

Simon

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

_______________________________________________
lwip-users mailing list
lwip-users@nongnu.org
https://lists.nongnu.org/mailman/listinfo/lwip-users

Reply via email to