lwip-send-recv-thread-bind-numa
(cherry picked from commit a05459f77a4dbb8a57e6807d86a0d22fa7eb39af)
This commit is contained in:
parent
9dd03d7180
commit
ba960bdd25
24
0058-lwip-send-recv-thread-bind-numa.patch
Normal file
24
0058-lwip-send-recv-thread-bind-numa.patch
Normal file
@ -0,0 +1,24 @@
|
|||||||
|
From 0e16f4ec71b0794f48cb7b9e99712c36e40d4d48 Mon Sep 17 00:00:00 2001
|
||||||
|
From: kircher <majun65@huawei.com>
|
||||||
|
Date: Wed, 22 Mar 2023 15:16:04 +0800
|
||||||
|
Subject: [PATCH] lwip-send-recv-thread-bind-numa
|
||||||
|
|
||||||
|
---
|
||||||
|
src/include/lwipsock.h | 1 +
|
||||||
|
1 file changed, 1 insertion(+)
|
||||||
|
|
||||||
|
diff --git a/src/include/lwipsock.h b/src/include/lwipsock.h
|
||||||
|
index f917d8a..f8480c5 100644
|
||||||
|
--- a/src/include/lwipsock.h
|
||||||
|
+++ b/src/include/lwipsock.h
|
||||||
|
@@ -138,6 +138,7 @@ struct lwip_sock {
|
||||||
|
const struct rte_memzone *same_node_rx_ring_mz;
|
||||||
|
struct same_node_ring *same_node_tx_ring;
|
||||||
|
const struct rte_memzone *same_node_tx_ring_mz;
|
||||||
|
+ uint8_t already_bind_numa;
|
||||||
|
#endif
|
||||||
|
};
|
||||||
|
|
||||||
|
--
|
||||||
|
2.33.0
|
||||||
|
|
||||||
@ -4,7 +4,7 @@
|
|||||||
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
Summary: lwip is a small independent implementation of the TCP/IP protocol suite
|
||||||
Name: lwip
|
Name: lwip
|
||||||
Version: 2.1.3
|
Version: 2.1.3
|
||||||
Release: 48
|
Release: 49
|
||||||
License: BSD
|
License: BSD
|
||||||
URL: http://savannah.nongnu.org/projects/lwip/
|
URL: http://savannah.nongnu.org/projects/lwip/
|
||||||
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
Source0: http://download.savannah.nongnu.org/releases/lwip/%{name}-%{version}.zip
|
||||||
@ -69,6 +69,7 @@ Patch9053: 0054-reduce-cpu-usage-when-send.patch
|
|||||||
Patch9054: 0055-add-pbuf-lock-when-aggregate-pbuf.patch
|
Patch9054: 0055-add-pbuf-lock-when-aggregate-pbuf.patch
|
||||||
Patch9055: 0056-fix-tso-small-packet-drop-in-kernel-server.patch
|
Patch9055: 0056-fix-tso-small-packet-drop-in-kernel-server.patch
|
||||||
Patch9056: 0057-same-node-gazellectl-a.patch
|
Patch9056: 0057-same-node-gazellectl-a.patch
|
||||||
|
Patch9057: 0058-lwip-send-recv-thread-bind-numa.patch
|
||||||
|
|
||||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||||
|
|
||||||
@ -142,6 +143,7 @@ find %{_builddir}/%{name}-%{version} -type f -exec dos2unix -q {} \;
|
|||||||
%patch9054 -p1
|
%patch9054 -p1
|
||||||
%patch9055 -p1
|
%patch9055 -p1
|
||||||
%patch9056 -p1
|
%patch9056 -p1
|
||||||
|
%patch9057 -p1
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd %{_builddir}/%{name}-%{version}/src
|
cd %{_builddir}/%{name}-%{version}/src
|
||||||
@ -157,6 +159,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
|||||||
%{_libdir}/liblwip.a
|
%{_libdir}/liblwip.a
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Mar 22 2023 kircher <majun65@huawei.com> - 2.1.3-49
|
||||||
|
- lwip send recv thread bind numa
|
||||||
|
|
||||||
* Mon Mar 13 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-48
|
* Mon Mar 13 2023 jiangheng <jiangheng14@huawei.com> - 2.1.3-48
|
||||||
- add same node ring & gazellectl -a
|
- add same node ring & gazellectl -a
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user