opts: modify MEMP_NUM_UDP_PCB
(cherry picked from commit 4e15aea3ad871da35b49f20b4953f94f353a383f)
This commit is contained in:
parent
11a604a17b
commit
1a8b545caa
22
0123-opts-modify-MEMP_NUM_UDP_PCB.patch
Normal file
22
0123-opts-modify-MEMP_NUM_UDP_PCB.patch
Normal file
@ -0,0 +1,22 @@
|
||||
From 226fbb87dcf266d165962f1d87f9c4c5d4ea8e2d Mon Sep 17 00:00:00 2001
|
||||
From: yinbin6 <yinbin8@huawei.com>
|
||||
Date: Thu, 11 Apr 2024 15:07:47 +0800
|
||||
Subject: [PATCH] opts: modify MEMP_NUM_UDP_PCB
|
||||
|
||||
|
||||
diff --git a/src/include/lwipopts.h b/src/include/lwipopts.h
|
||||
index 62573f5..4655388 100644
|
||||
--- a/src/include/lwipopts.h
|
||||
+++ b/src/include/lwipopts.h
|
||||
@@ -192,7 +192,7 @@
|
||||
|
||||
#define UDP_HLEN 8
|
||||
|
||||
-#define MEMP_NUM_UDP_PCB 16
|
||||
+#define MEMP_NUM_UDP_PCB (GAZELLE_MAX_CLIENTS + GAZELLE_RESERVED_CLIENTS)
|
||||
#define MEMP_NUM_IGMP_GROUP 16
|
||||
|
||||
#define DEFAULT_UDP_RECVMBOX_SIZE 4096
|
||||
--
|
||||
2.33.0
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||
Name: lwip
|
||||
Version: 2.2.0
|
||||
Release: 15
|
||||
Release: 16
|
||||
License: BSD
|
||||
URL: http://savannah.nongnu.org/projects/lwip/
|
||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||
@ -134,6 +134,7 @@ Patch9118: 0119-support-igmpv3.patch
|
||||
Patch9119: 0120-enable-SO_REUSE_RXTOALL.patch
|
||||
Patch9120: 0121-add-vlan-filter.patch
|
||||
Patch9121: 0122-support-mldv2.patch
|
||||
Patch9122: 0123-opts-modify-MEMP_NUM_UDP_PCB.patch
|
||||
|
||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||
|
||||
@ -163,6 +164,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
||||
%{_libdir}/liblwip.a
|
||||
|
||||
%changelog
|
||||
* Thu Apr 11 2024 yinbin <yinbin8@huawei.com> - 2.2.0-16
|
||||
- opts: modify MEMP_NUM_UDP_PCB
|
||||
|
||||
* Tue Apr 09 2024 wanfeng <wanfeng@kylinos.cn> - 2.2.0-15
|
||||
- add ipv6 mldv2 multicast protocol
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user