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, api-next has been updated
via 233e95e4b50767765370aa552f159a9920c0151c (commit)
from 9b2b5a9695ad66977c964c83691cd2fef4c45b85 (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 233e95e4b50767765370aa552f159a9920c0151c
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Thu Aug 9 11:19:28 2018 +0300
api: shm: remove unused ODP_SHM_NULL define
ODP_SHM_INVALID should be used instead.
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reviewed-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/include/odp/api/abi-default/shared_memory.h b/include/odp/api/abi-default/shared_memory.h
index 888e140b..fdc93ea1 100644
--- a/include/odp/api/abi-default/shared_memory.h
+++ b/include/odp/api/abi-default/shared_memory.h
@@ -21,7 +21,6 @@ typedef struct { char dummy; /**< @internal Dummy */ } _odp_abi_shm_t;
typedef _odp_abi_shm_t *odp_shm_t;
#define ODP_SHM_INVALID ((odp_shm_t)0)
-#define ODP_SHM_NULL ODP_SHM_INVALID
#define ODP_SHM_NAME_LEN 32
/**
diff --git a/include/odp/api/spec/shared_memory.h b/include/odp/api/spec/shared_memory.h
index 898f4123..c18275cb 100644
--- a/include/odp/api/spec/shared_memory.h
+++ b/include/odp/api/spec/shared_memory.h
@@ -35,11 +35,6 @@ extern "C" {
* Invalid shared memory block
*/
-/**
- * @def ODP_SHM_NULL
- * Synonym for buffer pool use
- */
-
/**
* @def ODP_SHM_NAME_LEN
* Maximum shared memory block name length in chars including null char
diff --git a/platform/linux-generic/include-abi/odp/api/abi/shared_memory.h b/platform/linux-generic/include-abi/odp/api/abi/shared_memory.h
index 4e6d4805..648bd1ee 100644
--- a/platform/linux-generic/include-abi/odp/api/abi/shared_memory.h
+++ b/platform/linux-generic/include-abi/odp/api/abi/shared_memory.h
@@ -28,7 +28,6 @@ extern "C" {
typedef ODP_HANDLE_T(odp_shm_t);
#define ODP_SHM_INVALID _odp_cast_scalar(odp_shm_t, 0)
-#define ODP_SHM_NULL ODP_SHM_INVALID
#define ODP_SHM_NAME_LEN 32
-----------------------------------------------------------------------
Summary of changes:
include/odp/api/abi-default/shared_memory.h | 1 -
include/odp/api/spec/shared_memory.h | 5 -----
platform/linux-generic/include-abi/odp/api/abi/shared_memory.h | 1 -
3 files changed, 7 deletions(-)
hooks/post-receive
--
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 7c87b66edc84e8c713fefc68d46464660adaf71e (commit)
from 6886a2ca3d3dd1157302ddee424c36f632903bd0 (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 7c87b66edc84e8c713fefc68d46464660adaf71e
Author: Seungha Son <linuxias(a)gmail.com>
Date: Thu Aug 2 00:22:40 2018 +0900
test: odp_pool_per: fix printf string format
Signed-off-by: Seungha Son <linuxias(a)gmail.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Reviewed-by: Bogdan Pricope <bogdan.pricope(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/performance/odp_pool_perf.c b/test/performance/odp_pool_perf.c
index 4a77f327..d771e53e 100644
--- a/test/performance/odp_pool_perf.c
+++ b/test/performance/odp_pool_perf.c
@@ -128,7 +128,7 @@ static int set_num_cpu(test_global_t *global)
ret = odp_cpumask_default_worker(&global->cpumask, num_cpu);
if (num_cpu && ret != num_cpu) {
- printf("Error: Too many workers. Max supported %i\n.", ret);
+ printf("Error: Too many workers. Max supported %i.\n", ret);
return -1;
}
-----------------------------------------------------------------------
Summary of changes:
test/performance/odp_pool_perf.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--
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 6886a2ca3d3dd1157302ddee424c36f632903bd0 (commit)
from d3191c08080c2e73d931697626d39c174f1c663f (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 6886a2ca3d3dd1157302ddee424c36f632903bd0
Author: Matias Elo <matias.elo(a)nokia.com>
Date: Thu Aug 2 10:35:24 2018 +0300
linux-gen: dpdk: fix calling internal dpdk function
Use pool_alloc() directly instead of using internal DPDK wrapper function.
Fixes: https://github.com/Linaro/odp/issues/662
Signed-off-by: Matias Elo <matias.elo(a)nokia.com>
Reported-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c
index 4e320aa0..caebdfe8 100644
--- a/platform/linux-generic/pktio/dpdk.c
+++ b/platform/linux-generic/pktio/dpdk.c
@@ -168,6 +168,8 @@ void refer_constructors(void)
}
#endif
+static int pool_alloc(struct rte_mempool *mp);
+
static int lookup_opt(const char *opt_name, const char *drv_name, int *val)
{
const char *base = "pktio_dpdk";
@@ -341,7 +343,7 @@ static struct rte_mempool *mbuf_pool_create(const char *name,
rte_pktmbuf_pool_init(mp, &mbp_priv);
- if (rte_mempool_ops_alloc(mp)) {
+ if (pool_alloc(mp)) {
ODP_ERR("Failed allocating mempool\n");
return NULL;
}
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/pktio/dpdk.c | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
hooks/post-receive
--