加入 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
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化