From 5c74c348ff66d6e6093d21a614ec527e0e31aac6 Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Tue, 5 Mar 2019 09:02:57 +0100 Subject: 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 Signed-off-by: Sander Vrijders --- src/ipcpd/eth/CMakeLists.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipcpd') 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") -- cgit v1.2.3