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

2018-03-01 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-03-01 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-03-01 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-03-01 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-03-01 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-03-01 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-03-01 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

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

2018-03-01 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-03-01 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-03-01 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@

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

2018-03-01 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-03-01 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

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

2018-03-01 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-03-01 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

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

2018-03-01 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

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

2018-03-01 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

[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

[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

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
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
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
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

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
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: 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: 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: 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

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 +

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@

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: 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: 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

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: m4/odp_libconfig.m4 line 31 @@ -0,0 +1,36 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl

[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

[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

[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) **

[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

[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) **

[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

[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

[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) **

[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

[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

[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)

[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 --- /**

[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) **

[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

[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.

[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 **

[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 v4 1/1] changelog: updates for odp v1.18.0.0

2018-02-27 Thread Github ODP bot
From: Bill Fischofer Add updates for v1.18.0.0 (Tiger Moth RC2) Signed-off-by: Bill Fischofer --- /** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog) ** https://github.com/Linaro/odp/pull/500 ** Patch:

[lng-odp] [PATCH v4 0/1] changelog: updates for v1.18.0.0

2018-02-27 Thread Github ODP bot
Add updates for v1.18.0.0 (Tiger Moth RC2) Signed-off-by: Bill Fischofer bill.fischo...@linaro.org github /** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog) ** https://github.com/Linaro/odp/pull/500 ** Patch:

Re: [lng-odp] [PATCH v10] More tests rework

2018-02-27 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: test/validation/api/init/init_main_log.c line 30 @@ -6,9 +6,81 @@ #include "config.h" -#include "init.h" +#include +#include +#include + +/* flag set when the replacement logging function is used */ +int

[lng-odp] [PATCH v6 7/7] shippable: run tests with all possible schedulers

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) ** https://github.com/Linaro/odp/pull/467 ** Patch:

[lng-odp] [PATCH v6 6/7] shippable: switch to clang 4.0

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Clang 3.8 will miscompile ODP, which results in testsuite crashes. Use clang 4.0 instead. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) **

[lng-odp] [PATCH v6 5/7] travis: test all schedulers in single pass

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Run tests with all schedulers in default CONF setting and while doing coverage test. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) **

[lng-odp] [PATCH v6 4/7] linux-gen: schedule, queue: select scheduler/queue via environment

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Use ODP_SCHEDULER environment variable to select scheduler/queue implementation. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) **

[lng-odp] [PATCH v6 3/7] linux-gen: rename traditional scheduler and queue to basic

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Rename traditional scheduler and queue implementations to basic. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) **

[lng-odp] [PATCH v6 2/7] linux-gen: sched: encapsulate sched init/term_global functions

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Hide calling into sched_fn into sched_if module. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) ** https://github.com/Linaro/odp/pull/467

[lng-odp] [PATCH v6 1/7] linux-gen: queue: encapsulate queue init/term_global functions

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Hide calling into queue_fn into queue_if module. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 467 (lumag:sched-env) ** https://github.com/Linaro/odp/pull/467

[lng-odp] [PATCH v6 0/7] Select scheduler+queue in runtime, basing on environment

2018-02-27 Thread Github ODP bot
This would allow us to drop compile-time option in favour of runtime configuration. We do compile all schedulers anyway, so it's a minor step to select them in runtime. This would allow us to do code coverage for non-default schedulers. github /** Email

[lng-odp] [PATCH v10 3/3] validation: init: remove "library" file

2018-02-27 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) **

[lng-odp] [PATCH v10 2/3] build: change order of subdirectories

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Descend into examples after building/running tests. It is quite logical that first we build validation & performance tests, then we build platform tests, helper tests and only after that descend into examples. Signed-off-by:

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

2018-02-27 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

[lng-odp] [PATCH v10 0/3] More tests rework

2018-02-27 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) **

[lng-odp] [PATCH v3 1/1] changelog: updates for odp v1.18.0.0

2018-02-27 Thread Github ODP bot
From: Bill Fischofer Add updates for v1.18.0.0 (Tiger Moth RC2) Signed-off-by: Bill Fischofer --- /** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog) ** https://github.com/Linaro/odp/pull/500 ** Patch:

[lng-odp] [PATCH v3 0/1] changelog: updates for v1.18.0.0

2018-02-27 Thread Github ODP bot
Add updates for v1.18.0.0 (Tiger Moth RC2) Signed-off-by: Bill Fischofer bill.fischo...@linaro.org github /** Email created from pull request 500 (Bill-Fischofer-Linaro:v1.18-changelog) ** https://github.com/Linaro/odp/pull/500 ** Patch:

[lng-odp] [PATCH API-NEXT v3 1/11] linux-gen: packet: add odp_packet_l2_type() implementation

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 10/11] linux-gen: ipsec: support inbound TFC dummy packets

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 11/11] validation: ipsec: inbound TFC dummy packets check

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 7/11] validation: ipsec: add L3/L4 types validation

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 9/11] linux-gen: ipsec: take output ip_param into account

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Allow per-packet override of IP parameters. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502

[lng-odp] [PATCH API-NEXT v3 8/11] linux-gen: ipsec: separate ipv4/ipv6 flags

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 6/11] linux-gen: packet: support L4 type No Next Header

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 5/11] linux-gen: ipsec: take ipsec_out_opt flags into account

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Only override frag_mode if respective flag is set. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) **

[lng-odp] [PATCH API-NEXT v3 4/11] linux-gen: ipsec: provide global init/term functions

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 3/11] validation: ipsec: set frag_mode flag

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 2/11] validation: packet: verify odp_packet_l2_type()

2018-02-27 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch:

[lng-odp] [PATCH API-NEXT v3 0/11] IPsec implementation update

2018-02-27 Thread Github ODP bot
github /** Email created from pull request 502 (lumag:ipsec-imp-upd) ** https://github.com/Linaro/odp/pull/502 ** Patch: https://github.com/Linaro/odp/pull/502.patch ** Base sha: ce5c4f9e7ce9fe504451c29429b9ae9fb68083ae ** Merge commit sha:

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-27 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_ipsec.c @@ -1307,8 +1308,10 @@ static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt, ipsec_sa = _odp_ipsec_sa_use(sa); ODP_ASSERT(NULL != ipsec_sa); - if ((opt && opt->frag_mode ==

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-27 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-generic/odp_packet.c line 22 @@ -2506,6 +2506,16 @@ int odp_packet_has_ref(odp_packet_t pkt) return 0; } +odp_proto_l2_type_t odp_packet_l2_type(odp_packet_t pkt) +{ + odp_packet_hdr_t *pkt_hdr =

Re: [lng-odp] [PATCH v5] More tests rework

2018-02-27 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/m4/configure.m4 @@ -7,30 +7,6 @@ AC_CONFIG_FILES([test/Makefile test/miscellaneous/Makefile test/performance/Makefile test/validation/Makefile -

Re: [lng-odp] [PATCH v5] More tests rework

2018-02-27 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: example/generator/generator_run.sh @@ -6,6 +6,12 @@ # SPDX-License-Identifier: BSD-3-Clause # +if [ -n "${ODP_PLATFORM}" -a "x${ODP_PLATFORM}" != "xlinux-generic" ] +then + echo "Skipping test on probably unsupported

Re: [lng-odp] [PATCH v1] changelog: updates for v1.18.0.0

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: CHANGELOG line 219 @@ -1,3 +1,217 @@ +== OpenDataPlane (1.18.0.0) +=== New Features +ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new +APIs that are part of the Tiger Moth Long Term Support (LTS) release

Re: [lng-odp] [PATCH v1] changelog: updates for v1.18.0.0

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: CHANGELOG line 210 @@ -1,3 +1,217 @@ +== OpenDataPlane (1.18.0.0) +=== New Features +ODP v1.18.0.0 is Tiger Moth Release Candidate 2 (RC 2). It completes the new +APIs that are part of the Tiger Moth Long Term Support (LTS) release

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c line 207 @@ -1307,8 +1308,10 @@ static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt, ipsec_sa = _odp_ipsec_sa_use(sa); ODP_ASSERT(NULL != ipsec_sa); - if ((opt &&

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_packet.c line 22 @@ -2506,6 +2506,16 @@ int odp_packet_has_ref(odp_packet_t pkt) return 0; } +odp_proto_l2_type_t odp_packet_l2_type(odp_packet_t pkt) +{ + odp_packet_hdr_t *pkt_hdr =

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c line 269 @@ -1697,7 +1702,7 @@ int odp_ipsec_out_inline(const odp_packet_t pkt_in[], int num_in, } if (0 == param->num_opt) - opt = NULL; +

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c line 269 @@ -1602,7 +1607,7 @@ int odp_ipsec_out_enq(const odp_packet_t pkt_in[], int num_in, ODP_ASSERT(ODP_IPSEC_SA_INVALID != sa); if (0 == param->num_opt) -

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c line 269 @@ -1495,7 +1500,7 @@ int odp_ipsec_out(const odp_packet_t pkt_in[], int num_in, ODP_ASSERT(ODP_IPSEC_SA_INVALID != sa); if (0 == param->num_opt) -

Re: [lng-odp] [PATCH API-NEXT v1] IPsec implementation update

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/odp_ipsec.c line 203 @@ -1307,8 +1308,10 @@ static ipsec_sa_t *ipsec_out_single(odp_packet_t pkt, ipsec_sa = _odp_ipsec_sa_use(sa); ODP_ASSERT(NULL != ipsec_sa); - if ((opt &&

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 46 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef

Re: [lng-odp] [PATCH v2] Ring implementation of queues

2018-02-26 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: platform/linux-generic/include/odp_ring_st_internal.h line 46 @@ -0,0 +1,118 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#ifndef ODP_RING_ST_INTERNAL_H_ +#define

Re: [lng-odp] [PATCH API-NEXT v1] api: packet: data and segment length

2018-02-26 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/packet.h line 17 @@ -401,30 +401,39 @@ uint32_t odp_packet_buf_len(odp_packet_t pkt); /** * Packet data pointer * - * Returns the current packet data pointer. When a packet is received - * from packet input, this

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

2018-02-26 Thread Github ODP bot
Bill Fischofer(Bill-Fischofer-Linaro) replied on github web page: platform/linux-generic/pktio/dpdk.c line 67 @@ -93,6 +95,56 @@ void refer_constructors(void) } #endif +static void lookup_opt(config_setting_t *default_opt, config_setting_t *drv_opt, + const char *opt,

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

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

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

2018-02-26 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: platform/linux-generic/odp_libconfig.c line 49 @@ -0,0 +1,57 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#include +#include + +#include

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

2018-02-26 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: DEPENDENCIES line 5 @@ -19,7 +19,7 @@ Prerequisites for building the OpenDataPlane (ODP) API 3. Required libraries - Libraries currently required to link: openssl, libatomic + Libraries currently required to link: openssl, libatomic,

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

2018-02-26 Thread Github ODP bot
Matias Elo(matiaselo) replied on github web page: m4/odp_libconfig.m4 line 7 @@ -0,0 +1,60 @@ +# ODP_LIBCONFIG([ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND]) +# - +AC_DEFUN([ODP_LIBCONFIG], +[dnl +AC_ARG_VAR([LIBCONFIG_CPPFLAGS], [C preprocessor

<    1   2   3   4   5   6   7   8   9   10   >