aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2021-12-16 11:16:39 +0200
committerMatias Elo <matias.elo@nokia.com>2021-12-16 11:16:39 +0200
commitd4ce9709392685d1b837f410d57846bea037efee (patch)
treef29566d7f34c5e938205b875c01deb81dad40f38 /config
parent2ed1489ccc354300037bad2e718fe63cd6fdd7ba (diff)
parentd1f5531d0bee1fcc6cd8f247c1fcea20090a5163 (diff)
Merge tag 'v1.33.0.0' of https://github.com/OpenDataPlane/odp into odp-dpdk
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf10
1 files changed, 9 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index 01c622fe8..ce2412a07 100644
--- a/config/odp-linux-generic.conf
+++ b/config/odp-linux-generic.conf
@@ -16,7 +16,7 @@
# Mandatory fields
odp_implementation = "linux-generic"
-config_file_version = "0.1.18"
+config_file_version = "0.1.19"
# System options
system: {
@@ -30,6 +30,14 @@ system: {
# available using standard Linux methods.
cpu_mhz_max = 1400
+ # When enabled (1), implementation reads the CPU frequency values from
+ # OS only once during ODP initialization. Enabling this option removes
+ # system calls from odp_cpu_hz() and odp_cpu_hz_id() implementations.
+ #
+ # NOTE: This option should only be used on systems where CPU frequency
+ # scaling is disabled.
+ cpu_hz_static = 0
+
# Maximum number of ODP threads that can be created.
# odp_thread_count_max() returns this value or the build time
# maximum ODP_THREAD_COUNT_MAX, whichever is lower. This setting