summaryrefslogtreecommitdiff
path: root/src/ipcpd
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2019-03-05 09:02:57 +0100
committerSander Vrijders <sander@ouroboros.rocks>2019-03-05 09:10:38 +0100
commit5c74c348ff66d6e6093d21a614ec527e0e31aac6 (patch)
tree4b869aac17c52468a2acffcb21e627ad5c5203f4 /src/ipcpd
parente87f2b683446fe424dc5e8fed60456240e080562 (diff)
downloadouroboros-5c74c348ff66d6e6093d21a614ec527e0e31aac6.tar.gz
ouroboros-5c74c348ff66d6e6093d21a614ec527e0e31aac6.zip
build: Set default number of threads in eth to 1
This makes the eth packet handler single-threaded by default, at least until stability issues that seem to be related to multi-threading are fixed. Signed-off-by: Dimitri Staessens <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd')
-rw-r--r--src/ipcpd/eth/CMakeLists.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ipcpd/eth/CMakeLists.txt b/src/ipcpd/eth/CMakeLists.txt
index e4acdb7f..abffbb2d 100644
--- a/src/ipcpd/eth/CMakeLists.txt
+++ b/src/ipcpd/eth/CMakeLists.txt
@@ -78,9 +78,9 @@ endif ()
if (HAVE_ETH)
message(STATUS "Supported raw packet API found, building eth-llc and eth-dix")
- set(IPCP_ETH_RD_THR 3 CACHE STRING
+ set(IPCP_ETH_RD_THR 1 CACHE STRING
"Number of reader threads in Ethernet IPCP")
- set(IPCP_ETH_WR_THR 3 CACHE STRING
+ set(IPCP_ETH_WR_THR 1 CACHE STRING
"Number of writer threads in Ethernet IPCP")
set(IPCP_ETH_QDISC_BYPASS false CACHE BOOL
"Bypass the Qdisc in the kernel when using raw sockets")