aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf12
1 files changed, 11 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index e00e4a518..fcc5d75aa 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.6"
+config_file_version = "0.1.7"
# Shared memory options
shm: {
@@ -45,6 +45,16 @@ shm: {
# Pool options
pool: {
+ # Thread local cache size. Value must be a multiple of burst_size
+ # (min 2 x burst_size).
+ #
+ # The total maximum number of cached events is the number of threads
+ # using the pool multiplied with local_cache_size.
+ local_cache_size = 256
+
+ # Transfer size between local cache and global pool.
+ burst_size = 32
+
# Packet pool options
pkt: {
# Maximum number of packets per pool. Power of two minus one