Hi Steve,
Maybe you remember me as we have had contact before. Christophe. from
the LNG ODP team (mikes Holmes team).
I have written the ODP memory allocator and I am having an issue with
it: It has a requirement that linux processes (we call them ODP
threads) have to be able to share memory
On 18 January 2017 at 13:26, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 01/18/17 16:14, Christophe Milard wrote:
>> Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
>> ---
>> .travis.yml | 18 ++
>> 1 file cha
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.travis.yml | 18 ++
1 file changed, 18 insertions(+)
diff --git a/.travis.yml b/.travis.yml
index 03e61b1..909f0a3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -6,11 +6,29 @@
# pushing to github/
Stress tests for the random size allocator (buddy allocator in
linux-generic) are added here.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 177 +
.../common_plat/validation/drv/drvshmem/drvs
Basic tests for odpdrv_shm_pool are added here, creating a fixed size
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 86 ++
.../common_plat/validati
Basic tests for odpdrv_shm_pool are added here, creating a buddy
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 92 ++
.../common_plat/validation/drv/dr
is sharable
between ODP threads. (using malloc would not work when ODP threads
are linux processes).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/drv/spec/shm.h
Adding functions to create memory pools and allocate / free memory from
the created pools.
These functions calls their _ishm conterpart, of course.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/drv_shm.
on the north (API) interface
when we start looking into having things working "in process mode")
Christophe Milard (6):
linux-gen: _ishm: adding buddy and slab allocation
drv: adding odpdrv_shm_pool functions
linux-gen: drv: shm: adding pool allocator
test: drv: shm: adding b
_ishm now provides functions to create/destroy pools for buddy/slab
memory allocation, as well as functions to allocated/release memory
from the created pools.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/Makefile.am | 2 +
pl
On 13 January 2017 at 14:12, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 01/13/17 14:47, Christophe Milard wrote:
>> checking the thread safety of odp_random.
>>
>> Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
>> ---
>> te
problems.
your pick.
On 13 January 2017 at 13:51, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> On Fri, Jan 13, 2017 at 5:47 AM, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>> checking the thread safety of odp_random.
>>
>> Signed-off-b
random
> number generation.
>
> Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
Reviewed-by: Christophe Milard <christophe.mil...@linaro.org>
> ---
Note that this has not proven to be working as the error root is very
unsure and hard to reproduce. But I believe it is bett
checking the thread safety of odp_random.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/common_plat/validation/api/random/random.c | 46 +
test/common_plat/validation/api/random/random.h | 1 +
2 files changed, 47 insertions(+)
diff
the explanation
>
> Every ODP thread can individually creates ishmpools for small memory
> allocation, that's convenient.
> I'll read into platform/linux-generic/_ishm.c. as you suggested to
> understand the impl.
>
> Thanks and best regards, Yi
>
> On 12 January 2017 at 18:50,
_ishm now provides functions to create/destroy pools for buddy/slab
memory allocation, as well as functions to allocated/release memory
from the created pools.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/Makefile.am | 2 +
pl
Stress tests for the random size allocator (buddy allocator in
linux-generic) are added here.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 177 +
.../common_plat/validation/drv/drvshmem/drvs
Basic tests for odpdrv_shm_pool are added here, creating a fixed size
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 86 ++
.../common_plat/validati
Basic tests for odpdrv_shm_pool are added here, creating a buddy
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 92 ++
.../common_plat/validation/drv/dr
Adding functions to create memory pools and allocate / free memory from
the created pools.
These functions calls their _ishm conterpart, of course.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/drv_shm.
is sharable
between ODP threads. (using malloc would not work when ODP threads
are linux processes).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/drv/spec/shm.h
looking into having things working "in process mode")
Christophe Milard (6):
linux-gen: _ishm: adding buddy and slab allocation
drv: adding odpdrv_shm_pool functions
linux-gen: drv: shm: adding pool allocator
test: drv: shm: adding basic buddy allocation tests
test: drv: shm: ad
. This resolves
> Bug https://bugs.linaro.org/show_bug.cgi?id=2814
>
> Signed-off-by: Bill Fischofer <bill.fischo...@linaro.org>
Reviewed-by: Christophe Milard <christophe.mil...@linaro.org>
> ---
> platform/linux-generic/include/odp_packet_internal.h | 2 --
>
OK. thanks for taking it from there :-)
On 12 January 2017 at 13:15, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> I just opened Bug https://bugs.linaro.org/show_bug.cgi?id=2814 for
> this and posted a patch to fix it. Thanks.
>
> On Thu, Jan 12, 2017 at 6:13 AM,
22b3986 - Bill Fischofer : linux-generic: packet: implement reference apis
That is the one.
No need to open a bug?
On 12 January 2017 at 13:08, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> On Thu, Jan 12, 2017 at 3:20 AM, Christophe Milard
> <christophe.mil...@li
Seems to be related to the usage of the "--enable-debug" option.
Anyone building with it?
e.g:
./bootstrap && ./configure --enable-debug --enable-test-vald &&
make -j 8 && make check
Christophe.
On 12 January 2017 at 10:20, Christophe Milard
<christ
Stress tests for the random size allocator (buddy allocator in
linux-generic) are added here.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 177 +
.../common_plat/validation/drv/drvshmem/drvs
Basic tests for odpdrv_shm_pool are added here, creating a fixed size
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 86 ++
.../common_plat/validati
Basic tests for odpdrv_shm_pool are added here, creating a buddy
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 92 ++
.../common_plat/validation/drv/dr
_ishm now provides functions to create/destroy pools for buddy/slab
memory allocation, as well as functions to allocated/release memory
from the created pools.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/Makefile.am | 2 +
pl
Adding functions to create memory pools and allocate / free memory from
the created pools.
These functions calls their _ishm conterpart, of course.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/drv_shm.
is sharable
between ODP threads. (using malloc would not work when ODP threads
are linux processes).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/drv/spec/shm.h
things working "in process mode")
Christophe Milard (6):
linux-gen: _ishm: adding buddy and slab allocation
drv: adding odpdrv_shm_pool functions
linux-gen: drv: shm: adding pool allocator
test: drv: shm: adding basic buddy allocation tests
test: drv: shm: adding basic fixed size
Am I alone seeing that?
PASS: validation/api/pktio/pktio_run.sh
SKIP: validation/api/pktio/pktio_run_tap.sh
PASS: validation/api/shmem/shmem_linux
PASS: ../../test/common_plat/validation/api/atomic/atomic_main
PASS: ../../test/common_plat/validation/api/barrier/barrier_main
PASS:
so driver can create fully sharable pools. At any time.
I will fix the rebase and a "PATCH" in the title and send a v6.
Thanks for you review,
Christophe.
>
> On 3 January 2017 at 23:10, Christophe Milard <christophe.mil...@linaro.org>
> wrote:
>>
>> _ish
Hi Bill,
On 11 January 2017 at 13:25, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> On Wed, Jan 11, 2017 at 3:35 AM, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>> On 2017-01-09 09:24, Bill Fischofer wrote:
>>> Resolve Bug https://bugs.linaro.o
On 2017-01-09 09:24, Bill Fischofer wrote:
> Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2798 by adding
> OpenSSL callbacks for locking that use ticketlocks to provide
> thread-safety for OpenSSL calls made by ODP components such as random
> number generation.
>
> Signed-off-by: Bill
.git/include/odp/drv/spec/driver.h:194: warning: Member
> api_version (variable) of class odpdrv_devio_t is not documented.
> /opt/Linaro/odp3.git/include/odp/drv/spec/driver.h:200: warning: Member
> enumr_api_version (variable) of class odpdrv_devio_t is not documented.
> /opt/Linaro/o
of this when the buddy is merged so I can keep
consistency between the 2 interfaces.
Christophe
On 2 January 2017 at 17:09, Christophe Milard
<christophe.mil...@linaro.org> wrote:
> Since V8:
> -fixed corrupt V8
> -copyright updates: 2017 (BTW: Happy new year)
>
> Since V7:
>
On 6 January 2017 at 00:57, Bill Fischofer wrote:
> Resolve Bug https://bugs.linaro.org/show_bug.cgi?id=2798 by adding
> OpenSSL callbacks for locking that use ticketlocks to provide
> thread-safety for OpenSSL calls made by ODP components such as random
> number
ok for me
On 5 January 2017 at 13:19, Francois Ozog <francois.o...@linaro.org> wrote:
> Monday is my busiest day (last call ends 10pm) but we can do a morning
> call: 11amCET?
>
> On 5 January 2017 at 12:28, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
Ping. Should be easy to review :-)
On 21 December 2016 at 13:55, Christophe Milard
<christophe.mil...@linaro.org> wrote:
> Fixing a set of iritating typos. just in comments.
>
> Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
> ---
>
> Since V1
sertion/removal of a specific port
> - Error condition (an internal watchdog may detect packet stall or I don't
> know)
>
> FF
>
> On 5 January 2017 at 09:13, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>> Hi Francois,
>>
>>
Hi Francois,
Following your suggestion, the driver API contains:
/** Register event notifier function for hotplug events:
*/
int (*register_notifier)(void (*event_handler) (void));
But I an now wondering: Why this double callback?
Wouldn't it be simpler to have the
The problem seems to be the name of the shm memory block:
"pktio-pcap:in=./udp64.pcap"
The name of the block is used for creating the filename used to get
the file descriptor. Filenames containing "/" and other strange
characters will be problems.
I guess I can create other "random" filenames, but
the list of enumerated
devices. ODP will also need it for building list of things such as
enumerators, devio, drivers...
(PS:I guess this concept will be needed as well on the north (API) interface
when we start looking into having things working "in process mode")
Christophe Milard (6):
Stress tests for the random size allocator (buddy allocator in
linux-generic) are added here.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 177 +
.../common_plat/validation/drv/drvshmem/drvs
Basic tests for odpdrv_shm_pool are added here, creating a fixed size
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 86 ++
.../common_plat/validati
_ishm now provides functions to create/destroy pools for buddy/slab
memory allocation, as well as functions to allocated/release memory
from the created pools.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/Makefile.am | 2 +
pl
Basic tests for odpdrv_shm_pool are added here, creating a buddy
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 92 ++
.../common_plat/validation/drv/dr
Adding functions to create memory pools and allocate / free memory from
the created pools.
These functions calls their _ishm conterpart, of course.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/drv_shm.
is sharable
between ODP threads. (using malloc would not work when ODP threads
are linux processes).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/drv/spec/shm.h
Bug 2798
Christophe
On 2 January 2017 at 22:02, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> On Mon, Jan 2, 2017 at 11:17 AM, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>> Hi
>>
>> I have noticed that (rarely enough to be a pain to ca
Hi
I have noticed that (rarely enough to be a pain to catch) odp_shm and
odpdrv_shm sress test sigfaults.
I saw it once last week, but that was enough to worry me as the common
part between the two tests is really the new memory allocator, _ishm.
So I ran a test over new year trying to catch the
To start with: happy new year :-)
Are you saying, Francois, that you want this to have support for Numa directely?
In my opinion, having this as it is now enables building lists of
things, which, in turn, enable proceeding on the driver work
(enumerators...). do you think we should delay this to
_ishm now provides functions to create/destroy pools for buddy/slab
memory allocation, as well as functions to allocated/release memory
from the created pools.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/Makefile.am | 2 +
pl
Basic tests for odpdrv_shm_pool are added here, creating a fixed size
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 86 ++
.../common_plat/validati
Basic tests for odpdrv_shm_pool are added here, creating a buddy
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 92 ++
.../common_plat/validation/drv/dr
is sharable
between ODP threads. (using malloc would not work when ODP threads
are linux processes).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
Reviewed-by: Petri Savolainen <petri.savolai...@nokia.com>
---
include/odp/drv/spec/shm.h
. ODP will also need it for building list of things such as
enumerators, devio, drivers...
(PS:I guess this concept will be needed as well on the north (API) interface
when we start looking into having things working "in process mode")
Christophe Milard (6):
linux-gen: _ishm: ad
Adding functions to create memory pools and allocate / free memory from
the created pools.
These functions calls their _ishm conterpart, of course.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/drv_shm.
The shared objects listed in the ODP configuration files are
loaded at init time. The odp configuration file lists the
shared objects to be loaded as shown in the following example:
module = {
modules = ["enumerator1.so", "driver1.so"];
};
Signed-off-by: Christophe Mi
prefix/etc directory.
This requires libconfig (sudo apt-get install libconfig-dev)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.travis.yml | 2 +-
DEPENDENCIES | 8 +--
platform/linux-gen
(not using make check) may be affected
by configuration files. Setting ODP_SYSCONFIG_FILE to an appropriate value
(possibly "none") may be required.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/Makefile.inc | 4 +++-
1 file changed, 3 insertions(+), 1 dele
The linux implementation for the enumerator class registration function,
enumerator instance registration function,
devio and driver registration functions (stub)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp_drv.h | 1 +
pl
The enumerator class, enumerator instance, devio and driver registration
functions prototypes (and a draft of their parameters) are
defined, the goal being to define the registration framework only.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv/spec/dr
r_register() is of course part of the driver interface (south).
Christophe Milard (5):
drv: adding driver registration interface (stub)
linux-gen: adding enum, devio and driver registration interface (stub)
linux-gen: init: adding configuration file parsing
test: preventing odp.conf loading
Something when obviously wrong when I generated this. Seems corrupt.
Will inverstigate and send a v9. With year update to 2017 as well
Christophe
On 30 December 2016 at 16:19, Christophe Milard
<christophe.mil...@linaro.org> wrote:
> Since V7:
> -changed include order in drv_driv
On 2016-12-23 14:15, Mike Holmes wrote:
> Only the portable api is built by default, use --enable-helper-extn
> to enable non portable APIs for a helper platform
>
> Signed-off-by: Mike Holmes
> ---
I am probably missing something, but, seen from the original file,
I
On 2016-12-23 14:15, Mike Holmes wrote:
> Only the portable api is built by default, use --enable-helper-extn
> to enable non portable APIs for a helper platform
>
> Signed-off-by: Mike Holmes
> ---
Got the following warning when applying this patch:
Applying: helper:
On 2016-12-23 14:15, Mike Holmes wrote:
> Remove the OS specific Linux filename and use the name of the generic
> apis it contains which is for odp_threads
>
> Signed-off-by: Mike Holmes
> ---
> example/classifier/odp_classifier.c | 2 +-
>
() function is hence placed after ODP_DBG and
ODP_ERR function initialization to avoid this situation.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_init.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/platform/linux-g
The shared objects listed in the ODP configuration files are
loaded at init time. The odp configuration file lists the
shared objects to be loaded as shown in the following example:
module = {
modules = ["enumerator1.so", "driver1.so"];
};
Signed-off-by: Christophe Mi
prefix/etc directory.
This requires libconfig (sudo apt-get install libconfig-dev)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.travis.yml | 2 +-
DEPENDENCIES | 8 +--
platform/linux-gen
(not using make check) may be affected
by configuration files. Setting ODP_SYSCONFIG_FILE to an appropriate value
(possibly "none") may be required.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/Makefile.inc | 4 +++-
1 file changed, 3 insertions(+), 1 dele
The linux implementation for the enumerator class registration function,
enumerator instance registration function,
devio and driver registration functions (stub)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp_drv.h | 1 +
pl
The enumerator class, enumerator instance, devio and driver registration
functions prototypes (and a draft of their parameters) are
defined, the goal being to define the registration framework only.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv/spec/dr
f file added here.
Once loaded, the drivers init function (declared as __constructor__)
calls the ODP odp_driver_register() intialialisation function which,
at this stage does nothing (just print an error message).
odp_driver_register() is of course part of the driver interface (south).
Christophe Mi
Basic tests for odpdrv_shm_pool are added here, creating a fixed size
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 86 ++
.../common_plat/validati
Stress tests for the random size allocator (buddy allocator in
linux-generic) are added here.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 177 +
.../common_plat/validation/drv/drvshmem/drvs
Basic tests for odpdrv_shm_pool are added here, creating a buddy
pool and performing basic alloc/free on it
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 92 ++
.../common_plat/validation/drv/dr
Adding functions to create memory pools and allocate / free memory from
the created pools.
These functions calls their _ishm conterpart, of course.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/drv_shm.
_ishm now provides functions to create/destroy pools for buddy/slab
memory allocation, as well as functions to allocated/release memory
from the created pools.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/Makefile.am | 2 +
pl
is sharable
between ODP threads. (using malloc would not work when ODP threads
are linux processes).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv/spec/shm.h | 94 ++
.../linux-generic/include/odp/drv/plat/shm_types.
list of things such as
enumerators, devio, drivers...
(PS:I guess this concept will be needed as well on the north (API) interface
when we start looking into having things working "in process mode")
Christophe Milard (6):
linux-gen: _ishm: adding buddy and slab allocation
d
On 29 December 2016 at 10:19, Savolainen, Petri (Nokia - FI/Espoo)
<petri.savolai...@nokia-bell-labs.com> wrote:
>
>
>> -Original Message-
>> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of
>> Christophe Milard
>> Sent:
Hopefully, I understood what you meant :-) Sent a v7 with this updtade
as well...
/Christophe.
On 29 December 2016 at 14:39, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 12/29/16 16:12, Christophe Milard wrote:
>> I have now updated the travis file (second c
The shared objects listed in the ODP configuration files are
loaded at init time. The odp configuration file list the
shared objects to be loaded as shown in the following example:
module = {
modules = ["enumerator1.so", "driver1.so"];
};
Signed-off-by: Christophe Mi
(not using make check) may be affected
by configuration files. Setting ODP_SYSCONFIG_FILE to an appropriate value
(possibly "none") may be required.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/Makefile.inc | 4 +++-
1 file changed, 3 insertions(+),
The parsing of the odp.conf configuration file is added.
The file is searched first in the local directory (.) and
then is the $prefix/etc directory.
This requires libconfig (sudo apt-get install libconfig-dev)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.trav
The linux implementation for the enumerator class registration function,
enumerator instance registration function,
devio and driver registration functions (stub)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp_drv.h | 1 +
pl
() is of course part of the driver interface (south).
Christophe Milard (5):
drv: adding driver registration interface (stub)
linux-gen: adding enum, devio and driver registration interface (stub)
linux-gen: init: adding configuration file parsing
test: preventing odp.conf loading for tests
li
The enumerator class, enumerator instance, devio and driver registration
functions prototypes (and a draft of their parameters) are
defined, the goal being to define the registration framework only.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv/spec/dr
The shared objects listed in the ODP configuration files are
loaded at init time. The odp configuration file list the
shared objects to be loaded as shown in the following example:
module = {
modules = ["enumerator1.so", "driver1.so"];
};
Signed-off-by: Christophe Mi
(not using make check) may be affected
by configuration files. Setting ODP_SYSCONFIG_FILE to an appropriate value
(possibly "none") may be required.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/Makefile.inc | 4 +++-
1 file changed, 3 insertions(+),
The parsing of the odp.conf configuration file is added.
The file is searched first in the local directory (.) and
then is the $prefix/etc directory.
This requires libconfig (sudo apt-get install libconfig-dev)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.trav
The linux implementation for the enumerator class registration function,
enumerator instance registration function,
devio and driver registration functions (stub)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp_drv.h | 1 +
pl
The enumerator class, enumerator instance, devio and driver registration
functions prototypes (and a draft of their parameters) are
defined, the goal being to define the registration framework only.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv/spec/dr
rivers init function (declared as __constructor__)
calls the ODP odp_driver_register() intialialisation function which,
at this stage does nothing (just print an error message).
odp_driver_register() is of course part of the driver interface (south).
Christophe Milard (5):
drv: adding driver registra
On 22 December 2016 at 21:12, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 12/19/16 13:50, Christophe Milard wrote:
>> The parsing of the odp.conf configuration file is added.
>> The file is searched first in the local directory (.) and
>> then is the $prefix/etc
101 - 200 of 1514 matches
Mail list logo