From c24d3376c306e2c1f6c893d597cf80ef40a40f4b Mon Sep 17 00:00:00 2001 From: Sander Vrijders Date: Tue, 29 May 2018 10:04:41 +0200 Subject: build: Update default values This sets updated default values for the default build. A higher connect timeout until we have asynchronous local IPC. Disabled SWIG since the lastest gcc reports an error. IPCP flow stats enabled by default since their impact on the performance is very limited. Waiting for the directory to enroll before returning to increase stability. Signed-off-by: Sander Vrijders Signed-off-by: Dimitri Staessens --- src/ipcpd/CMakeLists.txt | 2 +- src/ipcpd/normal/CMakeLists.txt | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src/ipcpd') diff --git a/src/ipcpd/CMakeLists.txt b/src/ipcpd/CMakeLists.txt index 5402dc80..39e597e0 100644 --- a/src/ipcpd/CMakeLists.txt +++ b/src/ipcpd/CMakeLists.txt @@ -14,7 +14,7 @@ set(IPCP_SCHED_THR_MUL 2 CACHE STRING "Number of scheduler threads per QoS cube") set(DISABLE_CORE_LOCK FALSE CACHE BOOL "Disable locking performance threads to a core") -set(IPCP_CONN_WAIT_DIR FALSE CACHE BOOL +set(IPCP_CONN_WAIT_DIR TRUE CACHE BOOL "Check the running state of the directory when adding a dt connection") if ((IPCP_QOS_CUBE_BE_PRIO LESS 0) OR (IPCP_QOS_CUBE_BE_PRIO GREATER 99)) diff --git a/src/ipcpd/normal/CMakeLists.txt b/src/ipcpd/normal/CMakeLists.txt index 2446dc00..6dd68385 100644 --- a/src/ipcpd/normal/CMakeLists.txt +++ b/src/ipcpd/normal/CMakeLists.txt @@ -20,7 +20,7 @@ math(EXPR PFT_EXPR "1 << 12") set(PFT_SIZE ${PFT_EXPR} CACHE STRING "Size of the PDU forwarding table") if (HAVE_FUSE) - set(IPCP_FLOW_STATS FALSE CACHE BOOL + set(IPCP_FLOW_STATS TRUE CACHE BOOL "Enable flow statistics tracking in IPCP") if (IPCP_FLOW_STATS) message(STATUS "IPCP flow statistics enabled") -- cgit v1.2.3