diff mbox

[v4,2/4] api: config: increase ODP_SHM_NUM_BLOCKS

Message ID 1424977016-9990-2-git-send-email-mike.holmes@linaro.org
State Accepted
Commit 51be052eca06ab6d7751c41212b17d43861bb46c
Headers show

Commit Message

Mike Holmes Feb. 26, 2015, 6:56 p.m. UTC
Systems in use require ODP_SHM_NUM_BLOCKS=64 and this value should
be related to ODP_CONFIG_POOLS which is 16, define ODP_SHM_NUM_BLOCKS
as (ODP_CONFIG_POOLS + 48)

Signed-off-by: Mike Holmes <mike.holmes@linaro.org>
---
 include/odp/api/config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/include/odp/api/config.h b/include/odp/api/config.h
index 8989fed..61fcffa 100644
--- a/include/odp/api/config.h
+++ b/include/odp/api/config.h
@@ -125,7 +125,7 @@  extern "C" {
  *
  * This the the number of separate SHM areas that can be reserved concurrently
  */
-#define ODP_SHM_NUM_BLOCKS 32
+#define ODP_SHM_NUM_BLOCKS (ODP_CONFIG_POOLS + 48)
 
 /**
  * @}