lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [bug #42633] Write many frames at high speed to a PC stops


From: Sylvain Rochet
Subject: [lwip-devel] [bug #42633] Write many frames at high speed to a PC stops communication random.
Date: Fri, 27 Jun 2014 13:27:05 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:30.0) Gecko/20100101 Firefox/30.0 Iceweasel/30.0

Follow-up Comment #3, bug #42633 (project lwip):

> There is a thread switch in between which I can investigate more.
> At lower speed with delays in communication, it seems to work better. Below
8192 bytes there is never a communication issue. (Window size) 

This definitely looks like a low level driver not following lwIP threading
model.

If you are using threads, are you using the NETCONN or SOCKET API only ? RAW
API is not thread safe.

If you are using pbuf_alloc() outside of the lwIP main thread, is
SYS_LIGHTWEIGHT_PROT set in your lwipopts.h ?

Sylvain





    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?42633>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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