Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-24 Thread Savolainen, Petri (Nokia - FI/Espoo)
> -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Bill > Fischofer > Sent: Thursday, October 13, 2016 3:45 AM > To: lng-odp@lists.linaro.org > Subject: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for > numa support > > Add the

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-17 Thread Bill Fischofer
On Mon, Oct 17, 2016 at 9:21 AM, Maxim Uvarov wrote: > by 'some' I mean mask of numa nodes: > > odp_numa_mask_t mask; > > odp_pool_create(.., param.mask = 0x5); > > where 0x5 will say that numa node 0 and numa node 2 available for > allocation, but not numa node 1. >

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-17 Thread Bill Fischofer
On Mon, Oct 17, 2016 at 8:59 AM, Maxim Uvarov wrote: > On 10/13/16 03:44, Bill Fischofer wrote: > >> + >> +#ifndef ODP_API_DEV_H_ >> +#define ODP_API_DEV_H_ >> +#include >> + >> +#ifdef __cplusplus >> +extern "C" { >> +#endif >> + >> +#include >> + >> +/** @defgroup

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-17 Thread Maxim Uvarov
On 10/13/16 03:44, Bill Fischofer wrote: + +#ifndef ODP_API_DEV_H_ +#define ODP_API_DEV_H_ +#include + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +/** @defgroup odp_dev ODP DEVICE + * Operations on devices + * @{ + */ + +/** + * @typedef odp_dev_t + * ODP Device + */ + +/** + *

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-13 Thread Christophe Milard
On 13 October 2016 at 14:06, Bill Fischofer wrote: > > > On Thu, Oct 13, 2016 at 6:53 AM, Christophe Milard > wrote: >> >> On 13 October 2016 at 13:44, Bill Fischofer >> wrote: >> > >> > >> > On Thu, Oct 13,

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-13 Thread Bill Fischofer
On Thu, Oct 13, 2016 at 6:53 AM, Christophe Milard < christophe.mil...@linaro.org> wrote: > On 13 October 2016 at 13:44, Bill Fischofer > wrote: > > > > > > On Thu, Oct 13, 2016 at 6:33 AM, Christophe Milard > > wrote: > >> > >> On 13

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-13 Thread Christophe Milard
On 13 October 2016 at 13:44, Bill Fischofer wrote: > > > On Thu, Oct 13, 2016 at 6:33 AM, Christophe Milard > wrote: >> >> On 13 October 2016 at 13:20, Bill Fischofer >> wrote: >> > >> > >> > On Thu, Oct 13,

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-13 Thread Bill Fischofer
On Thu, Oct 13, 2016 at 6:33 AM, Christophe Milard < christophe.mil...@linaro.org> wrote: > On 13 October 2016 at 13:20, Bill Fischofer > wrote: > > > > > > On Thu, Oct 13, 2016 at 2:03 AM, Christophe Milard > > wrote: > >> > >> On 13

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-13 Thread Christophe Milard
On 13 October 2016 at 13:20, Bill Fischofer wrote: > > > On Thu, Oct 13, 2016 at 2:03 AM, Christophe Milard > wrote: >> >> On 13 October 2016 at 02:44, Bill Fischofer >> wrote: >> > Add the odp_dev_id() API used

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-13 Thread Bill Fischofer
On Thu, Oct 13, 2016 at 2:03 AM, Christophe Milard < christophe.mil...@linaro.org> wrote: > On 13 October 2016 at 02:44, Bill Fischofer > wrote: > > Add the odp_dev_id() API used for NUMA support > > > > I am a bit confused here: what is a device? a numa_id or other

Re: [lng-odp] [API-NEXT PATCHv2 1/2] api: dev: add device apis for numa support

2016-10-13 Thread Christophe Milard
On 13 October 2016 at 02:44, Bill Fischofer wrote: > Add the odp_dev_id() API used for NUMA support > I am a bit confused here: what is a device? a numa_id or other things as well? In this patch series everything that relates to numa is called "device". Shouldn't be