diff options
author | Matias Elo <matias.elo@nokia.com> | 2020-05-07 10:03:51 +0300 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2020-05-11 15:03:47 +0300 |
commit | a7071e983d2b4e1bc20572cc2c7da255a7b031dc (patch) | |
tree | 3887851723cf8f0542f3e920b1cc6208441dbd54 /config | |
parent | b53a9d39c42f72215e0dda17699705fb72d2478e (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.conf | 15 |
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: { |