Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Bala Manoharan
I have only a few minor comments for this patch. One major query is that Currently this patch does not integrate headroom/tailroom at segment level is the feature available in 1.0? if it is needed to be supported then we need some modifications in segment handling. Regards, Bala On Tue, Dec 02,

Re: [lng-odp] [PATCHv4 1/2] platform: debug: replace fprintf() with odp_override_log()

2014-12-03 Thread Taras Kondratiuk
On 12/02/2014 08:35 PM, Mike Holmes wrote: - * ODP default LOG macro. + * ODP log function + * + * Instead of direct prints to stdout/stderr all logging in ODP implementation + * should be done via this function or its wrappers. + * ODP platform MUST provide a

Re: [lng-odp] [PATCHv4 2/2] platform: debug: Simplify ODP_LOG() macro

2014-12-03 Thread Taras Kondratiuk
On 12/02/2014 07:50 PM, Zoltan Kiss wrote: On 02/12/14 17:07, Taras Kondratiuk wrote: On 12/02/2014 06:42 PM, Zoltan Kiss wrote: Hi, At the moment, the careless developer look at enum odp_log_level and starts using ODP_LOG(ODP_LOG_DBG, ...) instead of ODP_DBG. I think it would be good to

Re: [lng-odp] [PATCH 3/5] validation: queue: reuse common main() function

