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@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@nokia.com Reported-by: Maxim Uvarov maxim.uvarov@linaro.org Signed-off-by: Maxim Uvarov maxim.uvarov@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