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 dccf4d8fcba4f912d4844b6d4a30f045b1e12651 (commit)
from cd289985b5247fe9f1d1f58753717bd5659bd7d0 (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 dccf4d8fcba4f912d4844b6d4a30f045b1e12651
Author: Ilias Apalodimas <ilias.apalodimas(a)linaro.org>
Date: Sat Dec 23 13:49:01 2017 +0200
linux-gen: _ishm: proper alignment for current page size
On systems compiled without hugetlb odp_init_global() failed.
On systems with hugetlb alignment was superfluous.
Fixes https://bugs.linaro.org/show_bug.cgi?id=3478
Signed-off-by: Ilias Apalodimas <ilias.apalodimas(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/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c
index 82465bc5..bce4e402 100644
--- a/platform/linux-generic/_ishm.c
+++ b/platform/linux-generic/_ishm.c
@@ -864,8 +864,8 @@ int _odp_ishm_reserve(const char *name, uint64_t size, int fd,
* the same address every where, otherwise alignment may be
* be wrong for some process */
hp_align = align;
- if (hp_align <= odp_sys_huge_page_size())
- hp_align = odp_sys_huge_page_size();
+ if (hp_align <= page_hp_size)
+ hp_align = page_hp_size;
else
flags |= _ODP_ISHM_SINGLE_VA;
@@ -1441,6 +1441,8 @@ int _odp_ishm_init_global(void)
void *spce_addr;
int i;
uid_t uid;
+ char *hp_dir = odp_global_data.hugepage_info.default_huge_page_dir;
+ uint64_t align;
odp_global_data.main_pid = getpid();
odp_global_data.shm_dir = getenv("ODP_SHM_DIR");
@@ -1466,13 +1468,13 @@ int _odp_ishm_init_global(void)
return -1;
}
- if (!odp_global_data.hugepage_info.default_huge_page_dir)
+ if (!hp_dir) {
ODP_DBG("NOTE: No support for huge pages\n");
- else {
- ODP_DBG("Huge pages mount point is: %s\n",
- odp_global_data.hugepage_info.default_huge_page_dir);
- _odp_ishm_cleanup_files(
- odp_global_data.hugepage_info.default_huge_page_dir);
+ align = odp_sys_page_size();
+ } else {
+ ODP_DBG("Huge pages mount point is: %s\n", hp_dir);
+ _odp_ishm_cleanup_files(hp_dir);
+ align = odp_sys_huge_page_size();
}
_odp_ishm_cleanup_files(odp_global_data.shm_dir);
@@ -1504,8 +1506,7 @@ int _odp_ishm_init_global(void)
*reserve the address space for _ODP_ISHM_SINGLE_VA reserved blocks,
* only address space!
*/
- spce_addr = _odp_ishmphy_book_va(ODP_CONFIG_ISHM_VA_PREALLOC_SZ,
- odp_sys_huge_page_size());
+ spce_addr = _odp_ishmphy_book_va(ODP_CONFIG_ISHM_VA_PREALLOC_SZ, align);
if (!spce_addr) {
ODP_ERR("unable to reserve virtual space\n.");
goto init_glob_err3;
-----------------------------------------------------------------------
Summary of changes:
platform/linux-generic/_ishm.c | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 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, caterpillar has been updated
via bbbe6c0ef65c16f6d7d327712f177fbf6740e96f (commit)
from 63fd88635cc10caaa02fdccd3f52c9494487bdd2 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
platform/linux-dpdk/Makefile.am | 4 ++--
platform/linux-dpdk/buffer/dpdk.c | 1 -
platform/linux-dpdk/include/odp_buffer_internal.h | 8 +++++---
platform/linux-dpdk/odp_packet.c | 2 --
4 files changed, 7 insertions(+), 8 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, api-next has been updated
via a5f07dbf95f982b7c5898434e56164ff976c0a0f (commit)
via cd289985b5247fe9f1d1f58753717bd5659bd7d0 (commit)
via 38fb73d6ed79d649fdec726ca4bacc93747daa9b (commit)
via 5b915893c793ffb3d49152d480d084dba32a5a74 (commit)
from 578ecf796dc0bf7bb230b3488d263dd455ed0a18 (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.../include/odp/api/plat/packet_inlines.h | 80 ++++++++++++++++++++++
.../include/odp/api/plat/packet_inlines_api.h | 30 ++++++++
.../include/odp/api/plat/packet_types.h | 6 ++
platform/linux-generic/odp_packet.c | 66 +++++-------------
platform/linux-generic/odp_traffic_mngr.c | 11 +--
test/Makefile.am | 2 +-
6 files changed, 141 insertions(+), 54 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, next has been updated
via a5f07dbf95f982b7c5898434e56164ff976c0a0f (commit)
via cd289985b5247fe9f1d1f58753717bd5659bd7d0 (commit)
via 38fb73d6ed79d649fdec726ca4bacc93747daa9b (commit)
via 5b915893c793ffb3d49152d480d084dba32a5a74 (commit)
via 578ecf796dc0bf7bb230b3488d263dd455ed0a18 (commit)
via f1449d2555fbfa3d72aeb79d3ad6d2f199e83731 (commit)
via 5d6aea3f7186a4533ffb7a2bc4858a1d339ebbb4 (commit)
via 260ca880b76151b66919cf0f3c149c2ba9ede24e (commit)
from 6ca5f5cb57de9f71ace37118a9b0788b2abf529e (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 2 -
.../include/odp/api/plat/packet_inlines.h | 80 ++++++++++++++++++++++
.../include/odp/api/plat/packet_inlines_api.h | 30 ++++++++
.../include/odp/api/plat/packet_types.h | 6 ++
platform/linux-generic/odp_packet.c | 66 +++++-------------
platform/linux-generic/odp_traffic_mngr.c | 11 +--
test/Makefile.am | 2 +-
test/common/odp_cunit_common.c | 14 ++++
test/common/odp_cunit_common.h | 2 -
test/validation/api/packet/packet.c | 2 +-
10 files changed, 156 insertions(+), 59 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 5b915893c793ffb3d49152d480d084dba32a5a74 (commit)
from f1449d2555fbfa3d72aeb79d3ad6d2f199e83731 (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 5b915893c793ffb3d49152d480d084dba32a5a74
Author: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Date: Wed Dec 13 01:15:40 2017 +0300
tests: compile and execute validation tests before the rest of tests
Validation tests examine API thoroughly. Compile and execute them before
performance and misc tests.
Signed-off-by: Dmitry Eremin-Solenikov <dmitry.ereminsolenikov(a)linaro.org>
Signed-off-by: Bill Fischofer <bill.fischofer(a)linaro.org>
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
diff --git a/test/Makefile.am b/test/Makefile.am
index 8fbd9190..ba13eae8 100644
--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -1 +1 @@
-SUBDIRS = common performance miscellaneous validation
+SUBDIRS = common validation performance miscellaneous
-----------------------------------------------------------------------
Summary of changes:
test/Makefile.am | 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 f1449d2555fbfa3d72aeb79d3ad6d2f199e83731 (commit)
via 5d6aea3f7186a4533ffb7a2bc4858a1d339ebbb4 (commit)
from 260ca880b76151b66919cf0f3c149c2ba9ede24e (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 -----------------------------------------------------------------
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 2 --
test/common/odp_cunit_common.c | 14 ++++++++++++++
test/common/odp_cunit_common.h | 2 --
3 files changed, 14 insertions(+), 4 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, api-next has been updated
via 578ecf796dc0bf7bb230b3488d263dd455ed0a18 (commit)
via f1449d2555fbfa3d72aeb79d3ad6d2f199e83731 (commit)
via 5d6aea3f7186a4533ffb7a2bc4858a1d339ebbb4 (commit)
via 260ca880b76151b66919cf0f3c149c2ba9ede24e (commit)
from 6ca5f5cb57de9f71ace37118a9b0788b2abf529e (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 578ecf796dc0bf7bb230b3488d263dd455ed0a18
Merge: 6ca5f5cb f1449d25
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Sat Dec 23 23:24:44 2017 +0300
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov <maxim.uvarov(a)linaro.org>
-----------------------------------------------------------------------
Summary of changes:
.travis.yml | 2 --
test/common/odp_cunit_common.c | 14 ++++++++++++++
test/common/odp_cunit_common.h | 2 --
test/validation/api/packet/packet.c | 2 +-
4 files changed, 15 insertions(+), 5 deletions(-)
hooks/post-receive
--