2014-12-03 Thread Taras Kondratiuk
On 12/02/2014 09:08 PM, Mike Holmes wrote: On 1 December 2014 at 12:05, Taras Kondratiuk taras.kondrat...@linaro.org mailto:taras.kondrat...@linaro.org wrote: +CU_SuiteInfo odp_testsuites[] = { + {Queue, init_suite, NULL, NULL, NULL, test_odp_queue}, No need to have init_suite

[lng-odp] [PATCHv2 4/5] validation: crypto: reuse common main() function

2014-12-03 Thread Taras Kondratiuk
Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org Reviewed-by: Mike Holmes mike.hol...@linaro.org --- test/validation/Makefile.am |2 +- test/validation/odp_crypto.c | 43 ++ 2 files changed, 7 insertions(+), 38 deletions(-) diff --git

[lng-odp] [PATCHv2 3/5] validation: queue: reuse common main() function

2014-12-03 Thread Taras Kondratiuk
Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org --- test/validation/Makefile.am |2 +- test/validation/odp_queue.c | 64 +++ 2 files changed, 11 insertions(+), 55 deletions(-) diff --git a/test/validation/Makefile.am

Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Anders Roxell
Hi, This is the proposed way to break up your patch: 1. break circular dependencies 2. move inline functions to a new odp_buffer_inlines.h file. 3. restructuring ODP buffer pool 4. odp_buffer_pool_create 5. odp_buffer_pool_destroy 6. odp_buffer_pool_info see more comments inline. On 2 December

Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Taras Kondratiuk
On 12/03/2014 01:07 PM, Anders Roxell wrote: Hi, This is the proposed way to break up your patch: 1. break circular dependencies 2. move inline functions to a new odp_buffer_inlines.h file. 3. restructuring ODP buffer pool 4. odp_buffer_pool_create 5. odp_buffer_pool_destroy 6.

Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Shmulik Ladkani
On Tue, 2 Dec 2014 13:17:01 -0600 Bill Fischofer bill.fischo...@linaro.org wrote: +#define ODP_SEGBITS(x) \ + ((x) 2 ? 1 : \ + ((x) 4 ? 2 : \ + ((x) 8 ? 3 : \ +((x)16 ? 4 : \ + ((x)32 ? 5 : \ + ((x)64 ? 6 : \ +

Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Bill Fischofer
On Wed, Dec 3, 2014 at 5:07 AM, Anders Roxell anders.rox...@linaro.org wrote: Hi, This is the proposed way to break up your patch: 1. break circular dependencies 2. move inline functions to a new odp_buffer_inlines.h file. 3. restructuring ODP buffer pool 4. odp_buffer_pool_create 5.

Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Bill Fischofer
It simplified debugging because the LOG output is the same independent of whether I'm testing on big or little endian systems. My mind isn't wired to read byte-reversed output fields. On Wed, Dec 3, 2014 at 7:18 AM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: On 12/02/2014 09:17 PM,

[lng-odp] [PATCH v4 2/2] linux-generic: Classification Implementation for v1.0

2014-12-03 Thread Balasubramanian Manoharan
This patch contains classification implementation for ODP v1.0. The salient features of this classification version are as follows: * Attaches PMR, PMR_SET to a Pktio entry * Attaches CoS values for L2 and L3 QoS to a Pktio entry * Selects ClassOfService for a packet based on PMR, L2 QoS and L3

[lng-odp] [PATCH 2/6] api:odp_barrier.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. platform/linux-generic/include/api/odp_barrier.h | 22 +- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git

[lng-odp] [PATCH 4/6] api:odp_spinlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. platform/linux-generic/include/api/odp_spinlock.h | 42 --- 1 file changed, 22 insertions(+), 20 deletions(-) diff --git

[lng-odp] [PATCH 3/6] api:odp_rwlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. platform/linux-generic/include/api/odp_rwlock.h | 46 ++--- 1 file changed, 25 insertions(+), 21 deletions(-) diff --git

[lng-odp] [PATCH 6/6] linux-generic:odp_atomic_internal.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. Made _odp_atomic_flag_load() use acquire instead of relaxed memory order. .../linux-generic/include/odp_atomic_internal.h| 378 +++-- 1 file changed, 191

[lng-odp] [PATCH 5/6] api:odp_ticketlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. .../linux-generic/include/api/odp_ticketlock.h | 43 ++ 1 file changed, 19 insertions(+), 24 deletions(-) diff --git

Re: [lng-odp] [PATCH] linux-generic: odp_ticketlock.c: performance regression

2014-12-03 Thread Ola Liljedahl
Ping! On 1 December 2014 at 14:34, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Replaced an atomic RMW add with separate load, add and store operations. This avoids generating a locked instruction on x86 which implies unnecessary

Re: [lng-odp] [PATCHv4 2/2] platform: debug: Simplify ODP_LOG() macro

2014-12-03 Thread Taras Kondratiuk
On 12/03/2014 04:15 PM, Zoltan Kiss wrote: On 03/12/14 08:41, Taras Kondratiuk wrote: On 12/02/2014 07:50 PM, Zoltan Kiss wrote: And this problem applies to ODP_LOG_ABORT as well: ODP_ABORT will call abort(), while ODP_LOG(ODP_LOG_ABORT, ...) doesn't. I think you can just drop the wholw

[lng-odp] [PATCHv4 6/6] cunit: pktio: mtu/promisc/mac

2014-12-03 Thread Maxim Uvarov
Add cunit tests for new pktio api: - MAC address get; - Promisc mode set / test; - MTU value set / get; Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- test/validation/Makefile.am | 4 +- test/validation/odp_pktio.c | 155 2 files changed,

[lng-odp] [PATCHv4 1/6] linux-generic: set not initialized socket to -1

2014-12-03 Thread Maxim Uvarov
In case of stdin is not attached socket() can return 0 for valid socket fd. Not initialized socket has to be -1. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/odp_packet_io.c | 3 +++ 1 file changed, 3 insertions(+) diff --git

[lng-odp] [PATCHv5 1/2] platform: debug: replace fprintf() with odp_override_log()

2014-12-03 Thread Taras Kondratiuk
ODP application may want to override default ODP logging behaviour and use custom logging function. Add a weak odp_override_log() function for this purpose instead of default fprintf(). Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org --- platform/linux-generic/Makefile.am

[lng-odp] [PATCHv5 2/2] platform: debug: Simplify ODP_LOG() macro

2014-12-03 Thread Taras Kondratiuk
Move additional functionality out of ODP_LOG. Keep only logging. Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org --- platform/linux-generic/include/api/odp_debug.h | 43 +--- .../linux-generic/include/odp_debug_internal.h |6 ++- 2 files changed, 15

[lng-odp] [PATCHv5 0/2] Add a way to override default ODP_LOG behavior

2014-12-03 Thread Taras Kondratiuk
This series adds a default weak odp_override_log() function which can be replaced by application. v5: Updated doxygen comment v4: Move abort() back into ODP_ABORT() to prevent uninitialized variables warnings. v3: Rebased and fixed conflicts with merged patches. v2: Fixed missed comma in

Re: [lng-odp] [PATCH] Rename packet functions

2014-12-03 Thread Bill Fischofer
On Wed, Dec 3, 2014 at 10:53 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: Patch is based on Bills: This patch implements the specified odp_packet_flags.h API name changes for ODP v1.0. Plus it includes renames for packet function. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org

Re: [lng-odp] [PATCHv5 1/2] platform: debug: replace fprintf() with odp_override_log()

2014-12-03 Thread Bill Fischofer
On Wed, Dec 3, 2014 at 9:19 AM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: ODP application may want to override default ODP logging behaviour and use custom logging function. Add a weak odp_override_log() function for this purpose instead of default fprintf(). Signed-off-by: Taras

Re: [lng-odp] [PATCHv5 2/2] platform: debug: Simplify ODP_LOG() macro

2014-12-03 Thread Bill Fischofer
On Wed, Dec 3, 2014 at 9:19 AM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: Move additional functionality out of ODP_LOG. Keep only logging. Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org Reviewed-by: Bill Fischofer bill.fischo...@linaro.org ---

Re: [lng-odp] [PATCHv2 1/5] validation: shm: move main() to a common place

2014-12-03 Thread Ciprian Barbu
On Wed, Dec 3, 2014 at 3:45 PM, Stuart Haslam stuart.has...@arm.com wrote: On Wed, Dec 03, 2014 at 09:22:17AM +, Taras Kondratiuk wrote: Most of test application will have the same main function. Move main() from odp_shm to a common place where it can be reused by other test applications.

Re: [lng-odp] [PATCHv2 0/5] validation: harmonize test applications

2014-12-03 Thread Ciprian Barbu
Apart from the other stuff pointed out by the other guys, this patch set looks good to me. We should get it merged, I based my work on it too. I suppose a new series must be sent for Stuart's comments? Otherwise I can sign it off. On Wed, Dec 3, 2014 at 11:22 AM, Taras Kondratiuk

Re: [lng-odp] [PATCH] linux-generic: odp_ticketlock.c: performance regression

2014-12-03 Thread Maxim Uvarov
On 12/03/2014 05:20 PM, Ola Liljedahl wrote: Ping! Needed more review for this. On 1 December 2014 at 14:34, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Replaced an atomic RMW add with separate load, add and store operations. This

Re: [lng-odp] [PATCH] linux-generic: odp_ticketlock.c: performance regression

2014-12-03 Thread Mario Torrecillas Rodriguez
I don¹t think cur_ticket will be read/written by more than one thread simultaneously, only the one which owns the lock will attempt to update it. Mario. On 03/12/2014 17:16, Maxim Uvarov maxim.uva...@linaro.org wrote: On 12/03/2014 05:20 PM, Ola Liljedahl wrote: Ping! Needed more review for

Re: [lng-odp] [PATCHv2 1/5] validation: shm: move main() to a common place

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 12:13, Ciprian Barbu ciprian.ba...@linaro.org wrote: On Wed, Dec 3, 2014 at 3:45 PM, Stuart Haslam stuart.has...@arm.com wrote: On Wed, Dec 03, 2014 at 09:22:17AM +, Taras Kondratiuk wrote: Most of test application will have the same main function. Move main()

Re: [lng-odp] [PATCHv4 4/6] linux-generic: odp_pktio_open loop support

2014-12-03 Thread Stuart Haslam
On Wed, Dec 03, 2014 at 03:05:55PM +, Maxim Uvarov wrote: Implement pktio device loop device suitable for testing. Note: lo0 can not be used. Instead of it first upped device is used. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/odp_packet_io.c | 64

[lng-odp] [PATCH] .gitignore: ignore gcov output files

2014-12-03 Thread Stuart Haslam
When generating coverage info gcov creates .gcda and .gcno files alongside each object file. Signed-off-by: Stuart Haslam stuart.has...@arm.com --- (This code contribution is provided under the terms of agreement LES-LTM-21309) .gitignore | 2 ++ 1 file changed, 2 insertions(+) diff --git

Re: [lng-odp] [PATCHv5 1/2] platform: debug: replace fprintf() with odp_override_log()

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 11:59, Bill Fischofer bill.fischo...@linaro.org wrote: On Wed, Dec 3, 2014 at 9:19 AM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: ODP application may want to override default ODP logging behaviour and use custom logging function. Add a weak

Re: [lng-odp] [PATCHv5 2/2] platform: debug: Simplify ODP_LOG() macro

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 11:57, Bill Fischofer bill.fischo...@linaro.org wrote: On Wed, Dec 3, 2014 at 9:19 AM, Taras Kondratiuk taras.kondrat...@linaro.org wrote: Move additional functionality out of ODP_LOG. Keep only logging. Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org

Re: [lng-odp] [PATCHv2 0/5] validation: harmonize test applications

2014-12-03 Thread Mike Holmes
I also can add reviewed by with the exception of the 77 issue in main. Maxim for expediency could you alter main to test for non zero and return -1 as you pull the series in ? Taras are you ok with that ? On 3 December 2014 at 12:14, Ciprian Barbu ciprian.ba...@linaro.org wrote: Apart from the

Re: [lng-odp] [PATCH] linux-generic: odp_ticketlock.c: performance regression

2014-12-03 Thread Ola Liljedahl
On 3 December 2014 at 18:29, Mario Torrecillas Rodriguez mario.torrecillasrodrig...@arm.com wrote: I don¹t think cur_ticket will be read/written by more than one thread simultaneously, only the one which owns the lock will attempt to update it. Exactly. Do I take that as a review Mario?

Re: [lng-odp] [PATCH] linux-generic: odp_ticketlock.c: performance regression

2014-12-03 Thread Bill Fischofer
Agreed, that correct programming would only have the owner attempt to unlock, but what about other threads simultaneously attempting to lock while the owner is unlocking? Maybe I don't fully appreciate the memmodel semantics, but there can be arbitrary delays between any two instructions executed

Re: [lng-odp] [PATCH v4 1/2] helper: odph_tcp header description

2014-12-03 Thread Bill Fischofer
On Wed, Dec 3, 2014 at 7:50 AM, Balasubramanian Manoharan bala.manoha...@linaro.org wrote: This patch adds TCP header description structure odph_tcp.h Signed-off-by: Balasubramanian Manoharan bala.manoha...@linaro.org Reviewed-by: Bill Fischofer bill.fischo...@linaro.org ---

Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Anders Roxell
On 2014-12-03 07:05, Bill Fischofer wrote: On Wed, Dec 3, 2014 at 5:07 AM, Anders Roxell anders.rox...@linaro.org wrote: Hi, This is the proposed way to break up your patch: 1. break circular dependencies 2. move inline functions to a new odp_buffer_inlines.h file. 3. restructuring

Re: [lng-odp] [PATCH 5/6] api:odp_ticketlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. .../linux-generic/include/api/odp_ticketlock.h | 43 ++ 1 file changed, 19

Re: [lng-odp] [PATCH 4/6] api:odp_spinlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. platform/linux-generic/include/api/odp_spinlock.h | 42 --- 1 file changed, 22

Re: [lng-odp] [PATCH 3/6] api:odp_rwlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params. platform/linux-generic/include/api/odp_rwlock.h | 46 ++--- 1 file changed, 25

Re: [lng-odp] [PATCH] linux-generic: odp_ticketlock.c: performance regression

2014-12-03 Thread Ola Liljedahl
Thanks Mario, I actually intend to post an updated patch because Maxim's questions are an indication that it is not possible to immediately understand the code and why it works. The comments could be better (they were pretty non-existent to start with). -- Ola On 3 December 2014 at 21:42, Mario

Re: [lng-odp] [PATCHv4 2/6] API: promisc mode manipulation functions

2014-12-03 Thread Victor Kamensky
On 3 December 2014 at 07:05, Maxim Uvarov maxim.uva...@linaro.org wrote: Define API and implement promisc functions for linux-generic. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/include/api/odp_packet_io.h | 24 +++

Re: [lng-odp] [PATCH 4/6] api:odp_spinlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
On 3 December 2014 at 22:35, Mike Holmes mike.hol...@linaro.org wrote: On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params.

Re: [lng-odp] [PATCH 5/6] api:odp_ticketlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
On 3 December 2014 at 22:28, Mike Holmes mike.hol...@linaro.org wrote: On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params.

Re: [lng-odp] [PATCH 3/6] api:odp_rwlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
On 3 December 2014 at 23:19, Mike Holmes mike.hol...@linaro.org wrote: On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Update doxygen comments, renaming of function params.

Re: [lng-odp] [PATCHv4 3/6] API: pktio: mac addr functions

2014-12-03 Thread Victor Kamensky
On 3 December 2014 at 07:05, Maxim Uvarov maxim.uva...@linaro.org wrote: Define API for mac address change and implement linux-generic version. In above comment 'change' is used. I don't see code that changes mac address in below diff. Change 'change' to 'read'. Signed-off-by: Maxim Uvarov

Re: [lng-odp] [PATCHv4 5/6] linux-generic: correct socket get for mtu functions

2014-12-03 Thread Victor Kamensky
On 3 December 2014 at 07:05, Maxim Uvarov maxim.uva...@linaro.org wrote: Socket can be 0 and it's accounted in previews patch. Correct that function too. This patch does more than above. It also makes some solidifying changes in odp_pktio_set_mtu and odp_pktio_mtu functions. BTW both these

Re: [lng-odp] [PATCH 5/6] api:odp_ticketlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Ola Liljedahl
On 3 December 2014 at 22:53, Victor Kamensky victor.kamen...@linaro.org wrote: On 3 December 2014 at 13:28, Mike Holmes mike.hol...@linaro.org wrote: On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org ---

Re: [lng-odp] [PATCHv2 1/3] ODP buffer pool restructure

2014-12-03 Thread Bill Fischofer
What problem do you see with odp_example.c with part 1 of the patch applied that disappears when you apply the remaining two parts? The code compiles and runs the same for me. I had previously mentioned that odp_example.c has a race condition (bug) that is exacerbated by the fact that the

Re: [lng-odp] [PATCH 5/6] api:odp_ticketlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Mike Holmes
I think the the patch needs to clearly say it alters the public API and not just the documentation. Strictly it is a separate patch as it is possible that unknown implementations are using 0.3.0 and would want to to see this clearly in the git log. On 3 December 2014 at 17:57, Ola Liljedahl

Re: [lng-odp] [PATCH 4/6] api:odp_spinlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 17:53, Ola Liljedahl ola.liljed...@linaro.org wrote: On 3 December 2014 at 22:35, Mike Holmes mike.hol...@linaro.org wrote: On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org ---

Re: [lng-odp] [PATCH 3/6] api:odp_rwlock.h: Update doxygen comments, renaming of function params

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 17:59, Ola Liljedahl ola.liljed...@linaro.org wrote: On 3 December 2014 at 23:19, Mike Holmes mike.hol...@linaro.org wrote: On 3 December 2014 at 09:17, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org ---

Re: [lng-odp] [PATCH 2/2] api: odp_timer.h: New timer API and lock-less implementation

2014-12-03 Thread Mike Holmes
On 3 December 2014 at 05:02, Ola Liljedahl ola.liljed...@linaro.org wrote: diff --git a/example/timer/odp_timer_test.c b/example/timer/odp_timer_test.c We need to rename this, having a test in example makes no sense at all. This patch series should rename this as an example -

Re: [lng-odp] [PATCH 2/2] api: odp_timer.h: New timer API and lock-less implementation

2014-12-03 Thread Bill Fischofer
Actually, I think the example sketches make excellent comments as they show the intended use of the code. On Wed, Dec 3, 2014 at 7:47 PM, Mike Holmes mike.hol...@linaro.org wrote: On 3 December 2014 at 05:02, Ola Liljedahl ola.liljed...@linaro.org wrote: diff --git