mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-10-01 04:12:07 +00:00
PPP: enable PPP_USE_PBUF_RAM by default
We need PBUF_RAM for quite a while for PPP, e.g. through pbuf_coalesce and for all PPP transmit paths. There are no real reason to keep allocating packets from PBUF_POOL for PPP control packets transmit path by default today.
This commit is contained in:
parent
6b30cf62cc
commit
012fadd77f
@ -191,11 +191,11 @@
|
|||||||
* that are not going to be chained when allocated. This requires setting
|
* that are not going to be chained when allocated. This requires setting
|
||||||
* PBUF_POOL_BUFSIZE to at least 512 bytes, which is quite huge for small systems.
|
* PBUF_POOL_BUFSIZE to at least 512 bytes, which is quite huge for small systems.
|
||||||
*
|
*
|
||||||
* Setting PPP_USE_PBUF_RAM to 1 makes PPP use memory from heap where continuous
|
* Setting PPP_USE_PBUF_RAM to 1 makes PPP use memory from heap where buffers are
|
||||||
* buffers are required, allowing you to use a smaller PBUF_POOL_BUFSIZE.
|
* continuous by design, allowing you to use a smaller PBUF_POOL_BUFSIZE.
|
||||||
*/
|
*/
|
||||||
#ifndef PPP_USE_PBUF_RAM
|
#ifndef PPP_USE_PBUF_RAM
|
||||||
#define PPP_USE_PBUF_RAM 0
|
#define PPP_USE_PBUF_RAM 1
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user