[lng-odp] [PATCH] Fix memory ordering in ring dequeue

2017-03-21 Thread Brian Brooks
Acquire ordering is needed to maintain proper release consistency with the ring enqueue operation. This issue presented itself as deadlock when running on an ARM-based chip. Signed-off-by: Brian Brooks --- platform/linux-generic/include/odp_ring_internal.h | 4 ++-- 1

Re: [lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-21 Thread Bill Fischofer
On Tue, Mar 21, 2017 at 9:17 AM, Petri Savolainen < petri.savolai...@linaro.org> wrote: > Added support for inline IPSEC processing on packet input and > output. Inline mode IPSEC and traffic manager cannot be enabled > (currently) on the same pktio interface. > > Signed-off-by: Petri Savolainen

[lng-odp] [PATCH] linux-gen: pktio: socket mmap: check unmap return code

2017-03-21 Thread Maxim Uvarov
Check unmap return code https://bugs.linaro.org/show_bug.cgi?id=2831 Signed-off-by: Maxim Uvarov --- platform/linux-generic/pktio/socket_mmap.c | 12 +--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/platform/linux-generic/pktio/socket_mmap.c

[lng-odp] [PATCH] test: perf: fix bash syntax in odp_pktio_ordered_run.sh

2017-03-21 Thread Maxim Uvarov
bash -lt syntax expects 2 integer values, not strings. Also return code of piped command needs to be get in a little bit different way. https://bugs.linaro.org/show_bug.cgi?id=2872 Signed-off-by: Maxim Uvarov --- .../performance/odp_pktio_ordered_run.sh | 22

[lng-odp] IGNORE: Test post

2017-03-21 Thread Test User

[lng-odp] Test msg, please ignore

2017-03-21 Thread Bill Fischofer
Bill

Re: [lng-odp] Query regarding ipsec API

2017-03-21 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Alok > Makhariya > Sent: Tuesday, March 21, 2017 3:02 PM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] Query regarding ipsec API > > Hi > > One query regarding API odp_ipsec_out_enq /

[lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-21 Thread Petri Savolainen
Added support for inline IPSEC processing on packet input and output. Inline mode IPSEC and traffic manager cannot be enabled (currently) on the same pktio interface. Signed-off-by: Petri Savolainen --- include/odp/api/spec/ipsec.h | 348

[lng-odp] [API-NEXT PATCH v2 3/3] linux-gen: ipsec: add stubs for new functions

2017-03-21 Thread Petri Savolainen
Enable application build with IPSEC. Signed-off-by: Petri Savolainen --- platform/linux-generic/odp_ipsec.c | 24 1 file changed, 24 insertions(+) diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index

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

2017-03-21 Thread Petri Savolainen
Added configuration option for inbound SPI range and default queue. Added SA disable function and status event for the response from it. The same event may be used for e.g. IPSEC statistics, etc queries. Improved outbound fragmentation documentation. Signed-off-by: Petri Savolainen

[lng-odp] ODP linux-generic repo moved to github

2017-03-21 Thread Maxim Uvarov
Hello everybody, Official odp repo is moved to gihub page: https://github.com/Linaro/odp Git checkout address is: https://github.com/Linaro/odp.git Old git repo is still supported and will be official mirror for case if something bad will happen with github:

[lng-odp] [API-NEXT PATCH v2 2/3] api: ipsec: add inline IPSEC support

2017-03-21 Thread Petri Savolainen
Added support for inline IPSEC processing on packet input and output. Inline mode IPSEC and traffic manager cannot be enabled (currently) on the same pktio interface. Signed-off-by: Petri Savolainen --- include/odp/api/spec/ipsec.h | 348

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

2017-03-21 Thread Petri Savolainen
Added configuration option for inbound SPI range and default queue. Added SA disable function and status event for the response from it. The same event may be used for e.g. IPSEC statistics, etc queries. Improved outbound fragmentation documentation. Signed-off-by: Petri Savolainen

[lng-odp] [API-NEXT PATCH v2 3/3] linux-gen: ipsec: add stubs for new functions

2017-03-21 Thread Petri Savolainen
Enable application build with IPSEC. Signed-off-by: Petri Savolainen --- platform/linux-generic/odp_ipsec.c | 24 1 file changed, 24 insertions(+) diff --git a/platform/linux-generic/odp_ipsec.c b/platform/linux-generic/odp_ipsec.c index

[lng-odp] Query regarding ipsec API

2017-03-21 Thread Alok Makhariya
Hi One query regarding API odp_ipsec_out_enq / odp_ipsec_out. What is the expectation of data pointer after calling above API ? Should it point to L3 pointer with 0 L3 offset or L2 pointer/any pointer with proper L3 offset value? Thanks Regards Alok Makhariya

Re: [lng-odp] [RFC, API-NEXT v1 1/1] comp:compression interface

2017-03-21 Thread Nikhil Agarwal
Moreover, if both modes need to be added it is better to follow IPSEC APIs approach instead of crypto APIs, where SYNC and ASYNC APIs are different and user explicitly control mode of operation based on capabilities. Regards Nikhil -Original Message- From: lng-odp

Re: [lng-odp] [RFC, API-NEXT v1 1/1] comp:compression interface

2017-03-21 Thread Bala Manoharan
Hi, This proposal supports both sync and async compression offload in a single API following the crypto model, IMO We can separate SYNC and ASYNC compression offload as two different APIs and only add ASYNC compression offload in the first version and if required we can add SYNC compression mode

[lng-odp] [Bug 2797] scheduler_main runs for long time

2017-03-21 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2797 Yi He changed: What|Removed |Added Ever confirmed|0 |1 Status|UNCONFIRMED