This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "".
The branch, master has been updated via 2c80ef58dba783bfbf11060cab273e57ba6d0e62 (commit) from 6c6087bc5bc718bd8fb7e773b9206a4b2f7672d4 (commit)
Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below.
- Log ----------------------------------------------------------------- commit 2c80ef58dba783bfbf11060cab273e57ba6d0e62 Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Mon Jul 18 23:42:58 2016 +0300
linux-gen: scope ipc shared memory for packet pools only
Instead of placing all allocation to shared memory, place only packets pool.
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org Reviewed-by: Mike Holmes mike.holmes@linaro.org
diff --git a/platform/linux-generic/odp_pool.c b/platform/linux-generic/odp_pool.c index ec6d86a..419f03f 100644 --- a/platform/linux-generic/odp_pool.c +++ b/platform/linux-generic/odp_pool.c @@ -462,10 +462,11 @@ odp_pool_t odp_pool_create(const char *name, odp_pool_param_t *params) { #ifdef _ODP_PKTIO_IPC - return _pool_create(name, params, ODP_SHM_PROC); -#else - return _pool_create(name, params, 0); + if (params && (params->type == ODP_POOL_PACKET)) + return _pool_create(name, params, ODP_SHM_PROC); #endif + return _pool_create(name, params, 0); + }
odp_pool_t odp_pool_lookup(const char *name)
-----------------------------------------------------------------------
Summary of changes: platform/linux-generic/odp_pool.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-)
hooks/post-receive