[lng-odp] [PATCH CATERPILLAR v2 3/3] example: instrum: use low level API to retrieve performance counters

2018-01-11 Thread Github ODP bot
From: Bogdan Pricope Signed-off-by: Bogdan Pricope --- /** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc) ** https://github.com/Linaro/odp/pull/381 ** Patch: https://github.com/Linaro/odp/pull/381.patch ** Base sha:

[lng-odp] [PATCH CATERPILLAR v2 1/3] example: add papi path configuration option

2018-01-11 Thread Github ODP bot
From: Bogdan Pricope Signed-off-by: Bogdan Pricope --- /** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc) ** https://github.com/Linaro/odp/pull/381 ** Patch: https://github.com/Linaro/odp/pull/381.patch ** Base sha:

[lng-odp] [PATCH CATERPILLAR v2 0/3] RFC - code instrumentation with PAPI library

2018-01-11 Thread Github ODP bot
ODP API instrumentation with PAPI (Performance API) library (http://icl.cs.utk.edu/papi) "instrum" example is using library preload, symbols overloading and PAPI to obtain performance counters (like data cache miss or conditional branch count) for execution of ODP API calls. Performance

[lng-odp] [PATCH CATERPILLAR v2 2/3] example: instrum: add skeleton

2018-01-11 Thread Github ODP bot
From: Bogdan Pricope Signed-off-by: Bogdan Pricope --- /** Email created from pull request 381 (bogdanPricope:cat_benchmark_poc) ** https://github.com/Linaro/odp/pull/381 ** Patch: https://github.com/Linaro/odp/pull/381.patch ** Base sha:

Re: [lng-odp] [PATCH CATERPILLAR v1] linux-dpdk: crypto support for cipher & auth only feature

2018-01-11 Thread Github ODP bot
GBalakrishna replied on github web page: platform/linux-dpdk/odp_crypto.c line 27 @@ -116,13 +124,14 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, switch (auth_alg) { case ODP_AUTH_ALG_NULL: auth_xform->auth.algo = RTE_CRYPTO_AUTH_NULL; +

Re: [lng-odp] [PATCH v14] OpenSSL ctx rework

2018-01-11 Thread Github ODP bot
JannePeltonen replied on github web page: platform/linux-generic/odp_crypto.c line 92 @@ -137,15 +139,56 @@ struct odp_crypto_global_s { odp_spinlock_tlock; odp_crypto_generic_session_t *free; odp_crypto_generic_session_t sessions[MAX_SESSIONS]; + +

Re: [lng-odp] [PATCH v14] OpenSSL ctx rework

2018-01-11 Thread Github ODP bot
JannePeltonen replied on github web page: platform/linux-generic/odp_crypto.c @@ -137,15 +139,56 @@ struct odp_crypto_global_s { odp_spinlock_tlock; odp_crypto_generic_session_t *free; odp_crypto_generic_session_t sessions[MAX_SESSIONS]; + + /* These

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-gen: mediated devices common code

2018-01-11 Thread Github ODP bot
Mykyta Iziumtsev(MykytaI) replied on github web page: platform/linux-generic/pktio/mdev.c @@ -0,0 +1,589 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#ifdef ODP_MDEV + +#include +#include

Re: [lng-odp] [PATCH CATERPILLAR v3] linux-gen: mediated devices common code

2018-01-11 Thread Github ODP bot
Mykyta Iziumtsev(MykytaI) replied on github web page: platform/linux-generic/pktio/mdev.c @@ -0,0 +1,585 @@ +/* Copyright (c) 2018, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include "config.h" + +#ifdef ODP_MDEV + +#include +#include

[lng-odp] [PATCH CATERPILLAR v3 0/1] linux-gen: mediated devices common code

2018-01-11 Thread Github ODP bot
Add APIs to create/destroy mediated devices, manipulate their regions and allocate/free DMA areas accessible by both ODP and HW. Signed-off-by: Ilias Apalodimas ilias.apalodi...@linaro.org Signed-off-by: Mykyta Iziumtsev mykyta.iziumt...@linaro.org github

[lng-odp] [PATCH CATERPILLAR v3 1/1] linux-gen: mediated devices common code

2018-01-11 Thread Github ODP bot
From: Ilias Apalodimas Add APIs to create/destroy mediated devices, manipulate their regions and allocate/free DMA areas accessible by both ODP and HW. Signed-off-by: Ilias Apalodimas Signed-off-by: Mykyta Iziumtsev

[lng-odp] [PATCH API-NEXT v4 0/4] api: lock-free queues implementation

2018-01-11 Thread Github ODP bot
Simple implementation of lockfree queues. Capability API changed to enable totally different queue implementation of non-blocking vs blocking queues. github /** Email created from pull request 353 (psavol:next-lockfree-queue-impl2) **

[lng-odp] [PATCH API-NEXT v4 1/4] api: queue: block-free capabilities

2018-01-11 Thread Github ODP bot
From: Petri Savolainen Lock-free and wait-free implementations may differ a lot from the default (blocking) implementation. Thus the maximum number of queues and queue sizes may be more limited. Non-blocking enum is not needed anymore as capability, since number of

[lng-odp] [PATCH API-NEXT v4 2/4] validation: queue: test lock-free queue

2018-01-11 Thread Github ODP bot
From: Petri Savolainen Added simple, single threaded enqueue/dequeue test for lock-free queues. Signed-off-by: Petri Savolainen --- /** Email created from pull request 353 (psavol:next-lockfree-queue-impl2) **

Re: [lng-odp] [PATCH CATERPILLAR v1] linux-dpdk: crypto support for cipher & auth only feature

2018-01-11 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: platform/linux-dpdk/odp_crypto.c line 27 @@ -116,13 +124,14 @@ static int auth_alg_odp_to_rte(odp_auth_alg_t auth_alg, switch (auth_alg) { case ODP_AUTH_ALG_NULL: auth_xform->auth.algo =

[lng-odp] [PATCH API-NEXT v4 3/4] validation: queue: multi-thread plain queue test

2018-01-11 Thread Github ODP bot
From: Petri Savolainen Test plain queue enqueue and dequeue with multiple concurrent threads. Test blocking and non-blocking lock-free implementations. Signed-off-by: Petri Savolainen --- /** Email created from pull request 353

[lng-odp] [PATCH API-NEXT v4 4/4] linux-gen: queue: lock-free implementation

2018-01-11 Thread Github ODP bot
From: Petri Savolainen Simple implementation of non-blocking, lock-free plain queues. Enqueues are done freely to any free ring node with an atomically increasing counter value. Dequeue operation finds the node with lowest counter value. Implementation requires

Re: [lng-odp] [PATCH CATERPILLAR v1] linux-dpdk: crypto support for cipher & auth only feature

2018-01-11 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/performance/odp_crypto.c line 5 @@ -32,17 +32,26 @@ static uint8_t test_iv[8] = "01234567"; -static uint8_t test_key16[16] = { 0x01, 0x02, 0x03, 0x04, 0x05, +static uint8_t test_key24[24] = { 0x01, 0x02, 0x03, 0x04, 0x05,

Re: [lng-odp] [PATCH CATERPILLAR v1] linux-dpdk: crypto support for cipher & auth only feature

2018-01-11 Thread Github ODP bot
Dmitry Eremin-Solenikov(lumag) replied on github web page: test/validation/api/crypto/odp_crypto_test_inp.c line 5 @@ -416,7 +416,7 @@ static void alg_test(odp_crypto_op_t op, /* Create a crypto session */ odp_crypto_session_param_init(_params); ses_params.op = op; -

Re: [lng-odp] [PATCH API-NEXT v5] Add separate auth IV

2018-01-11 Thread Github ODP bot
Petri Savolainen(psavol) replied on github web page: include/odp/api/spec/crypto.h line 30 @@ -403,6 +406,9 @@ typedef struct odp_crypto_op_param_t { /** Override session IV pointer */ uint8_t *override_iv_ptr; + /** Override session authentication IV pointer */ +

Re: [lng-odp] [PATCH CATERPILLAR v1] linux-dpdk: crypto support for cipher & auth only feature

2018-01-11 Thread Github ODP bot
GBalakrishna replied on github web page: test/validation/api/crypto/odp_crypto_test_inp.c line 5 @@ -416,7 +416,7 @@ static void alg_test(odp_crypto_op_t op, /* Create a crypto session */ odp_crypto_session_param_init(_params); ses_params.op = op; -