11 Star 76 Fork 100

OpenHarmony / third_party_lwip

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
0037-enable-ARP-QUEUE-to-avoid-sync-packet-dropped.patch 688 Bytes
一键复制 编辑 原始数据 按行查看 历史
Aurora 提交于 2023-12-07 03:26 . update lwip to 2.1.3-39.oe2203sp1
From 2acba8aecef2140045a8ae50b05f9f36f5dc865f Mon Sep 17 00:00:00 2001
From: jiangheng <jiangheng14@huawei.com>
Date: Wed, 23 Nov 2022 09:37:34 +0800
Subject: [PATCH] enable ARP QUEUE to avoid sync packet dropped
---
src/include/lwipopts.h | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h
index 7459991..a5add21 100644
--- a/src/include/lwipopts.h
+++ b/src/include/lwipopts.h
@@ -169,6 +169,10 @@
#define ARP_TABLE_SIZE 512
+#define ARP_QUEUEING 1
+
+#define ARP_QUEUE_LEN 32
+
/* ---------------------------------------
* ------- NIC offloads --------
* ---------------------------------------
--
2.23.0
1
https://gitee.com/openharmony/third_party_lwip.git
git@gitee.com:openharmony/third_party_lwip.git
openharmony
third_party_lwip
third_party_lwip
master

搜索帮助