aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMatias Elo <matias.elo@nokia.com>2019-05-15 10:35:37 +0300
committerMatias Elo <matias.elo@nokia.com>2019-05-15 10:35:37 +0300
commitebe70ec11dcc32ae62deaf53ff972e5ad26a792d (patch)
tree6033da413c26561861dbbe18483de29a4af594eb /config
parenta7e8e58948345a882228d2c20a03130b670b86ce (diff)
parent7f79421ba6204559fc33d960f9c58ee4bd2ca064 (diff)
Merge branch 'master' of https://github.com/OpenDataPlane/odp into odp-dpdk
# Conflicts: # .travis.yml # configure.ac # scripts/ci/check.sh # scripts/ci/coverage.sh Signed-off-by: Matias Elo <matias.elo@nokia.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf14
1 files changed, 12 insertions, 2 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index e00e4a518..9a5dbea69 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: {
@@ -40,11 +40,21 @@ shm: {
huge_page_limit_kb = 64
# Amount of memory pre-reserved for ODP_SHM_SINGLE_VA usage in kilobytes
- single_va_size_kb = 131072
+ single_va_size_kb = 262144
}
# 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