mirror of
https://git.savannah.nongnu.org/git/lwip.git
synced 2026-05-16 21:26:43 +08:00
task #6831: removed the option PBUF_POOL_USES_MEMP and removed the old pbuf pool code, pbuf pool now always allocates from a memp pool
This commit is contained in:
@@ -54,9 +54,7 @@ typedef enum {
|
||||
#if ARP_QUEUEING
|
||||
MEMP_ARP_QUEUE,
|
||||
#endif
|
||||
#if PBUF_POOL_USES_MEMP
|
||||
MEMP_PBUF_POOL,
|
||||
#endif
|
||||
MEMP_SYS_TIMEOUT,
|
||||
|
||||
MEMP_MAX
|
||||
|
||||
@@ -377,13 +377,6 @@ a lot of data that needs to be copied, this should be set high. */
|
||||
|
||||
|
||||
/* ---------- Pbuf options ---------- */
|
||||
/* PBUF_POOL_USES_MEMP: if set to 1, PBUF_POOL pbufs are allocated using an
|
||||
additional memp type, which saves some code since a dedicated pbuf pool
|
||||
is not used any more */
|
||||
#ifndef PBUF_POOL_USES_MEMP
|
||||
#define PBUF_POOL_USES_MEMP 0
|
||||
#endif
|
||||
|
||||
/* PBUF_POOL_SIZE: the number of buffers in the pbuf pool. */
|
||||
#ifndef PBUF_POOL_SIZE
|
||||
#define PBUF_POOL_SIZE 16
|
||||
|
||||
Reference in New Issue
Block a user