lwip-devel
[Top][All Lists]
Advanced

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

[lwip-devel] [patch #7702] Include ability to increase the socket number


From: Nick van IJzendoorn
Subject: [lwip-devel] [patch #7702] Include ability to increase the socket number with defined offset
Date: Tue, 17 Jan 2012 20:44:49 +0000
User-agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/535.2 (KHTML, like Gecko) Chrome/15.0.874.121 Safari/535.2

Follow-up Comment #2, patch #7702 (project lwip):

You should be cautious with that since you can easily make an configuration
error if (LWIP_SOCKET_MAX - LWIP_SOCKET_MIN) < (MEMP_NUM_RAW_PCB +
MEMP_NUM_UDP_PCB + MEMP_NUM_TCP_PCB + MEMP_NUM_TCP_PCB_LISTEN)

Another idea would be to force the LWIP_SOCKET_MIN / LWIP_SOCKET_OFFSET to be
byte alignment so you can reduce the performance loss on redirecting the
FD_SET in select to the appropriate drivers. Since you can then quickly check
each byte and copy it to an shadow FD_SET.

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/patch/?7702>

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




reply via email to

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