[lng-odp] [Linaro/odp] a92449: linux-gen: queue: encapsulate queue init/term_glob...

2018-02-28 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: a924494119e6d672181aef529ba01c7e6a67951f https://github.com/Linaro/odp/commit/a924494119e6d672181aef529ba01c7e6a67951f Author: Dmitry Eremin-Solenikov Date: 2018-02-28 (Wed, 28 Feb 2018) Changed paths:

Re: [lng-odp] ODP release tarballs

2018-02-28 Thread Dmitry Eremin-Solenikov
On 28 February 2018 at 10:30, Maxim Uvarov wrote: > github automacitally creates tar balls for tags: > https://github.com/Linaro/odp/releases > > is that what is needed? They are not ./configure-able at hand. They contain extra files, that are not part of "DIST" files, so they surve the purpose b

[lng-odp] [PATCH v3 0/1] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Enables changing ODP runtime configuration options by using an optional configuration file (libconfig). Path to the conf file is passed using environment variable ODP_CONF_FILE. If ODP_CONF_FILE or a particular option is not set, hardcoded default values are used instead. An template configuration

[lng-odp] [PATCH v3 1/10] linux-gen: queue: inline queue from index conversion

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Inline queue handle from queue index conversion function. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** https://github.com/Linaro/odp/pull/492 ** Patch: https://github.com/Linaro/odp/pull/492.patch ** Base sh

[lng-odp] [PATCH v3 0/10] Ring implementation of queues

2018-02-28 Thread Github ODP bot
Optimize queues and scheduling with a ring based implementation. Ring operations are not atomic and behind locks. Scheduler throughput improves in L2fwd test about 30%. Buffer header gets smaller and not related to burst size, which has positive impact to direct mode pktio throughput also. 2x10

[lng-odp] [PATCH v3 5/10] test: pktio_ordered: honour max queue size

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Limit maximum number of events to maximum pool and queue capability when needed. Pool size should not be larger than queue size as test run in validation suite suffers from queue enqueue failures (queue full) and sequence number checking does not pass due to that. Signed-o

[lng-odp] [PATCH v3 4/10] validation: sched: honour max queue size

2018-02-28 Thread Github ODP bot
From: Petri Savolainen When needed, scale down atomic queue size requirement to maximum queue size capability. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** https://github.com/Linaro/odp/pull/492 ** Patch: https://github.com/Linaro/

[lng-odp] [PATCH v3 3/10] helper: cuckoo: check pool and queue limits

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Use capability to check if pool and queue can hold enough events. Also lower test case resource requirement. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** https://github.com/Linaro/odp/pull/492 ** Patch: https

[lng-odp] [PATCH v3 7/10] linux-gen: config: increase max burst size

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Burst size can be now increased without overhead as buffer header size is not tied to it. Burst size increase from 16 to 32 improves e.g. l2fwd throughput more than 10%. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim

[lng-odp] [PATCH v3 9/10] test: l2fwd: remove unnecessary doxygen tags

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Doxygen documentation is not generated from this file. Remove unnecessary and incomplete doxygen taggings. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** https://github.com/Linaro/odp/pull/492 ** Patch: https:/

