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, monarch_lts has been updated
discards 2dd7893463c2417fec14ff3535e5fe641706cae5 (commit)
discards e05c95563f6a3d6264781e645a568e97a4463aef (commit)
discards 5f9b7cc81cd33a03b90a0258ade6c8e652a4ed0d (commit)
This update discarded existing revisions and left the branch pointing at
a previous point in the repository history.
* -- * -- N (759b6d5da6617af244765983d0b8bfbb26f41890)
\
O -- O -- O (2dd7893463c2417fec14ff3535e5fe641706cae5)
The removed revisions are not necessarily gone - if another reference
still refers to them they will stay in the repository.
No new revisions were added by this update.
Summary of changes:
platform/linux-generic/odp_classification.c | 3 +
platform/linux-generic/odp_packet_io.c | 2 -
test/validation/classification/classification.h | 1 -
.../classification/odp_classification_basic.c | 4 +-
.../classification/odp_classification_common.c | 5 +-
.../classification/odp_classification_test_pmr.c | 118 ++-------------------
.../classification/odp_classification_tests.c | 2 -
.../classification/odp_classification_testsuites.h | 3 +-
8 files changed, 17 insertions(+), 121 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
discards 8b435cae63abbf0d44899b5bb87bb0aeb488ca2d (commit)
discards 63c36bee7658d9dcf7126fe67b1eb9f74cb31d46 (commit)
This update discarded existing revisions and left the branch pointing at
a previous point in the repository history.
* -- * -- N (90d4ce1b3b25ca18446131906007571cc0ed0191)
\
O -- O -- O (8b435cae63abbf0d44899b5bb87bb0aeb488ca2d)
The removed revisions are not necessarily gone - if another reference
still refers to them they will stay in the repository.
No new revisions were added by this update.
Summary of changes:
test/common_plat/performance/odp_l2fwd.c | 87 ++++----------------------------
1 file changed, 10 insertions(+), 77 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 3547226b19e6982bf74fc8c258b89db2c5f6a39c (commit)
via 762372f299b64c8c30c3f5a0ba51fbb48e234e1e (commit)
via 65d0fbba8366f68a8fe24426bc0e16ea3cd3cd04 (commit)
via edc288690b65167b347a0e8c2c171198e4d2fbe3 (commit)
from e420668cd3886f003c8bd6022e210bf08a0ee3b5 (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 3547226b19e6982bf74fc8c258b89db2c5f6a39c
Author: Joyce Kong <joyce.kong(a)arm.com>
Date: Mon Aug 7 14:27:34 2017 +0800
linux-gen: timer: control timer pool polling frequency dynamically
Adjust frequency of timer pool polling by the duration
of timer. There needs to be 0 timer pool polling when
no timer pool created.
Signed-off-by: Joyce Kong <joyce.kong(a)arm.com>
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/include/odp_timer_internal.h b/platform/linux-generic/include/odp_timer_internal.h
index 67ee9fef..0759f727 100644
--- a/platform/linux-generic/include/odp_timer_internal.h
+++ b/platform/linux-generic/include/odp_timer_internal.h
@@ -20,9 +20,6 @@
#include <odp_pool_internal.h>
#include <odp/api/timer.h>
-/* Minimum number of nanoseconds between checking timer pools. */
-#define CONFIG_TIMER_RUN_RATELIMIT_NS 100
-
/* Minimum number of scheduling rounds between checking timer pools. */
#define CONFIG_TIMER_RUN_RATELIMIT_ROUNDS 1
diff --git a/platform/linux-generic/odp_timer.c b/platform/linux-generic/odp_timer.c
index fdb48902..b359f7c6 100644
--- a/platform/linux-generic/odp_timer.c
+++ b/platform/linux-generic/odp_timer.c
@@ -75,6 +75,7 @@ static _odp_atomic_flag_t locks[NUM_LOCKS]; /* Multiple locks per cache line! */
/* Max timer resolution in nanoseconds */
static uint64_t highest_res_ns;
+static uint64_t min_res_ns = INT64_MAX;
/******************************************************************************
* Translation between timeout buffer and timeout header
@@ -742,6 +743,9 @@ unsigned _timer_run(void)
CONFIG_TIMER_RUN_RATELIMIT_ROUNDS;
odp_time_t now;
+ if (odp_atomic_load_u32(&num_timer_pools) == 0)
+ return 0;
+
/* Rate limit how often this thread checks the timer pools. */
if (CONFIG_TIMER_RUN_RATELIMIT_ROUNDS > 1) {
@@ -984,6 +988,13 @@ odp_timer_pool_create(const char *name,
__odp_errno = EINVAL;
return ODP_TIMER_POOL_INVALID;
}
+
+ if (min_res_ns > param->res_ns) {
+ min_res_ns = param->res_ns;
+ time_per_ratelimit_period =
+ odp_time_global_from_ns(min_res_ns / 2);
+ }
+
return odp_timer_pool_new(name, param);
}
@@ -1188,7 +1199,7 @@ int odp_timer_init_global(const odp_init_t *params)
!params->not_used.feat.timer;
time_per_ratelimit_period =
- odp_time_global_from_ns(CONFIG_TIMER_RUN_RATELIMIT_NS);
+ odp_time_global_from_ns(min_res_ns / 2);
if (!inline_timers) {
timer_res_init();
commit 762372f299b64c8c30c3f5a0ba51fbb48e234e1e
Merge: e420668c 65d0fbba
Author: Maxim Uvarov <maxim.uvarov(a)linaro.org>
Date: Thu Aug 10 13:51:29 2017 +0300
Merge branch 'master' into api-next
-----------------------------------------------------------------------
Summary of changes:
example/generator/odp_generator.c | 165 +++++++++++++--------
platform/linux-generic/include/odp_pool_internal.h | 1 +
.../linux-generic/include/odp_timer_internal.h | 3 -
platform/linux-generic/odp_pool.c | 19 +++
platform/linux-generic/odp_timer.c | 13 +-
platform/linux-generic/pktio/dpdk.c | 53 ++++---
6 files changed, 163 insertions(+), 91 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, cloud-dev has been updated
via 7dce7af2c3a936f711e845ffcf765bfb1cc3c95a (commit)
from 863d61cc3ed82f9f0725c792910e8a05cc5d5a82 (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 7dce7af2c3a936f711e845ffcf765bfb1cc3c95a
Author: Bogdan Pricope <bogdan.pricope(a)linaro.org>
Date: Thu Aug 10 09:06:16 2017 +0300
example: ddf_app: fix build failure with dpdk PMDs
Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=3198 by
changing build flags.
Signed-off-by: Bogdan Pricope <bogdan.pricope(a)linaro.org>
Reviewed-and-tested-by: Yi He <yi.he(a)linaro.org>
diff --git a/example/ddf_app/Makefile.am b/example/ddf_app/Makefile.am
index e654202a..49f0170f 100644
--- a/example/ddf_app/Makefile.am
+++ b/example/ddf_app/Makefile.am
@@ -1,7 +1,7 @@
include $(top_srcdir)/example/Makefile.inc
bin_PROGRAMS = odp_ddf_app$(EXEEXT)
-odp_ddf_app_LDFLAGS = $(AM_LDFLAGS) -shared
+odp_ddf_app_LDFLAGS = $(AM_LDFLAGS) -static -Wl,--export-dynamic
odp_ddf_app_CFLAGS = $(AM_CFLAGS) -I${top_srcdir}/example
noinst_HEADERS = \
-----------------------------------------------------------------------
Summary of changes:
example/ddf_app/Makefile.am | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
hooks/post-receive
--