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
--
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, tigermoth_lts has been updated
via acebc12a2f2b108086a962976f0f5c4b4419f2c4 (commit)
from 6e741deee25c81429112b82ba54f09205bb7c0ab (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 acebc12a2f2b108086a962976f0f5c4b4419f2c4
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
--
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 d3191c08080c2e73d931697626d39c174f1c663f (commit)
from d7c097e4a1168efa7393f8028179a2ff2f96505d (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 d3191c08080c2e73d931697626d39c174f1c663f
Author: Seungha Son <seungha.son(a)samsung.com>
Date: Tue Jul 31 19:03:52 2018 +0900
linux-gen: timer: add debug print when running out of timer pools
Signed-off-by: Seungha Son <seungha.son(a)samsung.com>
Reviewed-by: Matias Elo <matias.elo(a)nokia.com>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
index 5fef5af2..a030036a 100644
--- a/platform/linux-generic/odp_timer.c
+++ b/platform/linux-generic/odp_timer.c
@@ -259,6 +259,7 @@ static odp_timer_pool_t timer_pool_new(const char *name,
if (timer_global.num_timer_pools >= MAX_TIMER_POOLS) {
odp_ticketlock_unlock(&timer_global.lock);
+ ODP_DBG("No more free timer pools\n");
return ODP_TIMER_POOL_INVALID;
}
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/odp_timer.c | 1 +
1 file changed, 1 insertion(+)
hooks/post-receive
--