mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-03 21:32:08 +00:00
Minor change (add a default value to tune for MEMP_NUM_REASSDATA in opt.h)
This commit is contained in:
parent
2ca113a218
commit
afad35a8ac
@ -45,7 +45,7 @@ LWIP_MEMPOOL(TCP_SEG, MEMP_NUM_TCP_SEG, sizeof(struct tcp_seg),
|
||||
|
||||
#if IP_REASSEMBLY
|
||||
LWIP_MEMPOOL(REASSDATA, MEMP_NUM_REASSDATA, sizeof(struct ip_reassdata), "REASSDATA")
|
||||
#endif
|
||||
#endif /* IP_REASSEMBLY */
|
||||
|
||||
#if LWIP_NETCONN
|
||||
LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
|
||||
|
@ -211,6 +211,13 @@
|
||||
#define MEMP_NUM_TCP_SEG 16
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MEMP_NUM_REASSDATA: ...@todo to define to a best value
|
||||
*/
|
||||
#ifndef MEMP_NUM_REASSDATA
|
||||
#define MEMP_NUM_REASSDATA 8
|
||||
#endif
|
||||
|
||||
/**
|
||||
* MEMP_NUM_ARP_QUEUE: the number of simulateously queued outgoing
|
||||
* packets (pbufs) that are waiting for an ARP request (to resolve
|
||||
|
Loading…
Reference in New Issue
Block a user