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, caterpillar has been updated
via 8f1b3e72d5aa42a336978445a5011758f8044622 (commit)
from 4f27b38755c891b0638d19b14cce603d9e1f7713 (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 8f1b3e72d5aa42a336978445a5011758f8044622
Author: Michal Mazur <mkm(a)semihalf.com>
Date: Fri Jan 12 19:36:58 2018 +0100
linux-dpdk: pool: Return address range in pool info
Implement support in dpdk_pool_info function to provide
address range of pool data available for application.
Pull request of related API change:
https://github.com/Linaro/odp/pull/200
Signed-off-by: Michal Mazur <mkm(a)semihalf.com>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Yi He <yi.he(a)linaro.org>
diff --git a/platform/linux-dpdk/pool/dpdk.c b/platform/linux-dpdk/pool/dpdk.c
index d2f510c9..62529d9c 100644
--- a/platform/linux-dpdk/pool/dpdk.c
+++ b/platform/linux-dpdk/pool/dpdk.c
@@ -538,6 +538,8 @@ static void dpdk_pool_print(odp_pool_t pool_hdl)
static int dpdk_pool_info(odp_pool_t pool_hdl, odp_pool_info_t *info)
{
pool_entry_cp_t *pool_cp = odp_pool_to_entry_cp(pool_hdl);
+ pool_entry_dp_t *pool_dp = odp_pool_to_entry_dp(pool_hdl);
+ struct rte_mempool_memhdr *hdr;
if (pool_cp == NULL || info == NULL)
return -1;
@@ -545,6 +547,10 @@ static int dpdk_pool_info(odp_pool_t pool_hdl, odp_pool_info_t *info)
info->name = pool_cp->name;
info->params = pool_cp->params;
+ hdr = STAILQ_FIRST(&pool_dp->rte_mempool->mem_list);
+ info->min_data_addr = (uint64_t)hdr->addr;
+ info->max_data_addr = (uint64_t)hdr->addr + hdr->len - 1;
+
return 0;
}
-----------------------------------------------------------------------
Summary of changes:
platform/linux-dpdk/pool/dpdk.c | 6 ++++++
1 file changed, 6 insertions(+)
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 77ff03881d844a9d6a4bc773086bd8aaecace541 (commit)
from 53b114eac3815099760186f90b64a201d7fac69b (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 77ff03881d844a9d6a4bc773086bd8aaecace541
Author: Petri Savolainen <petri.savolainen(a)linaro.org>
Date: Thu Jan 18 15:44:31 2018 +0200
example: ipsec: update gitignore
Signed-off-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/example/ipsec_api/.gitignore b/example/ipsec_api/.gitignore
index 5b410d31..78ef1173 100644
--- a/example/ipsec_api/.gitignore
+++ b/example/ipsec_api/.gitignore
@@ -1 +1 @@
-odp_ipsec
+odp_ipsec_api
-----------------------------------------------------------------------
Summary of changes:
example/ipsec_api/.gitignore | 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 53b114eac3815099760186f90b64a201d7fac69b (commit)
from 1bb6291e4e9050d476fefb02f11024898847e2b7 (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 53b114eac3815099760186f90b64a201d7fac69b
Author: Petri Savolainen <petri.savolainen(a)linaro.org>
Date: Tue Jan 16 15:23:37 2018 +0200
configure: enable linux helpers by default
Enable Linux helpers by default as e.g. OFP uses those. Build
and test helper code does not add significant overhead, but
catches potential issues early.
Signed-off-by: Petri Savolainen <petri.savolainen(a)linaro.org>
Reviewed-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/helper/m4/configure.m4 b/helper/m4/configure.m4
index 3a867e8c..562bfc6e 100644
--- a/helper/m4/configure.m4
+++ b/helper/m4/configure.m4
@@ -8,15 +8,12 @@ AC_ARG_ENABLE([test-helper],
AM_CONDITIONAL([test_helper], [test x$test_helper = xyes ])
##########################################################################
-# Enable/disable helper-ext
-# platform specific non portable extensions
+# Enable/disable Linux helpers
##########################################################################
-helper_linux=no
AC_ARG_ENABLE([helper-linux],
- [ --enable-helper-linux build helper platform extensions (not portable)],
- [if test "x$enableval" = "xyes"; then
- helper_linux=yes
- fi])
+ [AS_HELP_STRING([--disable-helper-linux], [disable Linux helpers])],
+ [helper_linux=$enableval],
+ [helper_linux=yes])
AC_CONFIG_FILES([helper/Makefile
helper/libodphelper.pc
-----------------------------------------------------------------------
Summary of changes:
helper/m4/configure.m4 | 11 ++++-------
1 file changed, 4 insertions(+), 7 deletions(-)
hooks/post-receive
--