aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@nokia.com>2020-01-10 13:39:38 +0200
committerPetri Savolainen <petri.savolainen@nokia.com>2020-01-28 13:15:54 +0200
commita072a42095fdd2d7b85343007e34bc424bcf5032 (patch)
treeb4fba43fe1cb26da71bea0ef56a1d30755cb6956 /config
parentf6cb2b6f9cd9c0218ec564f75a0cda543a4477ba (diff)
linux-gen: pool: set packet pool max align capa
Implement the new packet align pool parameter with minimal changes. Packet pools are aligned always to the base align, so all application requests up to that value are supported. Base align can be changed through the config file. Signed-off-by: Petri Savolainen <petri.savolainen@nokia.com> Reviewed-by: Stanislaw Kardach <skardach@marvell.com>
Diffstat (limited to 'config')
-rw-r--r--config/odp-linux-generic.conf3
1 files changed, 2 insertions, 1 deletions
diff --git a/config/odp-linux-generic.conf b/config/odp-linux-generic.conf
index 5a3ca72ff..b1f0e9009 100644
--- a/config/odp-linux-generic.conf
+++ b/config/odp-linux-generic.conf
@@ -62,7 +62,8 @@ pool: {
max_num = 262143
# Base alignment for segment data. When set to zero,
- # cache line size is used. Use power of two values.
+ # cache line size is used. Use power of two values. This is
+ # also the maximum value for the packet pool alignment param.
base_align = 0
}