[lng-odp] [Linaro/odp] ce6133: validation: packet: do assert on newly created pkt...

2017-04-03 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: ce61337e6a7e955913fa64412c75d2066e0f121c https://github.com/Linaro/odp/commit/ce61337e6a7e955913fa64412c75d2066e0f121c Author: Balakrishna Garapati Date: 2017-04-03 (Mon, 03

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Bill Fischofer
On Mon, Apr 3, 2017 at 3:23 PM, Dmitry Eremin-Solenikov wrote: > On 03.04.2017 23:13, Bill Fischofer wrote: >> On Mon, Apr 3, 2017 at 2:48 PM, Dmitry Eremin-Solenikov >> wrote: >>> Hello, >>> >>> I was hunting last issues in

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Dmitry Eremin-Solenikov
On 03.04.2017 23:13, Bill Fischofer wrote: > On Mon, Apr 3, 2017 at 2:48 PM, Dmitry Eremin-Solenikov > wrote: >> Hello, >> >> I was hunting last issues in my IPsec patchset. And suddently I was hit >> by the fact that I do not fully understand semantics around

Re: [lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Bill Fischofer
On Mon, Apr 3, 2017 at 2:48 PM, Dmitry Eremin-Solenikov wrote: > Hello, > > I was hunting last issues in my IPsec patchset. And suddently I was hit > by the fact that I do not fully understand semantics around > odp_ipsec_result() function. So here comes several

[lng-odp] odp_ipsec_result behaviour

2017-04-03 Thread Dmitry Eremin-Solenikov
Hello, I was hunting last issues in my IPsec patchset. And suddently I was hit by the fact that I do not fully understand semantics around odp_ipsec_result() function. So here comes several questions: 1) Is is correct, that I have to free the event manually even after the successful return from

Re: [lng-odp] [API-NEXT PATCH 1/4] linux-gen: packet: recognize ICMPv6 packets

2017-04-03 Thread Maxim Uvarov
Matias can you please update patches and check them? Maxim. On 04/03/17 02:36, Bill Fischofer wrote: > For this series: > > Reviewed-and-tested-by: Bill Fischofer > > On Wed, Mar 22, 2017 at 10:29 AM, Matias Elo wrote: >> Signed-off-by: Matias

[lng-odp] [Linaro/odp] ce1850: api: ipsec: extend lookaside API

2017-04-03 Thread Petri Savolainen
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: ce1850c781e3a60d6a2afaf52eced67ebcaa95f4 https://github.com/Linaro/odp/commit/ce1850c781e3a60d6a2afaf52eced67ebcaa95f4 Author: Petri Savolainen Date: 2017-04-03 (Mon, 03 Apr

[lng-odp] [Linaro/odp] 5876b4: validation: packet: do not require a max packet le...

2017-04-03 Thread Petri Savolainen
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 5876b4f36fbbaf10f5242915a1b29dee37cfb005 https://github.com/Linaro/odp/commit/5876b4f36fbbaf10f5242915a1b29dee37cfb005 Author: Bill Fischofer Date: 2017-03-24 (Fri, 24 Mar 2017)

[lng-odp] [API-NEXT v2 8/8] linux-generic: crypto: add HMAC-SHA-512 authentication support

2017-04-03 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/odp_crypto.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 6663e48f..9ce98a1c

[lng-odp] [API-NEXT v2 7/8] linux-generic: crypto: add SHA-1 authentication support

2017-04-03 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- platform/linux-generic/odp_crypto.c | 12 +++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index ad4d169c..6663e48f

[lng-odp] [Linaro/odp] c7014b: helper: iplookuptable: fix prefix_entry_t member o...

2017-04-03 Thread Matias Elo
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: c7014b4848c276c17dcdddab103ce88b3eb29235 https://github.com/Linaro/odp/commit/c7014b4848c276c17dcdddab103ce88b3eb29235 Author: Matias Elo Date: 2017-04-03 (Mon, 03 Apr 2017) Changed

Re: [lng-odp] [API-NEXT PATCH v4 1/3] api: ipsec: extend lookaside API

2017-04-03 Thread Bala Manoharan
For this series: Reviewed-by: Balasubramanian Manoharan On 30 March 2017 at 15:59, Petri Savolainen wrote: > Added configuration option for inbound SPI range (for > lookups). Removed unique SPI requirement and added config > option for

Re: [lng-odp] [API-NEXT PATCH] api: packet: add per packet checksum control

2017-04-03 Thread Bala Manoharan
Reviewed-by: Balasubramanian Manoharan On 28 March 2017 at 16:37, Petri Savolainen wrote: > Checksum insertion has pktio interface level configuration > options. Per packet override is needed for example when > L4 checksumming is enabled

[lng-odp] [API-NEXT v2 6/8] linux-generic: crypto: switch to EVP interface for cipher algorithms

2017-04-03 Thread Dmitry Eremin-Solenikov
Switch AES-CBC and 3DES-CBC to use generic (EVP) interface instad of low level interface (as recommended by OpenSSL documentation). This allows to use the same code path for all non-AEAD ciphers. The only AEAD cipher (AES-GCM) already uses EVP interface. Generalization of that code can happen if

