lwip-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no err


From: Adrian Figueroa
Subject: Re: [lwip-users] ERR_MEM when sending large data, LWIP stats show no error
Date: Thu, 14 Sep 2017 14:21:33 +0000

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:address@hidden Im Auftrag von goldsimon
Gesendet: Thursday, September 14, 2017 4:14 PM
An: Mailing list for lwIP users <address@hidden>
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
address@hidden
https://lists.nongnu.org/mailman/listinfo/lwip-users



reply via email to

[Prev in Thread] Current Thread [Next in Thread]