Просмотр исходного кода

Merge branch 'bugfix/fix_udp_tx_performance_issue_v4.1' into 'release/v4.1'

lw-ip: fix udp tx packet loss issue (backport v4.1)

See merge request espressif/esp-idf!10018
Jiang Jiang Jian 5 лет назад
Родитель
Сommit
67b87e1bd8
3 измененных файлов с 25 добавлено и 1 удалено
  1. 14 0
      components/lwip/Kconfig
  2. 1 1
      components/lwip/lwip
  3. 10 0
      components/lwip/port/esp32/include/lwipopts.h

+ 14 - 0
components/lwip/Kconfig

@@ -587,6 +587,20 @@ menu "LWIP"
             This would in turn fail the configuration for the whole link.
             This would in turn fail the configuration for the whole link.
             If your modem is not responding correctly to PPP Phase Network, try to disable IPV6 support.
             If your modem is not responding correctly to PPP Phase Network, try to disable IPV6 support.
 
 
+    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
+
     config LWIP_PPP_NOTIFY_PHASE_SUPPORT
     config LWIP_PPP_NOTIFY_PHASE_SUPPORT
         bool "Enable Notify Phase Callback"
         bool "Enable Notify Phase Callback"
         depends on LWIP_PPP_SUPPORT
         depends on LWIP_PPP_SUPPORT

+ 1 - 1
components/lwip/lwip

@@ -1 +1 @@
-Subproject commit 5b2072ebb82e606ed1d0ae1345742716d6499e7e
+Subproject commit 80d6d19a929c6db577fc44a47fdb4acffdd68933

+ 10 - 0
components/lwip/port/esp32/include/lwipopts.h

@@ -708,6 +708,16 @@
  */
  */
 #define LWIP_IPV6                       1
 #define LWIP_IPV6                       1
 
 
+/**
+ * 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
+
 /*
 /*
    ---------------------------------------
    ---------------------------------------
    ---------- Hook options ---------------
    ---------- Hook options ---------------