diff options
author | Matias Elo <matias.elo@nokia.com> | 2023-02-16 16:17:20 +0200 |
---|---|---|
committer | Matias Elo <matias.elo@nokia.com> | 2023-02-24 08:44:23 +0200 |
commit | 3be70c20179bffd14f479908a40fb79673490cef (patch) | |
tree | f58e875752eb4b1ee220460e74aca6436602ae94 /config | |
parent | 3f0a93e790849b69fc3a99649880f7c6821ebf4c (diff) |
Port 8aee6094e "linux-gen: stash: reserve all memory from a single shm block"
Port original commit from linux-generic.
Signed-off-by: Matias Elo <matias.elo@nokia.com>
Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com>
Diffstat (limited to 'config')
-rw-r--r-- | config/odp-linux-dpdk.conf | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/config/odp-linux-dpdk.conf b/config/odp-linux-dpdk.conf index f0bd808c2..1f868a0fe 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.19" +config_file_version = "0.1.20" # System options system: { @@ -218,6 +218,17 @@ sched_eventdev: { num_ports = 0 } +stash: { + # Maximum number of stashes + max_num = 512 + + # Maximum number of objects in a stash + # + # The value may be rounded up by the implementation. For optimal memory + # usage set value to a power of two - 1. + max_num_obj = 4095 +} + timer: { # Inline timer poll interval # |