From ceea97495f5070e50ba3b36de3b9f1a0afcf5226 Mon Sep 17 00:00:00 2001 From: Liu Zhi Fu Date: Thu, 17 Nov 2016 10:22:20 +0800 Subject: [PATCH] lwip:refractor to the description about this menuconfig option --- components/lwip/Kconfig | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/components/lwip/Kconfig b/components/lwip/Kconfig index 7661fe6cb7..bf7bff15b4 100644 --- a/components/lwip/Kconfig +++ b/components/lwip/Kconfig @@ -4,16 +4,17 @@ config L2_TO_L3_COPY bool "Enable copy between Layer2 and Layer3 packets" default 0 help - If this feature is enabled, then all traffic from layer2(WIFI Driver) - to layer3(LWIP stack) will make a copy, the layer2 buffer will be - freed and the copy will be sent to layer3. Please be notified that the - total layer2 receiving buffer is fixed and ESP32 currently supports 25 - layer2 receiving buffer, when layer2 buffer runs out of memory, then the - incoming packets will be dropped in hardware. The layer3 buffer is - allocated from the heap, so the total layer3 receiving buffer depends - on the available heap size, when heap runs out of memory, no copy will - be sent to layer3 and packet will be dropped in layer2. Please make sure - you fully understand the impact of this feature before enabling it. + If this feature is enabled, all traffic from layer2(WIFI Driver) will be + copied to a new buffer before sending it to layer3(LWIP stack), freeing + the layer2 buffer. + Please be notified that the total layer2 receiving buffer is fixed and + ESP32 currently supports 25 layer2 receiving buffer, when layer2 buffer + runs out of memory, then the incoming packets will be dropped in hardware. + The layer3 buffer is allocated from the heap, so the total layer3 receiving + buffer depends on the available heap size, when heap runs out of memory, + no copy will be sent to layer3 and packet will be dropped in layer2. + Please make sure you fully understand the impact of this feature before + enabling it. config LWIP_MAX_SOCKETS int "Max number of open sockets" -- 2.40.0