lwip-send-recv-thread-bind-numa
(cherry picked from commit fad592ee0fa826abcc59b3c736409d62dbaa757f)
This commit is contained in:
parent
b76ed4f506
commit
6f3c2bde93
24
0057-lwip-send-recv-thread-bind-numa.patch
Normal file
24
0057-lwip-send-recv-thread-bind-numa.patch
Normal file
@ -0,0 +1,24 @@
|
||||
From c9160774740e802c678acaa9602400ea5c506304 Mon Sep 17 00:00:00 2001
|
||||
From: FanBin <fanbin12@huawei.com>
|
||||
Date: Tue, 21 Mar 2023 10:23:27 +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 0ae5896..769644f 100644
|
||||
--- a/src/include/lwipsock.h
|
||||
+++ b/src/include/lwipsock.h
|
||||
@@ -139,6 +139,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
|
||||
|
||||
@ -69,6 +69,7 @@ Patch9052: 0053-reduce-cpu-usage-when-send.patch
|
||||
Patch9053: 0054-add-pbuf-lock-when-aggregate-pbuf.patch
|
||||
Patch9054: 0055-fix-tso-small-packet-drop-in-kernel-server.patch
|
||||
Patch9055: 0056-same-node-gazellectl-a.patch
|
||||
Patch9056: 0057-lwip-send-recv-thread-bind-numa.patch
|
||||
|
||||
BuildRequires: gcc-c++ dos2unix dpdk-devel
|
||||
|
||||
@ -142,6 +143,7 @@ find %{_builddir}/%{name}-%{version} -type f -exec dos2unix -q {} \;
|
||||
%patch9053 -p1
|
||||
%patch9054 -p1
|
||||
%patch9055 -p1
|
||||
%patch9056 -p1
|
||||
|
||||
%build
|
||||
cd %{_builddir}/%{name}-%{version}/src
|
||||
@ -157,6 +159,9 @@ cd %{_builddir}/%{name}-%{version}/src
|
||||
%{_libdir}/liblwip.a
|
||||
|
||||
%changelog
|
||||
* Tue Mar 21 2023 kircher <majun65@huawei.com> - 2.1.2-37
|
||||
- lwip send/recv thread bind numa
|
||||
|
||||
* Mon Mar 13 2023 jiangheng <jiangheng14@huawei.com> - 2.1.2-36
|
||||
- add same node ring & gazellectl -a
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user