[lng-odp] [API-NEXT v2 5/8] linux-generic: crypto: unify auth code

2017-04-03 Thread Dmitry Eremin-Solenikov
Authentication code contains similar functions. Instead of replicating them further (e.g. for SHA-1 or SHA-3) factor out common code blocks, moving all difference to session data. Signed-off-by: Dmitry Eremin-Solenikov ---

[lng-odp] [API-NEXT v2 4/8] validation: crypto: add HMAC-SHA-512 test cases

2017-04-03 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- .../validation/api/crypto/odp_crypto_test_inp.c| 97 +- .../validation/api/crypto/test_vectors.h | 50 +++ .../validation/api/crypto/test_vectors_len.h | 6 ++ 3 files

[lng-odp] [API-NEXT v2 3/8] validation: crypto: add HMAC-SHA-1-96 test cases

2017-04-03 Thread Dmitry Eremin-Solenikov
Signed-off-by: Dmitry Eremin-Solenikov --- .../validation/api/crypto/odp_crypto_test_inp.c| 99 +- .../validation/api/crypto/test_vectors.h | 44 ++ .../validation/api/crypto/test_vectors_len.h | 6 ++ 3 files

[lng-odp] [API-NEXT v2 2/8] validation: crypto: correct comment for HMAC-SHA-256 tests

2017-04-03 Thread Dmitry Eremin-Solenikov
Comment for HMAC-SHA-256 tests talks about HMAC-MD5 and respective lengths. Correct it to mention SHA-256 and proper digest lengths. Signed-off-by: Dmitry Eremin-Solenikov --- test/common_plat/validation/api/crypto/odp_crypto_test_inp.c | 4 ++-- 1 file

[lng-odp] [API-NEXT v2 1/8] validation: crypto: add tests for checking message digests

2017-04-03 Thread Dmitry Eremin-Solenikov
Currently ODP testsuite only verifies generation of digests. Let's also verify that checking the digest actually works. Test that check function will accept valid digest and that it will reject wrong digests. Signed-off-by: Dmitry Eremin-Solenikov ---

[lng-odp] [API-NEXT v2 0/8] crypto rework and support for SHA-1/-512

2017-04-03 Thread Dmitry Eremin-Solenikov
This is the second iteration of crypto framework update. As before this patchset targets api-next, because it implements sha-1/512 (and supporting those algorithms was one of main reasons for rewriting auth code). However the rest of the patchset should be applicable to master branch. Changes

[lng-odp] [Bug 2416] example/generator/odp_generator.c contains todo items

2017-04-03 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2416 Bogdan Pricope changed: What|Removed |Added CC|

[lng-odp] [PATCH v3 1/2] api: queue: added queue size param

2017-04-03 Thread Petri Savolainen
Added capability information about maximum number of queues and queue sizes. Both are defined per queue type, since plain and scheduled queues may have different implementations (e.g. one uses HW while the other is SW). Added queue size parameter, which specifies how large storage size

[lng-odp] [PATCH v3 2/2] validation: queue: test queue max_num per type

2017-04-03 Thread Petri Savolainen
Updated implementation and test with type specific number of queues. Signed-off-by: Petri Savolainen --- platform/linux-generic/odp_queue.c| 2 ++ test/common_plat/validation/api/queue/queue.c | 49 +-- 2 files changed, 34

[lng-odp] [PATCH] test: generator: replace gettimeofday() with ODP API calls

2017-04-03 Thread Bogdan Pricope
This is a fix for Bug 2416 - example/generator/odp_generator.c contains todo items Bogdan Pricope (1): test: generator: replace gettimeofday() with ODP API calls example/generator/odp_generator.c | 89 ++- 1 file changed, 41 insertions(+), 48 deletions(-)

[lng-odp] [PATCH] test: generator: replace gettimeofday() with ODP API calls

2017-04-03 Thread Bogdan Pricope
Signed-off-by: Bogdan Pricope --- example/generator/odp_generator.c | 89 ++- 1 file changed, 41 insertions(+), 48 deletions(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index

Re: [lng-odp] [API-NEXT PATCH v2 2/2] validation: queue: test queue max_num per type

2017-04-03 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Bill Fischofer [mailto:bill.fischo...@linaro.org] > Sent: Friday, March 31, 2017 5:59 PM > To: Petri Savolainen > Cc: lng-odp-forward > Subject: Re: [lng-odp] [API-NEXT PATCH v2 2/2] validation: queue:

Re: [lng-odp] [API-NEXT PATCH v2 1/2] api: queue: added queue size param

2017-04-03 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: Bill Fischofer [mailto:bill.fischo...@linaro.org] > Sent: Friday, March 31, 2017 5:59 PM > To: Petri Savolainen > Cc: lng-odp-forward > Subject: Re: [lng-odp] [API-NEXT PATCH v2 1/2] api: queue: added