[lng-odp] [PATCH v3 6/10] linux-gen: queue: ring based queue implementation

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Change from linked list of bursts to a ring implementation. Queues have maximum size but code is simpler and performance is a bit better. This step helps in a potential future step to implement queues with a lockless ring. Signed-off-by: Petri Savolainen --- /** Email cre

[lng-odp] [PATCH v3 1/1] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
From: Matias Elo Enables changing ODP runtime configuration options by using an optional configuration file (libconfig). Path to the conf file is passed using environment variable ODP_CONF_FILE. If ODP_CONF_FILE or a particular option is not set, hardcoded default values are used instead. An temp

[lng-odp] [PATCH v3 8/10] linux-gen: queue: simplify lock macro usage

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Use queue entry pointer as macro parameter instead of lock pointer. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** https://github.com/Linaro/odp/pull/492 ** Patch: https://github.com/Linaro/odp/pull/492.patch

[lng-odp] [PATCH v3 2/10] linux-gen: ring_st: ring for single thread usage

2018-02-28 Thread Github ODP bot
From: Petri Savolainen This ring can be used as simple FIFO when enqueue / dequeue operation synchronization is not needed, or synchronization is provided by an upper layer already. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** https

[lng-odp] [PATCH v3 10/10] test: l2fwd: increase num pkt and honour pool capability

2018-02-28 Thread Github ODP bot
From: Petri Savolainen Increase number of packets to 16k as 8k packets limit throughput on 40Gbit testing. Also limit packet count and length to pool capability maximums when needed. Signed-off-by: Petri Savolainen --- /** Email created from pull request 492 (psavol:master-sched-optim) ** http

[lng-odp] [Linaro/odp] 5131f5: validation: timer: fix "Failed to set timer" error

2018-02-28 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 5131f551d8525d3a9235b2944f0fa84546dba120 https://github.com/Linaro/odp/commit/5131f551d8525d3a9235b2944f0fa84546dba120 Author: Dmitry Eremin-Solenikov Date: 2018-02-28 (Wed, 28 Feb 2018) Changed paths:

[lng-odp] [Bug 3517] timer test might fail

2018-02-28 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3517 --- Comment #12 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/84d072b5c7327437cae7a1dd35ab9777ce14 refs/heads/master 2018-02-28T16:40:09+03:00 Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org validation: timer: fix test failur

[lng-odp] [Bug 3628] Another timer_main failure

2018-02-28 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3628 --- Comment #4 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/5131f551d8525d3a9235b2944f0fa84546dba120 refs/heads/master 2018-02-28T16:36:13+03:00 Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org validation: timer: fix "Failed to s

[lng-odp] [PATCH v12 2/2] validation: init: remove "library" file

2018-02-28 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Split init.c/init.h files into individual tests, simplifying setup. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 496 (lumag:tests-fix-2) ** https://github.com/Linaro/odp/pull/496 ** Patch: https://github.com/Linaro/odp/pull/496.p

[lng-odp] [PATCH v12 1/2] example: generator: move script back to example directory

2018-02-28 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Move script back to examples dir, so that platform other than linux-generic might be able to run this test/example, if they choose to implement null: PktIO type. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 496 (lumag:tests-fix-2)

[lng-odp] [PATCH v12 0/2] More tests rework

2018-02-28 Thread Github ODP bot
Rework generator fix for "no null: pktio on non-linux-generic platforms" issue Change order of tests execution Move all validation tests to single directory to simplify builds. github /** Email created from pull request 496 (lumag:tests-fix-2) ** https://gi

[lng-odp] Shippable: no test reports

2018-02-28 Thread Dmitry Eremin-Solenikov
Hello, Just for your info: currently Shippable fails to generate test reports due to one of the system files being compiled for the wrong architecture. I've opened an issue at https://github.com/Shippable/support/issues/4157 -- With best wishes Dmitry

Re: [lng-odp] Shippable: no test reports

2018-02-28 Thread Maxim Uvarov
has now to be fixed. On 28 February 2018 at 18:04, Dmitry Eremin-Solenikov < dmitry.ereminsoleni...@linaro.org> wrote: > Hello, > > Just for your info: currently Shippable fails to generate test reports > due to one of the system files being compiled for the wrong > architecture. I've opened an i

[lng-odp] [PATCH v1 0/1] shippable: pass CI=true to tests

2018-02-28 Thread Github ODP bot
sudo will strip most variables from host environment, including precious CI=true setting, which we use to skip some obscure test results (like traffic mngr) if tests are running in non-isolated environment. So enforce CI=true when calling tests. Signed-off-by: Dmitry Eremin-Solenikov dmitry.eremins

[lng-odp] [PATCH v1 1/1] shippable: pass CI=true to tests

2018-02-28 Thread Github ODP bot
From: Dmitry Eremin-Solenikov sudo will strip most variables from host environment, including precious CI=true setting, which we use to skip some obscure test results (like traffic mngr) if tests are running in non-isolated environment. So enforce CI=true when calling tests. Signed-off-by: Dmitr

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: m4/odp_libconfig.m4 line 31 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: m4/odp_libconfig.m4 line 11 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp_internal.h line 15 @@ -55,10 +56,16 @@ struct odp_global_data_s { odp_cpumask_t control_cpus; odp_cpumask_t worker_cpus; int num_cpus_installed; + config_t *libconfig_default

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: m4/odp_libconfig.m4 line 29 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: m4/odp_libconfig.m4 line 28 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/libodp-linux.pc.in line 5 @@ -7,5 +7,5 @@ Name: libodp-linux Description: The ODP packet processing engine Version: @PKGCONFIG_VERSION@ Libs: -L${libdir} -lodp-linux -Libs.private: @OPENSSL_STATIC_LIBS@ @DPDK_LIBS

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_libconfig.c line 37 @@ -0,0 +1,82 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include +#include + +#inclu

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: Makefile.am line 5 @@ -20,7 +20,7 @@ SUBDIRS = \ @DX_RULES@ -EXTRA_DIST = bootstrap CHANGELOG config/README +EXTRA_DIST = bootstrap CHANGELOG config/README config/odp-linux.conf Comment: Should ODP install this header file somewhere

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: m4/odp_libconfig.m4 line 19 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/Makefile.am line 14 @@ -94,6 +96,8 @@ noinst_HEADERS = \ include/odp_forward_typedefs_internal.h \ include/odp_internal.h \ include/odp_ipsec_internal.h \ +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: m4/odp_libconfig.m4 line 11 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +#

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: m4/odp_libconfig.m4 line 31 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +#

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/Makefile.am line 14 @@ -94,6 +96,8 @@ noinst_HEADERS = \ include/odp_forward_typedefs_internal.h \ include/odp_internal.h \ include/odp_ipsec_internal.h \ +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/include/odp_internal.h line 15 @@ -55,10 +56,16 @@ struct odp_global_data_s { odp_cpumask_t control_cpus; odp_cpumask_t worker_cpus; int num_cpus_installed; + config_t *libconfig_default

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/include/odp_internal.h line 15 @@ -55,10 +56,16 @@ struct odp_global_data_s { odp_cpumask_t control_cpus; odp_cpumask_t worker_cpus; int num_cpus_installed; + config_t *libconfig_default; +

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: m4/odp_libconfig.m4 line 29 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +#

Re: [lng-odp] [PATCH v3] linux-gen: add runtime configuration file

2018-02-28 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: m4/odp_libconfig.m4 line 29 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +

[lng-odp] [Linaro/odp] fa470a: linux-gen: packet: add odp_packet_l2_type() implem...

2018-02-28 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: fa470a09c2bb3a8aa8155e4b9572c3a87f76f879 https://github.com/Linaro/odp/commit/fa470a09c2bb3a8aa8155e4b9572c3a87f76f879 Author: Dmitry Eremin-Solenikov Date: 2018-02-28 (Wed, 28 Feb 2018) Changed paths:

[lng-odp] [Linaro/odp] c51871: example: generator: move script back to example di...

2018-02-28 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: c51871cdbf3aeb0d9a7fd1263edde743802e6cb5 https://github.com/Linaro/odp/commit/c51871cdbf3aeb0d9a7fd1263edde743802e6cb5 Author: Dmitry Eremin-Solenikov Date: 2018-02-28 (Wed, 28 Feb 2018) Changed paths:

[lng-odp] [PATCH v2 0/1] odp: pktio: add pcapng capture capabilities

2018-02-28 Thread Github ODP bot
Changes since RFC: - addressed issues reported in RFC - rewrote some functions for easier understanding - added capability on all input queues How to test: sudo mkdir /var/run/odp/ start the ODP application sudo dd if=/var/run/odp/"odp pid"-"inteface"-flow-"queue number" of=~/test.pcap Signed-off-b

[lng-odp] [PATCH v2 1/1] odp: pktio: add pcapng capture capabilities

2018-02-28 Thread Github ODP bot
From: Ilias Apalodimas Changes since RFC: - Addressed issues reported in RFC - rewrote some functions for easier understanding - added capability on all input queues How to test: sudo mkdir /var/run/odp/ start the ODP application sudo dd if=/var/run/odp/"odp pid"-"intefac