lwip:refractor to the description about this menuconfig option

This commit is contained in:
Liu Zhi Fu
2016-11-17 10:22:20 +08:00
parent 0b2cea6e9f
commit ceea97495f

View File

@@ -4,16 +4,17 @@ config L2_TO_L3_COPY
bool "Enable copy between Layer2 and Layer3 packets" bool "Enable copy between Layer2 and Layer3 packets"
default 0 default 0
help help
If this feature is enabled, then all traffic from layer2(WIFI Driver) If this feature is enabled, all traffic from layer2(WIFI Driver) will be
to layer3(LWIP stack) will make a copy, the layer2 buffer will be copied to a new buffer before sending it to layer3(LWIP stack), freeing
freed and the copy will be sent to layer3. Please be notified that the the layer2 buffer.
total layer2 receiving buffer is fixed and ESP32 currently supports 25 Please be notified that the total layer2 receiving buffer is fixed and
layer2 receiving buffer, when layer2 buffer runs out of memory, then the ESP32 currently supports 25 layer2 receiving buffer, when layer2 buffer
incoming packets will be dropped in hardware. The layer3 buffer is runs out of memory, then the incoming packets will be dropped in hardware.
allocated from the heap, so the total layer3 receiving buffer depends The layer3 buffer is allocated from the heap, so the total layer3 receiving
on the available heap size, when heap runs out of memory, no copy will buffer depends on the available heap size, when heap runs out of memory,
be sent to layer3 and packet will be dropped in layer2. Please make sure no copy will be sent to layer3 and packet will be dropped in layer2.
you fully understand the impact of this feature before enabling it. Please make sure you fully understand the impact of this feature before
enabling it.
config LWIP_MAX_SOCKETS config LWIP_MAX_SOCKETS
int "Max number of open sockets" int "Max number of open sockets"