aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-11-14 09:23:15 +0200
committerMatias Elo <matias.elo@nokia.com>2019-11-21 14:45:29 +0200
commitbc5a963b30ab4f713d2744df68d5636f6c93c1eb (patch)
treec6d452b3fb255e8e64f7ea3c3afb1ca759f74951 /config
parent70e31e64467c7fbea4f5e2259ef6f8e809298791 (diff)
Port f95ac4d08 "linux-gen: timer: add poll interval time conf option"
Signed-off-by: Matias Elo <matias.elo@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-dpdk.conf11
1 files changed, 10 insertions, 1 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf
index dffa3e4f1..2f9f69e6f 100644
--- a/config/odp-linux-dpdk.conf
+++ b/config/odp-linux-dpdk.conf
@@ -16,7 +16,7 @@
# Mandatory fields
odp_implementation = "linux-dpdk"
-config_file_version = "0.1.5"
+config_file_version = "0.1.6"
# Pool options
pool: {
@@ -121,4 +121,13 @@ timer: {
# Increasing the value reduces timer processing overhead while
# decreasing accuracy.
inline_poll_interval = 10
+
+ # Inline timer poll interval in nanoseconds
+ #
+ # When inline_poll_interval is larger than 1, use this option to limit
+ # inline timer polling rate in nanoseconds. By default, this defines the
+ # maximum rate a thread may poll timers. If a timer pool is created with
+ # a higher resolution than this, the polling rate is increased
+ # accordingly.
+ inline_poll_interval_nsec = 500000
}