Re: [lng-odp] Atomics

2015-04-24 Thread Savolainen, Petri (Nokia - FI/Espoo)
From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of ext Ola Liljedahl Sent: Thursday, April 23, 2015 8:40 PM To: Maxim Uvarov Cc: LNG ODP Mailman List Subject: Re: [lng-odp] Atomics On 22 April 2015 at 13:24, Maxim Uvarov maxim.uva...@linaro.orgmailto:maxim.uva...@linaro.org

Re: [lng-odp] Atomics

2015-04-23 Thread Ola Liljedahl
On 22 April 2015 at 13:24, Maxim Uvarov maxim.uva...@linaro.org wrote: On 04/22/15 14:20, Maxim Uvarov wrote: On 04/22/15 13:34, Nicolas Morey-Chaisemartin wrote: On 04/22/2015 11:39 AM, Maxim Uvarov wrote: In that case what you need is. That is odp API: ./include/odp/api/atomic.h

Re: [lng-odp] Atomics

2015-04-22 Thread Maxim Uvarov
On 21 April 2015 at 15:08, Ola Liljedahl ola.liljed...@linaro.org wrote: On 21 April 2015 at 14:01, Nicolas Morey-Chaisemartin nmo...@kalray.eu wrote: On 04/21/2015 01:31 PM, Ola Liljedahl wrote: On 17 April 2015 at 10:46, Nicolas Morey-Chaisemartin nmo...@kalray.eunmo...@kalray.eu

Re: [lng-odp] Atomics

2015-04-22 Thread Maxim Uvarov
On 22 April 2015 at 11:04, Nicolas Morey-Chaisemartin nmo...@kalray.eu wrote: On 04/22/2015 09:56 AM, Maxim Uvarov wrote: I don't know if this influences the location of odp_atomic_internal.h in the ODP source structure. Maybe the makefiles can grab files (to be installed) from

Re: [lng-odp] Atomics

2015-04-22 Thread Nicolas Morey-Chaisemartin
On 04/22/2015 10:07 AM, Maxim Uvarov wrote: On 22 April 2015 at 11:04, Nicolas Morey-Chaisemartin nmo...@kalray.eu mailto:nmo...@kalray.eu wrote: I guess the idea would be to move odp_atomic_internal.h to include/odp/plat/atomic.h (or something similar) and use its function to

Re: [lng-odp] Atomics

2015-04-22 Thread Nicolas Morey-Chaisemartin
On 04/22/2015 09:56 AM, Maxim Uvarov wrote: I don't know if this influences the location of odp_atomic_internal.h in the ODP source structure. Maybe the makefiles can grab files (to be installed) from anywhere. Maxim, Anders? _internal.h prefixes says that file has internal

Re: [lng-odp] Atomics

2015-04-22 Thread Nicolas Morey-Chaisemartin
On 04/22/2015 11:39 AM, Maxim Uvarov wrote: In that case what you need is. That is odp API: ./include/odp/api/atomic.h That is platfrom implementation (linux-generic): ./platform/linux-generic/include/odp/atomic.h That is some internal functions which linux-generic platfrom does.

Re: [lng-odp] Atomics

2015-04-22 Thread Maxim Uvarov
On 04/22/15 11:09, Nicolas Morey-Chaisemartin wrote: On 04/22/2015 10:07 AM, Maxim Uvarov wrote: On 22 April 2015 at 11:04, Nicolas Morey-Chaisemartin nmo...@kalray.eu wrote: I guess the idea would be to move odp_atomic_internal.h to include/odp/plat/atomic.h (or something

Re: [lng-odp] Atomics

2015-04-22 Thread Maxim Uvarov
On 04/22/15 13:34, Nicolas Morey-Chaisemartin wrote: On 04/22/2015 11:39 AM, Maxim Uvarov wrote: In that case what you need is. That is odp API: ./include/odp/api/atomic.h That is platfrom implementation (linux-generic): ./platform/linux-generic/include/odp/atomic.h That is some internal

Re: [lng-odp] Atomics

2015-04-22 Thread Maxim Uvarov
On 04/22/15 14:20, Maxim Uvarov wrote: On 04/22/15 13:34, Nicolas Morey-Chaisemartin wrote: On 04/22/2015 11:39 AM, Maxim Uvarov wrote: In that case what you need is. That is odp API: ./include/odp/api/atomic.h That is platfrom implementation (linux-generic):

Re: [lng-odp] Atomics

2015-04-21 Thread Nicolas Morey-Chaisemartin
On 04/21/2015 01:31 PM, Ola Liljedahl wrote: On 17 April 2015 at 10:46, Nicolas Morey-Chaisemartin nmo...@kalray.eu mailto:nmo...@kalray.eu wrote: Hello every one, I am currently working on porting the linux-generic implementation of DPDK on Kalray architecture and slightly

Re: [lng-odp] Atomics

2015-04-21 Thread Ola Liljedahl
On 21 April 2015 at 14:01, Nicolas Morey-Chaisemartin nmo...@kalray.eu wrote: On 04/21/2015 01:31 PM, Ola Liljedahl wrote: On 17 April 2015 at 10:46, Nicolas Morey-Chaisemartin nmo...@kalray.eunmo...@kalray.eu wrote: Hello every one, I am currently working on porting the linux-generic

Re: [lng-odp] Atomics

2015-04-21 Thread Ola Liljedahl
On 17 April 2015 at 10:46, Nicolas Morey-Chaisemartin nmo...@kalray.eu wrote: Hello every one, I am currently working on porting the linux-generic implementation of DPDK on Kalray architecture and slightly pulling my hair out with all the atomics. Surely you mean ODP and not DPDK? By