aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2020-05-07 10:03:51 +0300
committerMatias Elo <matias.elo@nokia.com>2020-05-11 15:03:47 +0300
commita7071e983d2b4e1bc20572cc2c7da255a7b031dc (patch)
tree3887851723cf8f0542f3e920b1cc6208441dbd54 /config
parentb53a9d39c42f72215e0dda17699705fb72d2478e (diff)
Port 7b8e602df "linux-gen: system: read default cpu frequency values from config file"
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.conf15
1 files changed, 14 insertions, 1 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf
index 09cda026d..a2258e6de 100644
--- a/config/odp-linux-dpdk.conf
+++ b/config/odp-linux-dpdk.conf
@@ -16,7 +16,20 @@
# Mandatory fields
odp_implementation = "linux-dpdk"
-config_file_version = "0.1.7"
+config_file_version = "0.1.8"
+
+# System options
+system: {
+ # CPU frequency value returned by odp_cpu_hz() and odp_cpu_hz_id()
+ # calls on platforms where frequency isn't available using standard
+ # Linux methods.
+ cpu_mhz = 0
+
+ # CPU max frequency value returned by odp_cpu_hz_max() and
+ # odp_cpu_hz_max_id() calls on platforms where max frequency isn't
+ # available using standard Linux methods.
+ cpu_mhz_max = 1400
+}
# Pool options
pool: {