From 3be70c20179bffd14f479908a40fb79673490cef Mon Sep 17 00:00:00 2001 From: Matias Elo Date: Thu, 16 Feb 2023 16:17:20 +0200 Subject: Port 8aee6094e "linux-gen: stash: reserve all memory from a single shm block" Port original commit from linux-generic. Signed-off-by: Matias Elo Reviewed-by: Tuomas Taipale --- config/odp-linux-dpdk.conf | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'config') 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 # -- cgit v1.2.3