mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2025-08-03 21:14:40 +08: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
|
#if IP_REASSEMBLY
|
||||||
LWIP_MEMPOOL(REASSDATA, MEMP_NUM_REASSDATA, sizeof(struct ip_reassdata), "REASSDATA")
|
LWIP_MEMPOOL(REASSDATA, MEMP_NUM_REASSDATA, sizeof(struct ip_reassdata), "REASSDATA")
|
||||||
#endif
|
#endif /* IP_REASSEMBLY */
|
||||||
|
|
||||||
#if LWIP_NETCONN
|
#if LWIP_NETCONN
|
||||||
LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
|
LWIP_MEMPOOL(NETBUF, MEMP_NUM_NETBUF, sizeof(struct netbuf), "NETBUF")
|
||||||
|
@ -211,6 +211,13 @@
|
|||||||
#define MEMP_NUM_TCP_SEG 16
|
#define MEMP_NUM_TCP_SEG 16
|
||||||
#endif
|
#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
|
* MEMP_NUM_ARP_QUEUE: the number of simulateously queued outgoing
|
||||||
* packets (pbufs) that are waiting for an ARP request (to resolve
|
* packets (pbufs) that are waiting for an ARP request (to resolve
|
||||||
|
Loading…
x
Reference in New Issue
Block a user