Re: [lng-odp] ODP1.15 buffer alignment issue

2017-08-07 Thread Maxim Uvarov
it's implementation specific. Full code is: + offset = pool->headroom; + + /* move to correct align */ + while (((uintptr_t)[offset]) % pool->align != 0) + offset++; + + /* Pointer to data start (of the first segment)

Re: [lng-odp] ODP1.15 buffer alignment issue

2017-08-07 Thread Bill Fischofer
This is part of the latest pool restructure code contributed by Nokia. If you'd like to join the ODP public call tomorrow at 15:00 UTC we can discuss this then. On Mon, Aug 7, 2017 at 8:57 AM, Liron Himi wrote: > Hi, > > I'm trying to move to odp1.15 and encounter with an

[lng-odp] [PATCH API-NEXT v2 2/2] linux-gen: crypto: unify odp_crypto_session_create error path

2017-08-07 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Make sure that or error session is always returned as ODP_CRYPTO_SESSION_INVALID. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 95 (lumag:crypto-session-create)

[lng-odp] [PATCH API-NEXT v2 1/2] api: crypto: clarify for odp_crypto_session_create

2017-08-07 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 95 (lumag:crypto-session-create) ** https://github.com/Linaro/odp/pull/95 ** Patch:

[lng-odp] [PATCH API-NEXT v2 0/2] api: crypto: clarify for odp_crypto_session_create

2017-08-07 Thread Github ODP bot
Signed-off-by: Dmitry Eremin-Solenikov dmitry.ereminsoleni...@linaro.org github /** Email created from pull request 95 (lumag:crypto-session-create) ** https://github.com/Linaro/odp/pull/95 ** Patch: https://github.com/Linaro/odp/pull/95.patch ** Base

[lng-odp] ODP1.15 buffer alignment issue

2017-08-07 Thread Liron Himi
Hi, I'm trying to move to odp1.15 and encounter with an buffer alignment issue. It seems that linux-generic implementation make sure that the data address is align with the requested alignment and not the buffer address itself (look at the code sniped below). On ODP1.11 (the current version we

[lng-odp] [Linaro/odp] 239431: Revert "api: schedule: add thread removal correcti...

2017-08-07 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 2394317ab247fa14b4e239aec512afee7eac4524 https://github.com/Linaro/odp/commit/2394317ab247fa14b4e239aec512afee7eac4524 Author: Maxim Uvarov Date: 2017-08-07 (Mon, 07 Aug 2017)

Re: [lng-odp] [Linaro/odp] 09ce94: api: schedule: add thread removal correction

2017-08-07 Thread Savolainen, Petri (Nokia - FI/Espoo)
This is an API change, that I did oppose on June 16th. Why it's now merged? What is the requirement ("All threads that have joined the group must leave before destroying the group") ? A thread may be in a group due to automatic group (no create/join called), being part of thread mask in a

[lng-odp] [Linaro/odp] 09ce94: api: schedule: add thread removal correction

2017-08-07 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 09ce9406e09eacadf8f739ae8499323ad1401d36 https://github.com/Linaro/odp/commit/09ce9406e09eacadf8f739ae8499323ad1401d36 Author: Honnappa Nagarahalli Date: 2017-08-07 (Mon, 07

[lng-odp] [PATCH API-NEXT v2 1/1] linux-gen: timer: control timer pool polling frequency dynamically

2017-08-07 Thread Github ODP bot
From: Joyce Kong Adjust frequency of timer pool polling by the duration of timer. There needs to be 0 timer pool polling when no timer pool created. Change-Id: I54b7043411c2ec780070f727d0f452df57e1291b Signed-off-by: Joyce Kong --- /** Email created from

[lng-odp] [PATCH API-NEXT v2 0/1] linux-gen: timer: control the timer pool polling frequency dynamically

2017-08-07 Thread Github ODP bot
The frequency of timer pool polling needs to be adjusted according to the duration of the timer started in the timer module. And there need to be 0 timer pool polling when no timer pools/timers created. At the same time, enable inline timers when passing NULL for odp_init_global. Signed-off-by:

[lng-odp] [Bug 3182] Memory allocation checks

2017-08-07 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3182 Ilias Apalodimas changed: What|Removed |Added Resolution|--- |FIXED