1195972f6Sopenharmony_ci%global debug_package %{nil}
2195972f6Sopenharmony_ci%global __os_install_post %{nil}
3195972f6Sopenharmony_ci
4195972f6Sopenharmony_ciSummary: lwip is a small independent implementation of the TCP/IP protocol suite
5195972f6Sopenharmony_ciName:    lwip
6195972f6Sopenharmony_ciVersion: 2.1.3
7195972f6Sopenharmony_ciRelease: 102
8195972f6Sopenharmony_ciLicense: BSD
9195972f6Sopenharmony_ciURL:     http://savannah.nongnu.org/projects/lwip/
10195972f6Sopenharmony_ciSource0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
11195972f6Sopenharmony_ci
12195972f6Sopenharmony_ciPatch6001:  backport-tcp-fix-sequence-number-comparison.patch
13195972f6Sopenharmony_ciPatch6002:  backport-tcp-tighten-up-checks-for-received-SYN.patch
14195972f6Sopenharmony_ci
15195972f6Sopenharmony_ciPatch9000:  0001-add-makefile.patch
16195972f6Sopenharmony_ciPatch9001:  0002-adapt-lstack.patch
17195972f6Sopenharmony_ciPatch9002:  0003-fix-the-occasional-coredump-when-the-lwip-exits.patch
18195972f6Sopenharmony_ciPatch9003:  0004-fix-error-of-deleting-conn-table-in-connect.patch
19195972f6Sopenharmony_ciPatch9004:  0005-syn-rcvd-state-reg-conn-into-conntable.patch
20195972f6Sopenharmony_ciPatch9005:  0006-fix-coredump-in-etharp.patch
21195972f6Sopenharmony_ciPatch9006:  0007-gazelle-fix-epoll_ctl-EPOLLET-mode-error.patch
22195972f6Sopenharmony_ciPatch9007:  0008-gazelle-fix-lwip_accept-memcpy-sockaddr-large.patch
23195972f6Sopenharmony_ciPatch9008:  0009-fix-stack-buffer-overflow-when-memcpy-addr.patch
24195972f6Sopenharmony_ciPatch9009:  0010-fix-the-incomplete-release-of-the-conntable.patch
25195972f6Sopenharmony_ciPatch9010:  0011-remove-gazelle-tcp-conn-func.patch
26195972f6Sopenharmony_ciPatch9011:  0012-fix-incomplete-resource-release-in-lwip-close.patch
27195972f6Sopenharmony_ciPatch9012:  0013-remove-gazelle-syscall-thread.patch
28195972f6Sopenharmony_ciPatch9013:  0014-fix-some-compile-errors.patch
29195972f6Sopenharmony_ciPatch9014:  0015-fix-tcp-port-alloc-issue.patch
30195972f6Sopenharmony_ciPatch9015:  0016-lstack-support-mysql-mode.patch
31195972f6Sopenharmony_ciPatch9016:  0017-support-REUSEPOR-option.patch
32195972f6Sopenharmony_ciPatch9017:  0018-exec-gazelle_init_sock-before-read-event.patch
33195972f6Sopenharmony_ciPatch9018:  0019-gazelle-reduce-copy-in-send.patch
34195972f6Sopenharmony_ciPatch9019:  0020-remove-chose_dlsym_handle-function-set-handle-to-RTL.patch
35195972f6Sopenharmony_ciPatch9020:  0021-refactor-event-if-ring-is-full-the-node-is-added-to-.patch
36195972f6Sopenharmony_ciPatch9021:  0022-notify-app-that-sock-state-changes-to-CLOSE_WAIT.patch
37195972f6Sopenharmony_ciPatch9022:  0023-refactor-event-and-checksum-offload-support.patch
38195972f6Sopenharmony_ciPatch9023:  0024-refactor-pkt-read-send-performance.patch
39195972f6Sopenharmony_ciPatch9024:  0025-Replace-gettid-with-syscall-SYS_gettid.patch
40195972f6Sopenharmony_ciPatch9025:  0026-del-redundant-wait_close-and-move-epoll_events-pos.patch
41195972f6Sopenharmony_ciPatch9026:  0027-modify-EISCONN-condition.patch
42195972f6Sopenharmony_ciPatch9027:  0028-per-thread-reassdata-variables.patch
43195972f6Sopenharmony_ciPatch9028:  0029-fix-EISCONN-err-and-remove-same-customized-modificat.patch
44195972f6Sopenharmony_ciPatch9029:  0030-refactor-tcp-new-port.patch
45195972f6Sopenharmony_ciPatch9030:  0031-refactor-add-event-limit-send-pkts-num.patch
46195972f6Sopenharmony_ciPatch9031:  0032-fix-free-pbuf-miss-data.patch
47195972f6Sopenharmony_ciPatch9032:  0033-alloc-socket-fail-clean-sock.patch
48195972f6Sopenharmony_ciPatch9033:  0034-add-accept4-and-epoll_create1.patch
49195972f6Sopenharmony_ciPatch9034:  0035-add-writev-and-readv.patch
50195972f6Sopenharmony_ciPatch9035:  0036-add-fs-secure-compilation-option.patch
51195972f6Sopenharmony_ciPatch9036:  0037-enable-ARP-QUEUE-to-avoid-sync-packet-dropped.patch
52195972f6Sopenharmony_ciPatch9037:  0038-add-tso.patch
53195972f6Sopenharmony_ciPatch9038:  0039-optimize-app-thread-write-buff-block.patch
54195972f6Sopenharmony_ciPatch9039:  0040-add-huge-snd_buf.patch
55195972f6Sopenharmony_ciPatch9040:  0041-optimite-pcb-list-limit-send-size-and-ack-now.patch
56195972f6Sopenharmony_ciPatch9041:  0042-expand-recv-win.patch
57195972f6Sopenharmony_ciPatch9042:  0043-add-prefetch.patch
58195972f6Sopenharmony_ciPatch9043:  0044-skip-unnecessary-tcp_route.patch
59195972f6Sopenharmony_ciPatch9044:  0045-add-variable-in-struct-sock.patch
60195972f6Sopenharmony_ciPatch9045:  0046-add-dataack-when-recv-too-many-acks-with-data.patch
61195972f6Sopenharmony_ciPatch9046:  0047-reduce-struct-pbuf-size.patch
62195972f6Sopenharmony_ciPatch9047:  0048-listen-pcb-also-use-pcb_if.patch
63195972f6Sopenharmony_ciPatch9048:  0049-expand-recv-mbox-size.patch
64195972f6Sopenharmony_ciPatch9049:  0050-lwip-reuse-ip-port.patch
65195972f6Sopenharmony_ciPatch9050:  0051-lwip-add-need_tso_send.patch
66195972f6Sopenharmony_ciPatch9051:  0052-lwip_fnctl-only-support-F_SETFL-F_GETFL.patch
67195972f6Sopenharmony_ciPatch9052:  0053-cleancode-improve-lwipopts.h-readability.patch
68195972f6Sopenharmony_ciPatch9053:  0054-reduce-cpu-usage-when-send.patch
69195972f6Sopenharmony_ciPatch9054:  0055-add-pbuf-lock-when-aggregate-pbuf.patch
70195972f6Sopenharmony_ciPatch9055:  0056-fix-tso-small-packet-drop-in-kernel-server.patch
71195972f6Sopenharmony_ciPatch9056:  0057-same-node-gazellectl-a.patch
72195972f6Sopenharmony_ciPatch9057:  0058-lwip-send-recv-thread-bind-numa.patch
73195972f6Sopenharmony_ciPatch9058:  0059-fix-last_unsent-last_unacked.patch
74195972f6Sopenharmony_ciPatch9059:  0060-lwip-add-udp-multicast.patch
75195972f6Sopenharmony_ciPatch9060:  0061-fix-pbuf-leak-in-udp-connection.patch
76195972f6Sopenharmony_ciPatch9061:  0062-drop-netbuf-in-recv_udp-to-fix-mem-overflow.patch
77195972f6Sopenharmony_ciPatch9062:  0063-optimize-avoid-too-many-empty-acks-in-tcp_input.patch
78195972f6Sopenharmony_ciPatch9063:  0064-fix-udp-send-recv-in-multiple-queue.patch
79195972f6Sopenharmony_ciPatch9064:  0065-fix-udp-recvmbox-size-not-set.patch
80195972f6Sopenharmony_ciPatch9065:  0066-adapt-to-dpdk-19.11-and-dpdk-21.11.patch
81195972f6Sopenharmony_ciPatch9066:  0067-fix-null-pointer-when-all-zero-address-listen.patch
82195972f6Sopenharmony_ciPatch9067:  0068-enable-UDP-CKSUM-in-lwip.patch
83195972f6Sopenharmony_ciPatch9068:  0069-add-error-check-in-hugepage_init-and-sys_mbox_free.patch
84195972f6Sopenharmony_ciPatch9069:  0070-add-CHECKSUM_UDP-when-not-support-OFFLOAD_UDP_CHECKS.patch
85195972f6Sopenharmony_ciPatch9070:  0071-fix-pbuf-tot_len-incorrect-after-pbuf_split_64k-is-c.patch
86195972f6Sopenharmony_ciPatch9071:  0072-add-O_NONBLOCK-and-FIONBIO-when-not-defined.patch
87195972f6Sopenharmony_ciPatch9072:  0073-lstack_lwip-external-api-start-with-do_lwip_-prefix.patch
88195972f6Sopenharmony_ciPatch9073:  0074-gazelle-offloads-are-registered-to-lwip.patch
89195972f6Sopenharmony_ciPatch9074:  0075-adapt-read-write-for-rtc-mode.patch
90195972f6Sopenharmony_ciPatch9075:  0076-fix-recvmsg-return-EINVAL.patch
91195972f6Sopenharmony_ciPatch9076:  0077-adpat-event-for-rtc-mode.patch
92195972f6Sopenharmony_ciPatch9077:  0078-posix_api-support-select.patch
93195972f6Sopenharmony_ciPatch6003:  backport-Add-outgoing-VLAN-PCP-support.patch
94195972f6Sopenharmony_ciPatch6004:  backport-fix-compiling-ETHARP_SUPPORT_VLAN.patch
95195972f6Sopenharmony_ciPatch9078:  0079-enable-vlan-define.patch
96195972f6Sopenharmony_ciPatch9079:  0080-enable-ipv6.patch
97195972f6Sopenharmony_ciPatch9080:  0081-ip6-hdr.patch
98195972f6Sopenharmony_ciPatch9081:  0082-add-vlanid-in-netif.patch
99195972f6Sopenharmony_ciPatch9082:  0083-lwipopts-add-lwip-debug-log-macro.patch
100195972f6Sopenharmony_ciPatch9083:  0084-add-tcpslowtmr-log-and-tcpfasttmr-cnt.patch
101195972f6Sopenharmony_ciPatch9084:  0085-add-lwip-log-tcp_rst-tcp_abandon-tcp_abort.patch
102195972f6Sopenharmony_ciPatch9085:  0086-log-add-errevent-log-and-tcp-exception-statistics.patch
103195972f6Sopenharmony_ciPatch9086:  0087-support-vlan-offload.patch
104195972f6Sopenharmony_ciPatch9087:  0088-modify-log-info-err.patch
105195972f6Sopenharmony_ciPatch9088:  0089-add-struct-gz-addr.patch
106195972f6Sopenharmony_ciPatch9089:  0090-frag-fix-coredump-when-get-netif.patch
107195972f6Sopenharmony_ciPatch9090:  0091-add-fd-log-info-and-fix-wrong-port-log-info.patch
108195972f6Sopenharmony_ciPatch9091:  0092-fix-the-coredump-issue-when-UDP-traffic-is-sent.patch
109195972f6Sopenharmony_ciPatch9092:  0093-modfiy-accept-null-pointer-when-new-conn-receive-RST-packet-in-listening.patch
110195972f6Sopenharmony_ciPatch9093:  0094-lwip-log-fix-reversed-port-in-tcp_input.patch
111195972f6Sopenharmony_ciPatch9094:  0095-event_callback-del-errevent-log-if-err-is-ERR_OK.patch
112195972f6Sopenharmony_ciPatch9095:  0096-tcp_send_fin-add-the-fin-to-the-last-unsent-segment.patch
113195972f6Sopenharmony_ciPatch9096:  0097-Mod-the-issue-that-2w-connection-unable-to-establish.patch
114195972f6Sopenharmony_ciPatch9097:  0098-remove-duplicate-lwip-log.patch
115195972f6Sopenharmony_ciPatch9098:  0099-fix-rte_ring_create-time-consuming.patch
116195972f6Sopenharmony_ci
117195972f6Sopenharmony_ciBuildRequires: gcc-c++ dos2unix dpdk-devel
118195972f6Sopenharmony_ci
119195972f6Sopenharmony_ci#Requires: 
120195972f6Sopenharmony_ci
121195972f6Sopenharmony_ciExclusiveArch: x86_64 aarch64 loongarch64 sw_64
122195972f6Sopenharmony_ci
123195972f6Sopenharmony_ci%description
124195972f6Sopenharmony_cilwip is a small independent implementation of the TCP/IP protocol suite.
125195972f6Sopenharmony_ci
126195972f6Sopenharmony_ci%prep
127195972f6Sopenharmony_ci%setup -n %{name}-%{version} -q
128195972f6Sopenharmony_cifind %{_builddir}/%{name}-%{version} -type f -exec dos2unix -q {} \;
129195972f6Sopenharmony_ci%autopatch -p1
130195972f6Sopenharmony_ci
131195972f6Sopenharmony_ci%build
132195972f6Sopenharmony_ci#export DPDK_VERSION_1911=1
133195972f6Sopenharmony_cicd %{_builddir}/%{name}-%{version}/src
134195972f6Sopenharmony_ci%make_build
135195972f6Sopenharmony_ci
136195972f6Sopenharmony_ci%install
137195972f6Sopenharmony_cicd %{_builddir}/%{name}-%{version}/src
138195972f6Sopenharmony_ci%make_install INSTALL_LIB=%{buildroot}%{_libdir}
139195972f6Sopenharmony_ci
140195972f6Sopenharmony_ci%files
141195972f6Sopenharmony_ci%defattr(0644,root,root)
142195972f6Sopenharmony_ci%{_includedir}/lwip
143195972f6Sopenharmony_ci%{_libdir}/liblwip.a
144195972f6Sopenharmony_ci
145195972f6Sopenharmony_ci%changelog
146195972f6Sopenharmony_ci* Tue Dec 26 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-102
147195972f6Sopenharmony_ci- fix rte_ring_create/free time-consuming
148195972f6Sopenharmony_ci
149195972f6Sopenharmony_ci* Tue Dec 26 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-101
150195972f6Sopenharmony_ci- remove duplicate lwip log
151195972f6Sopenharmony_ci
152195972f6Sopenharmony_ci* Mon Dec 25 2023 hankangkang <hankangkang5@huawei.com> - 2.1.3-100
153195972f6Sopenharmony_ci- Mod the issue that 2w connection unable to establish
154195972f6Sopenharmony_ci
155195972f6Sopenharmony_ci* Sat Dec 23 2023 yangchen <yangchen145@huawei.com> - 2.1.3-99
156195972f6Sopenharmony_ci- tcp_send_fin: add the fin to the last unsent segment
157195972f6Sopenharmony_ci
158195972f6Sopenharmony_ci* Wed Dec 20 2023 yangchen <yangchen145@huawei.com> - 2.1.3-98
159195972f6Sopenharmony_ci- event_callback: del errevent log if err is ERR_OK
160195972f6Sopenharmony_ci
161195972f6Sopenharmony_ci* Fri Dec 15 2023 yangchen <yangchen145@huawei.com> - 2.1.3-97
162195972f6Sopenharmony_ci- lwip log: fix reversed port in tcp_input
163195972f6Sopenharmony_ci
164195972f6Sopenharmony_ci* Thu Dec 14 2023 hankangkang <hankangkang5@huawei.com> - 2.1.3-96
165195972f6Sopenharmony_ci- modfiy-accept-null-pointer-when-new-conn-receive-RST-packet-in-listening
166195972f6Sopenharmony_ci
167195972f6Sopenharmony_ci* Sat Dec 9 2023 wuchangye <wuchangye@huawei.com> - 2.1.3-95
168195972f6Sopenharmony_ci- fix the coredump issue when UDP traffic is sent
169195972f6Sopenharmony_ci
170195972f6Sopenharmony_ci* Fri Dec 8 2023 yangchen <yangchen145@huawei.com> - 2.1.3-94
171195972f6Sopenharmony_ci- add fd log info and fix wrong port log info
172195972f6Sopenharmony_ci
173195972f6Sopenharmony_ci* Fri Dec 8 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-93
174195972f6Sopenharmony_ci- ip4 frag: fix coredump when get netif
175195972f6Sopenharmony_ci
176195972f6Sopenharmony_ci* Wed Dec 6 2023 zhengjiebing <zhengjiebing@cmss.chinamobile.com> - 2.1.3-92
177195972f6Sopenharmony_ci- add struct gz_addr_t
178195972f6Sopenharmony_ci
179195972f6Sopenharmony_ci* Tue Dec 5  2023 hankangkang <hankangkang5@huawei.com> - 2.1.3-91
180195972f6Sopenharmony_ci- modify-log-info-err
181195972f6Sopenharmony_ci
182195972f6Sopenharmony_ci* Tue Nov 28 2023 zhengjiebing <zhengjiebing@cmss.chinamobile.com> - 2.1.3-90
183195972f6Sopenharmony_ci- support vlan offload
184195972f6Sopenharmony_ci
185195972f6Sopenharmony_ci* Tue Nov 28 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-89
186195972f6Sopenharmony_ci- log: add errevent log and tcp exception statistics
187195972f6Sopenharmony_ci
188195972f6Sopenharmony_ci* Tue Nov 28 2023 yangchen <yangchen145@huawei.com> - 2.1.3-88
189195972f6Sopenharmony_ci- add lwip log: tcp_rst & tcp_abandon & tcp_abort
190195972f6Sopenharmony_ci
191195972f6Sopenharmony_ci* Tue Nov 28 2023 hankangkang <hankangkang5@huawei.com> - 2.1.3-87
192195972f6Sopenharmony_ci- lwipopts: add tcpslowtmr log and tcpfasttmr cnt
193195972f6Sopenharmony_ci
194195972f6Sopenharmony_ci* Mon Nov 27 2023 yangchen <yangchen145@huawei.com> - 2.1.3-86
195195972f6Sopenharmony_ci- lwipopts: add lwip debug log macro
196195972f6Sopenharmony_ci
197195972f6Sopenharmony_ci* Mon Nov 27 2023 zhengjiebing <zhengjiebing@cmss.chinamobile.com> - 2.1.3-85
198195972f6Sopenharmony_ci- add vlan_id in netif
199195972f6Sopenharmony_ci
200195972f6Sopenharmony_ci* Fri Nov 24 2023 zhangxingrong <zhangxingrong@uniontech.com> - 2.1.3-84
201195972f6Sopenharmony_ci- modify error date
202195972f6Sopenharmony_ci
203195972f6Sopenharmony_ci* Fri Nov 17 2023 zhengjiebing <zhengjiebing@cmss.chinamobile.com> - 2.1.3-83
204195972f6Sopenharmony_ci- enable ipv6 in lwip
205195972f6Sopenharmony_ci
206195972f6Sopenharmony_ci* Fri Nov 03 2023 zhujunhao <zhujunhao11@huawei.com> - 2.1.3-82
207195972f6Sopenharmony_ci- add support vlan
208195972f6Sopenharmony_ci
209195972f6Sopenharmony_ci* Fri Nov 03 2023 yangchen <yangchen145@huawei.com> - 2.1.3-81 
210195972f6Sopenharmony_ci- posix_api support select
211195972f6Sopenharmony_ci
212195972f6Sopenharmony_ci* Fri Oct 27 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-80
213195972f6Sopenharmony_ci- adapt read/write for rtc mode
214195972f6Sopenharmony_ci- fix recvmsg return EINVAL
215195972f6Sopenharmony_ci- adapt event for rtc mode
216195972f6Sopenharmony_ci
217195972f6Sopenharmony_ci* Tue Oct 24 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-79
218195972f6Sopenharmony_ci- gazelle offloads are registerd to lwip
219195972f6Sopenharmony_ci
220195972f6Sopenharmony_ci* Sun Oct 08 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-78
221195972f6Sopenharmony_ci- lstack_lwip: external api start with do_lwip_ prefix
222195972f6Sopenharmony_ci
223195972f6Sopenharmony_ci* Sun Oct 08 2023 panchenbo <panchenbo@kylinsec.com.cn> - 2.1.3-77
224195972f6Sopenharmony_ci- add O_NONBLOCK and FIONBIO when not defined
225195972f6Sopenharmony_ci
226195972f6Sopenharmony_ci* Fri Sep 15 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-76
227195972f6Sopenharmony_ci- fix pbuf->tot_len incorrect after pbuf_split_64k is called
228195972f6Sopenharmony_ci
229195972f6Sopenharmony_ci* Tue Jun 27 2023 kircher <majun65@huawei.com> - 2.1.3-75
230195972f6Sopenharmony_ci- add CHECKSUM_UDP when not support OFFLOAD_UDP_CHECKS
231195972f6Sopenharmony_ci
232195972f6Sopenharmony_ci* Sun Jun 25 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-74
233195972f6Sopenharmony_ci- add error check in hugepage_init and sys_mbox_free
234195972f6Sopenharmony_ci
235195972f6Sopenharmony_ci* Wed Jun 21 2023 kircher <majun65@huawei.com> - 2.1.3-73
236195972f6Sopenharmony_ci- enable udp cksum in lwip
237195972f6Sopenharmony_ci
238195972f6Sopenharmony_ci* Thu Jun 15 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-72
239195972f6Sopenharmony_ci- fix null pointer when zero port listen
240195972f6Sopenharmony_ci
241195972f6Sopenharmony_ci* Thu Jun 15 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-71
242195972f6Sopenharmony_ci- patch -p1 automaition in lwip.spec
243195972f6Sopenharmony_ci
244195972f6Sopenharmony_ci* Thu Jun 15 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-70
245195972f6Sopenharmony_ci- adapt to dpdk-19.11 and dpdk-21.11
246195972f6Sopenharmony_ci
247195972f6Sopenharmony_ci* Wed Jun 14 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-69
248195972f6Sopenharmony_ci- fix udp recvmbox size not set
249195972f6Sopenharmony_ci
250195972f6Sopenharmony_ci* Wed Jun 14 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-68
251195972f6Sopenharmony_ci- fix udp send/recv in mutiple queue
252195972f6Sopenharmony_ci
253195972f6Sopenharmony_ci* Wed Jun 07 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-67
254195972f6Sopenharmony_ci- optimize: avoid too many empty acks in tcp_input
255195972f6Sopenharmony_ci
256195972f6Sopenharmony_ci* Tue Jun 06 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-66
257195972f6Sopenharmony_ci- revert cleancode series patches
258195972f6Sopenharmony_ci
259195972f6Sopenharmony_ci* Mon May 29 2023 kircher <majun65@huawei.com> - 2.1.3-65
260195972f6Sopenharmony_ci- drop netbuf in recv_udp to fix mem overflow
261195972f6Sopenharmony_ci
262195972f6Sopenharmony_ci* Mon May 29 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-64
263195972f6Sopenharmony_ci- cleancode: refactor memp
264195972f6Sopenharmony_ci
265195972f6Sopenharmony_ci* Mon May 29 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-63
266195972f6Sopenharmony_ci- cleancode: refactor OFFLOAD_CHECKSUM GAZELLE_TCP_DATAACKS_REXMIT GAZELLE_TCP_NEW_PORT
267195972f6Sopenharmony_ci
268195972f6Sopenharmony_ci* Mon May 29 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-62
269195972f6Sopenharmony_ci- fix spec patch9069 
270195972f6Sopenharmony_ci
271195972f6Sopenharmony_ci* Mon May 29 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-61
272195972f6Sopenharmony_ci- cleancode: refactor sys_now and lwip_ioctl
273195972f6Sopenharmony_ci
274195972f6Sopenharmony_ci* Mon May 29 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-60
275195972f6Sopenharmony_ci- cleancode: refactor GAZELLE_TCP_PCB_HASH
276195972f6Sopenharmony_ci
277195972f6Sopenharmony_ci* Mon May 29 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-59
278195972f6Sopenharmony_ci- cleancode: refactor options define
279195972f6Sopenharmony_ci
280195972f6Sopenharmony_ci* Thu May 25 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-58
281195972f6Sopenharmony_ci- cleancode: refactor gazelle_hlist.h
282195972f6Sopenharmony_ci
283195972f6Sopenharmony_ci* Thu May 25 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-57
284195972f6Sopenharmony_ci- cleancode: refactor gazelle_list.h
285195972f6Sopenharmony_ci
286195972f6Sopenharmony_ci* Wed May 24 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-56
287195972f6Sopenharmony_ci- cleancode: refactor gazelle_posix_api.h
288195972f6Sopenharmony_ci
289195972f6Sopenharmony_ci* Tue May 23 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-55
290195972f6Sopenharmony_ci- cleancode: refactor lwipsock.h
291195972f6Sopenharmony_ci
292195972f6Sopenharmony_ci* Tue May 23 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-54
293195972f6Sopenharmony_ci- cleancode: remove perf
294195972f6Sopenharmony_ci- cleancode: rename gazelle files in lwip
295195972f6Sopenharmony_ci
296195972f6Sopenharmony_ci* Tue May 23 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-53
297195972f6Sopenharmony_ci- cleancode: improving makefile readability
298195972f6Sopenharmony_ci
299195972f6Sopenharmony_ci* Tue May 16 2023 kircher <majun65@huawei.com> - 2.1.3-52
300195972f6Sopenharmony_ci- fix pbuf leak in udp connection
301195972f6Sopenharmony_ci
302195972f6Sopenharmony_ci* Fri May 12 2023 kircher <majun65@huawei.com> - 2.1.3-51
303195972f6Sopenharmony_ci- add udp multicast support in lwip
304195972f6Sopenharmony_ci
305195972f6Sopenharmony_ci* Sat Apr 01 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-50
306195972f6Sopenharmony_ci- fix last_unsent/last_unacked error
307195972f6Sopenharmony_ci- fix send failed due to pcb->nrtx > TCP_MAXRTX
308195972f6Sopenharmony_ci
309195972f6Sopenharmony_ci* Wed Mar 22 2023 kircher <majun65@huawei.com> - 2.1.3-49
310195972f6Sopenharmony_ci- lwip send recv thread bind numa
311195972f6Sopenharmony_ci
312195972f6Sopenharmony_ci* Mon Mar 13 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-48
313195972f6Sopenharmony_ci- add same node ring & gazellectl -a
314195972f6Sopenharmony_ci
315195972f6Sopenharmony_ci* Mon Mar 13 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-47
316195972f6Sopenharmony_ci- fix tso small packet drop in kernel server
317195972f6Sopenharmony_ci
318195972f6Sopenharmony_ci* Mon Mar 13 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-46
319195972f6Sopenharmony_ci- use pbuf lock when aggregate pbuf
320195972f6Sopenharmony_ci
321195972f6Sopenharmony_ci* Fri Mar 10 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-45
322195972f6Sopenharmony_ci- reduce cpu usage when send
323195972f6Sopenharmony_ci
324195972f6Sopenharmony_ci* Thu Mar 9 2023 Lemmy Huang <huangliming5@huawei.com> - 2.1.3-44
325195972f6Sopenharmony_ci- cleancode: improve lwipopts.h readability
326195972f6Sopenharmony_ci
327195972f6Sopenharmony_ci* Wed Feb 22 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-43
328195972f6Sopenharmony_ci- lwip_fnctl only suport F_SETFL,F_GETFL, other opt return 0 for compitable
329195972f6Sopenharmony_ci
330195972f6Sopenharmony_ci* Tue Feb 21 2023 majun<majun65@huawei.com> - 2.1.3-42
331195972f6Sopenharmony_ci- add lwip need_tso_send
332195972f6Sopenharmony_ci
333195972f6Sopenharmony_ci* Tue Feb 14 2023 majun<majun65@huawei.com> - 2.1.3-41
334195972f6Sopenharmony_ci- add lwip reuse ip port
335195972f6Sopenharmony_ci
336195972f6Sopenharmony_ci* Sat Feb 11 2023 majun<majun65@huawei.com> - 2.1.3-40
337195972f6Sopenharmony_ci- fix TSO snd_nxt incorrectly update
338195972f6Sopenharmony_ci
339195972f6Sopenharmony_ci* Fri Dec 30 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-39
340195972f6Sopenharmony_ci- expand recv mbox size
341195972f6Sopenharmony_ci
342195972f6Sopenharmony_ci* Wed Dec 21 2022 jiangheng <jiangheng14@huawei.com> - 2.1.3-38
343195972f6Sopenharmony_ci- move pcb_if to ip_pcb to let listen pcb can use it
344195972f6Sopenharmony_ci
345195972f6Sopenharmony_ci* Wed Dec 21 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-37
346195972f6Sopenharmony_ci- reduce struct pbuf size
347195972f6Sopenharmony_ci
348195972f6Sopenharmony_ci* Wed Dec 21 2022 kircher<majun65@huawei.com> - 2.1.3-36
349195972f6Sopenharmony_ci- do not update cwnd when send dataack
350195972f6Sopenharmony_ci
351195972f6Sopenharmony_ci* Tue Dec 20 2022 kircher<majun65@huawei.com> - 2.1.3-35
352195972f6Sopenharmony_ci- fix the dataack is always lower than 256
353195972f6Sopenharmony_ci
354195972f6Sopenharmony_ci* Tue Dec 20 2022 kircher<majun65@huawei.com> - 2.1.3-34
355195972f6Sopenharmony_ci- add dataack when recv too many acks with data
356195972f6Sopenharmony_ci
357195972f6Sopenharmony_ci* Tue Dec 20 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-33
358195972f6Sopenharmony_ci- add variable in struct sock
359195972f6Sopenharmony_ci
360195972f6Sopenharmony_ci* Mon Dec 19 2022 kircher<majun65@huawei.com> - 2.1.3-32
361195972f6Sopenharmony_ci- skip unnecessary tcp_route
362195972f6Sopenharmony_ci
363195972f6Sopenharmony_ci* Sun Dec 18 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-31
364195972f6Sopenharmony_ci- expand rcv wnd size and add prefetch
365195972f6Sopenharmony_ci
366195972f6Sopenharmony_ci* Tue Dec 13 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-30
367195972f6Sopenharmony_ci- optimite pcb unsent and unacked list
368195972f6Sopenharmony_ci  fast rexmit all pkts
369195972f6Sopenharmony_ci
370195972f6Sopenharmony_ci* Tue Dec 6 2022 zhujunhao<zhujunhao11@huawei.com> - 2.1.3-29
371195972f6Sopenharmony_ci- add huge snd_buf
372195972f6Sopenharmony_ci
373195972f6Sopenharmony_ci* Sat Dec 3 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-28
374195972f6Sopenharmony_ci- add tso define
375195972f6Sopenharmony_ci
376195972f6Sopenharmony_ci* Thu Dec 01 2022 jiangheng<jiangheng14@huawei.com> - 2.1.3-27
377195972f6Sopenharmony_ci- remove lwip-2.1.3.tar.gz
378195972f6Sopenharmony_ci
379195972f6Sopenharmony_ci* Sat Nov 26 2022 jiangheng<jiangheng14@huawei.com> - 2.1.3-26
380195972f6Sopenharmony_ci- replace lwip-2.1.3.tar.gz to lwip-2.1.3.zip
381195972f6Sopenharmony_ci
382195972f6Sopenharmony_ci* Wed Nov 23 2022 jiangheng<jiangheng14@huawei.com> - 2.1.3-25
383195972f6Sopenharmony_ci- enable ARP QUEUE to avoid packet dropped
384195972f6Sopenharmony_ci
385195972f6Sopenharmony_ci* Sat Oct 22 2022 jiangheng<jiangheng14@huawei.com> - 2.1.3-24
386195972f6Sopenharmony_ci- add fs secure compilation option
387195972f6Sopenharmony_ci
388195972f6Sopenharmony_ci* Wed Oct 19 2022 zhujunhao<zhujunhao11@huawei.com> - 2.1.3-23
389195972f6Sopenharmony_ci- add writev and readv
390195972f6Sopenharmony_ci
391195972f6Sopenharmony_ci* Sat Oct 15 2022 zhujunhao<zhujunhao11@huawei.com> - 2.1.3-22
392195972f6Sopenharmony_ci- add epoll_create1 and accetp4
393195972f6Sopenharmony_ci
394195972f6Sopenharmony_ci* Tue Oct 11 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-21
395195972f6Sopenharmony_ci- alloc socket fail clean sock
396195972f6Sopenharmony_ci
397195972f6Sopenharmony_ci* Thu Oct 6 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-20
398195972f6Sopenharmony_ci- fix miss data due to free pbuf
399195972f6Sopenharmony_ci  close debug
400195972f6Sopenharmony_ci
401195972f6Sopenharmony_ci* Thu Oct 6 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-19
402195972f6Sopenharmony_ci- refactor add event
403195972f6Sopenharmony_ci  limit send pkts num max 10
404195972f6Sopenharmony_ci
405195972f6Sopenharmony_ci* Thu Oct 6 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-18
406195972f6Sopenharmony_ci- fix multithread duplicate port num
407195972f6Sopenharmony_ci  support select appropriate port num to rss same as nic
408195972f6Sopenharmony_ci
409195972f6Sopenharmony_ci* Thu Oct 6 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-17
410195972f6Sopenharmony_ci- fix EISCONN conditon err
411195972f6Sopenharmony_ci  remove same customized modification
412195972f6Sopenharmony_ci
413195972f6Sopenharmony_ci* Thu Oct 6 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-16
414195972f6Sopenharmony_ci- per thread reassdata variables
415195972f6Sopenharmony_ci
416195972f6Sopenharmony_ci* Thu Oct 6 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-15
417195972f6Sopenharmony_ci- modify EISCONN path condition
418195972f6Sopenharmony_ci  add in_send and send_flag value in sock
419195972f6Sopenharmony_ci
420195972f6Sopenharmony_ci* Tue Jul 26 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-14
421195972f6Sopenharmony_ci- del redundant wait_close in lwip_sock
422195972f6Sopenharmony_ci  move epoll_events into cache aligned area
423195972f6Sopenharmony_ci
424195972f6Sopenharmony_ci* Tue Jul 12 2022 Honggang Li <honggangli@163.com> - 2.1.3-13
425195972f6Sopenharmony_ci- Replace gettid() with syscall()
426195972f6Sopenharmony_ci
427195972f6Sopenharmony_ci* Fri Jul 8 2022 xiusailong<xiusailong@huawei.com> - 2.1.3-12
428195972f6Sopenharmony_ci- sync two patches from 20.03-LTS-SP1
429195972f6Sopenharmony_ci
430195972f6Sopenharmony_ci* Thu Jul 7 2022 wuchangsheng<wuchangsheng2@huawei.com> - 2.1.3-11
431195972f6Sopenharmony_ci- refactor refactor pkt read send performance
432195972f6Sopenharmony_ci
433195972f6Sopenharmony_ci* Tue Mar 29 2022 jiangheng<jiangheng12@huawei.com> - 2.1.3-10
434195972f6Sopenharmony_ci- refactor event
435195972f6Sopenharmony_ci- add HW checksum offload support
436195972f6Sopenharmony_ci
437195972f6Sopenharmony_ci* Tue Mar 15 2022 jiangheng<jiangheng12@huawei.com> - 2.1.3-9
438195972f6Sopenharmony_ci- notify app that sock state changes to CLOSE_WAIT
439195972f6Sopenharmony_ci
440195972f6Sopenharmony_ci* Tue Mar 15 2022 jiangheng<jiangheng12@huawei.com> - 2.1.3-8
441195972f6Sopenharmony_ci- refactor event,if ring is full, node is added to list
442195972f6Sopenharmony_ci
443195972f6Sopenharmony_ci* Mon Mar 07 2022 jiangheng<jiangheng12@huawei.com> - 2.1.3-7
444195972f6Sopenharmony_ci- remove chose_dlsym_handle function as it is redundant
445195972f6Sopenharmony_ci
446195972f6Sopenharmony_ci* Mon Mar 07 2022 wu-changsheng<wuchangsheng2@huawei.com> - 2.1.3-6
447195972f6Sopenharmony_ci- gazelle reduce copy in send
448195972f6Sopenharmony_ci
449195972f6Sopenharmony_ci* Mon Mar 07 2022 jiangheng<jiangheng12@huawei.com> - 2.1.3-5
450195972f6Sopenharmony_ci- exec gazelle_sock_init before read event
451195972f6Sopenharmony_ci
452195972f6Sopenharmony_ci* Thu Mar 03 2022 jiangheng<jiangheng12@huawei.com> - 2.1.3-4
453195972f6Sopenharmony_ci- support REUSEPOR option
454195972f6Sopenharmony_ci- fix rpc msg too much
455195972f6Sopenharmony_ci- fix recrruing events
456195972f6Sopenharmony_ci
457195972f6Sopenharmony_ci* Thu Feb 24 2022 jiangheng<jiangheng12@huawei.com> - 2.1.3-3
458195972f6Sopenharmony_ci- remove kernel socket interface
459195972f6Sopenharmony_ci- support the mode that listen and accept thread be separaten
460195972f6Sopenharmony_ci
461195972f6Sopenharmony_ci* Fri Dec 31 2021 jiangheng<jiangheng12@huawei.com> - 2.1.3-2
462195972f6Sopenharmony_ci- adapt to lstack
463195972f6Sopenharmony_ci
464195972f6Sopenharmony_ci* Fri Nov 26 2021 jiangheng<jiangheng12@huawei.com> - 2.1.3-1
465195972f6Sopenharmony_ci- update to 2.1.3
466195972f6Sopenharmony_ci
467195972f6Sopenharmony_ci* Mon Sep 06 2021 jiangheng<jiangheng12@huawei.com> - 2.1.2-2
468195972f6Sopenharmony_ci- backport some patches from community
469195972f6Sopenharmony_ci
470195972f6Sopenharmony_ci* Mon Nov 30 2020 peanut_huang<huangliming5@huawei.com> - 2.1.2-1
471195972f6Sopenharmony_ci- remove README
472195972f6Sopenharmony_ci
473195972f6Sopenharmony_ci* Mon Nov 30 2020 peanut_huang<huangliming5@huawei.com> - 2.1.2-0
474195972f6Sopenharmony_ci- Init package
475