summaryrefslogtreecommitdiff
path: root/config/common_linuxapp
diff options
context:
space:
mode:
authorMarc Sune <marc.sune@bisdn.de>2015-02-13 15:25:25 +0100
committerThomas Monjalon <thomas.monjalon@6wind.com>2015-02-23 18:49:19 +0100
commit16eaf25232ee9b880fe855bac4e8a5cf37b9e907 (patch)
tree00b434961cb7d0d84100a06202e4fb6c6182a3ad /config/common_linuxapp
parent6597fc642dd218f4b60f7451b107ab4fb6846b96 (diff)
downloaddpdk-16eaf25232ee9b880fe855bac4e8a5cf37b9e907.zip
dpdk-16eaf25232ee9b880fe855bac4e8a5cf37b9e907.tar.gz
dpdk-16eaf25232ee9b880fe855bac4e8a5cf37b9e907.tar.xz
kni: add build option to disable preempting
This patch introduces CONFIG_RTE_KNI_PREEMPT_DEFAULT flag. When set to 'no', KNI kernel thread(s) do not call schedule_timeout_interruptible(), which improves overall KNI performance at the expense of CPU cycles (polling). Default values is 'yes', maintaining the same behaviour as of now. Signed-off-by: Marc Sune <marc.sune@bisdn.de> Acked-by: Bruce Richardson <bruce.richardson@intel.com> Acked-by: Helin Zhang <helin.zhang@intel.com>
Diffstat (limited to 'config/common_linuxapp')
-rw-r--r--config/common_linuxapp1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/common_linuxapp b/config/common_linuxapp
index 0234236..199ecf5 100644
--- a/config/common_linuxapp
+++ b/config/common_linuxapp
@@ -377,6 +377,7 @@ CONFIG_RTE_LIBRTE_PIPELINE=y
# Compile librte_kni
#
CONFIG_RTE_LIBRTE_KNI=y
+CONFIG_RTE_KNI_PREEMPT_DEFAULT=y
CONFIG_RTE_KNI_KO_DEBUG=n
CONFIG_RTE_KNI_VHOST=n
CONFIG_RTE_KNI_VHOST_MAX_CACHE_SIZE=1024