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 c4c5fbb7ab395443d53efed0741136d92ef13d7a (commit) via d4419b080f46aa347637f04445f856e2badaabfa (commit) via 58a963ccab214829a7526498b2b63349d4f5caef (commit) via d20f3a639d236066cbd76514df5c4faaa0ae17e9 (commit) via 8eba3e76f32bb2d17b88ba13f633606fef61efe8 (commit) via 39be9572056ee715468214ad6d2d5c01054456d7 (commit) via 3e5a07edf190614e739c8dba76cf165330e1b035 (commit) via 8c0df898b6f90564037fba43b1e9e6224e4ee740 (commit) via 077b6c427cac9687349a56ebf5602bb953348440 (commit) via 66869dae3b8cce7ed020d6922bd68ed30542f753 (commit) via c9417b862f7df0213b5135f0aa364761cb23cec6 (commit) via 0955fbb395dc1651a8bcd473beae2154d39f4a69 (commit) via ce61337e6a7e955913fa64412c75d2066e0f121c (commit) from 6ce267197a66180042916368a469ed9dcc33eaa7 (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 c4c5fbb7ab395443d53efed0741136d92ef13d7a Author: Kevin Wang kevin.wang@arm.com Date: Fri Apr 14 10:57:21 2017 +0800
validation: scheduler: release context according to scheduler sync type
For different scheduler sync type, need to call different release function.
Signed-off-by: Kevin Wang kevin.wang@arm.com Reviewed-by: Honnappa Nagarahalli honnappa.nagarahalli@arm.com Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/common_plat/validation/api/scheduler/scheduler.c b/test/common_plat/validation/api/scheduler/scheduler.c index f46d3910..4f99435c 100644 --- a/test/common_plat/validation/api/scheduler/scheduler.c +++ b/test/common_plat/validation/api/scheduler/scheduler.c @@ -129,6 +129,14 @@ static int exit_schedule_loop(void) return ret; }
+static void release_context(odp_schedule_sync_t sync) +{ + if (sync == ODP_SCHED_SYNC_ATOMIC) + odp_schedule_release_atomic(); + else if (sync == ODP_SCHED_SYNC_ORDERED) + odp_schedule_release_ordered(); +} + void scheduler_test_wait_time(void) { int i; @@ -251,8 +259,7 @@ void scheduler_test_queue_destroy(void) CU_ASSERT_FATAL(u32[0] == MAGIC);
odp_buffer_free(buf); - odp_schedule_release_ordered(); - + release_context(qp.sched.sync); CU_ASSERT_FATAL(odp_queue_destroy(queue) == 0); }
@@ -820,12 +827,7 @@ static int schedule_common_(void *arg) } }
- if (sync == ODP_SCHED_SYNC_ATOMIC) - odp_schedule_release_atomic(); - - if (sync == ODP_SCHED_SYNC_ORDERED) - odp_schedule_release_ordered(); - + release_context(sync); odp_ticketlock_lock(&globals->lock);
globals->buf_count -= num;
commit d4419b080f46aa347637f04445f856e2badaabfa Author: Kevin Wang kevin.wang@arm.com Date: Tue Apr 11 10:38:06 2017 +0800
validation: scheduler: modify the queue size for atomic queue
Signed-off-by: Kevin Wang kevin.wang@arm.com Reviewed-by: Honnappa Nagarahalli honnappa.nagarahalli@arm.com Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --git a/test/common_plat/validation/api/scheduler/scheduler.c b/test/common_plat/validation/api/scheduler/scheduler.c index 952561cd..f46d3910 100644 --- a/test/common_plat/validation/api/scheduler/scheduler.c +++ b/test/common_plat/validation/api/scheduler/scheduler.c @@ -1388,6 +1388,7 @@ static int create_queues(void)
snprintf(name, sizeof(name), "sched_%d_%d_a", i, j); p.sched.sync = ODP_SCHED_SYNC_ATOMIC; + p.size = BUFS_PER_QUEUE_EXCL; q = odp_queue_create(name, &p);
if (q == ODP_QUEUE_INVALID) { @@ -1423,6 +1424,7 @@ static int create_queues(void) snprintf(name, sizeof(name), "sched_%d_%d_o", i, j); p.sched.sync = ODP_SCHED_SYNC_ORDERED; p.sched.lock_count = capa.max_ordered_locks; + p.size = 0; q = odp_queue_create(name, &p);
if (q == ODP_QUEUE_INVALID) {
commit 58a963ccab214829a7526498b2b63349d4f5caef Merge: 6ce26719 d20f3a63 Author: Maxim Uvarov maxim.uvarov@linaro.org Date: Wed Apr 19 19:24:23 2017 +0300
Merge branch 'master' into api-next
Signed-off-by: Maxim Uvarov maxim.uvarov@linaro.org
diff --cc platform/linux-generic/include/odp_internal.h index 05c8a422,e1267cff..acfc3012 --- a/platform/linux-generic/include/odp_internal.h +++ b/platform/linux-generic/include/odp_internal.h @@@ -20,12 -20,10 +20,11 @@@ extern "C" #include <odp/api/init.h> #include <odp/api/cpumask.h> #include <odp/api/thread.h> + #include <odp_errno_define.h> #include <stdio.h> #include <sys/types.h> +#include <libconfig.h>
- extern __thread int __odp_errno; - #define MAX_CPU_NUMBER 128
typedef struct {
-----------------------------------------------------------------------
Summary of changes: configure.ac | 30 ++++++++-------- include/odp/arch/default/api/abi/packet.h | 7 ++-- platform/linux-generic/Makefile.am | 1 + platform/linux-generic/include/odp/api/debug.h | 41 ++++++++++++++++------ .../include/odp/api/plat/packet_inlines.h | 21 +++++++++-- .../include/odp/api/plat/packet_types.h | 10 ++++++ .../include/{odp/api/cpu.h => odp_errno_define.h} | 12 +++---- platform/linux-generic/include/odp_internal.h | 3 +- platform/linux-generic/odp_packet.c | 12 ++++--- platform/linux-generic/pktio/loop.c | 2 +- .../common_plat/miscellaneous/odp_api_from_cpp.cpp | 3 +- test/common_plat/performance/odp_scheduling.c | 12 +++++-- test/common_plat/validation/api/packet/packet.c | 23 +++++++----- .../validation/api/scheduler/scheduler.c | 20 ++++++----- 14 files changed, 132 insertions(+), 65 deletions(-) copy platform/linux-generic/include/{odp/api/cpu.h => odp_errno_define.h} (52%)
hooks/post-receive