mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
lwip: fix IPv6 ND6 queue too much pkts cause no mem issue and add menuconfig item for this params.
This commit is contained in:
parent
5cdbb9e7b1
commit
0a099b99b1
@ -537,6 +537,19 @@ config TCPIP_TASK_AFFINITY
|
|||||||
default 0x0 if TCPIP_TASK_AFFINITY_CPU0
|
default 0x0 if TCPIP_TASK_AFFINITY_CPU0
|
||||||
default 0x1 if TCPIP_TASK_AFFINITY_CPU1
|
default 0x1 if TCPIP_TASK_AFFINITY_CPU1
|
||||||
|
|
||||||
|
config LWIP_IPV6_MEMP_NUM_ND6_QUEUE
|
||||||
|
int "Max number of IPv6 packets to queue during MAC resolution"
|
||||||
|
range 3 20
|
||||||
|
default 3
|
||||||
|
help
|
||||||
|
Config max number of IPv6 packets to queue during MAC resolution.
|
||||||
|
|
||||||
|
config LWIP_IPV6_ND6_NUM_NEIGHBORS
|
||||||
|
int "Max number of entries in IPv6 neighbor cache"
|
||||||
|
range 3 10
|
||||||
|
default 5
|
||||||
|
help
|
||||||
|
Config max number of entries in IPv6 neighbor cache
|
||||||
|
|
||||||
menuconfig PPP_SUPPORT
|
menuconfig PPP_SUPPORT
|
||||||
bool "Enable PPP support (new/experimental)"
|
bool "Enable PPP support (new/experimental)"
|
||||||
|
@ -1 +1 @@
|
|||||||
Subproject commit d6fc3be058ad9b1a1c3ba29db0511caf1edcb497
|
Subproject commit db9134beabe908b1960948be6c52b5bcf153bc5d
|
@ -686,6 +686,15 @@
|
|||||||
*/
|
*/
|
||||||
#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS 0
|
#define LWIP_ND6_RDNSS_MAX_DNS_SERVERS 0
|
||||||
|
|
||||||
|
/**
|
||||||
|
* MEMP_NUM_ND6_QUEUE: Max number of IPv6 packets to queue during MAC resolution.
|
||||||
|
*/
|
||||||
|
#define MEMP_NUM_ND6_QUEUE CONFIG_LWIP_IPV6_MEMP_NUM_ND6_QUEUE
|
||||||
|
|
||||||
|
/**
|
||||||
|
* LWIP_ND6_NUM_NEIGHBORS: Number of entries in IPv6 neighbor cache
|
||||||
|
*/
|
||||||
|
#define LWIP_ND6_NUM_NEIGHBORS CONFIG_LWIP_IPV6_ND6_NUM_NEIGHBORS
|
||||||
|
|
||||||
/*
|
/*
|
||||||
---------------------------------------
|
---------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user