aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetri Savolainen <petri.savolainen@linaro.org>2018-10-17 16:51:49 +0300
committerMaxim Uvarov <maxim.uvarov@linaro.org>2018-10-18 17:26:39 +0300
commit044cae351a1e60e4381cdbae37e2a759772c2258 (patch)
tree438938d7b4b5180185e8840676ea0e8ba4587a7e
parent95cbee5ac9cdcb696d48e6f820593c813f535f8a (diff)
downloadodp-master.tar.gz
linux-gen: config: maximum pool size 1MHEADmaster
Change maximum pool size back to 1M. Maximum packet pool capability is defined in the config file. This is the upper limit for that config. Also this is max capability of buffer and tmo pools. Signed-off-by: Petri Savolainen <petri.savolainen@linaro.org> Signed-off-by: Maxim Uvarov <maxim.uvarov@linaro.org>
-rw-r--r--platform/linux-generic/include/odp_config_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h
index 7a573bd76..65f751972 100644
--- a/platform/linux-generic/include/odp_config_internal.h
+++ b/platform/linux-generic/include/odp_config_internal.h
@@ -150,7 +150,7 @@ extern "C" {
* Maximum number of events in a pool. Power of two minus one results optimal
* memory usage for the ring.
*/
-#define CONFIG_POOL_MAX_NUM ((256 * 1024) - 1)
+#define CONFIG_POOL_MAX_NUM ((1024 * 1024) - 1)
/*
* Maximum number of events in a thread local pool cache