ocator that broke
ODP instance scoping. I don't think this should be kept.
I have included in this patch series a function to share memory between
designated ODP instances. If we want to have IPC, it should use that.
Christophe Milard (15):
linux-gen: _ishm: fix for alignment request matching page si
There is no reason to toggle the _ODP_ISHM_SINGLE_VA flag
when the alignment exactly matches the page size.
This just results in wasting the odp-common virtual space
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 4 ++--
1 file chan
On 24 November 2016 at 15:36, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 11/24/16 11:24, Christophe Milard wrote:
>>
>> When an ODP program is killed, some odp files may remain in /tmp and
>> the huge page mount point. As signal KILL cannot be caught, ther
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
doc/users-guide/users-guide.adoc | 68 ++--
1 file changed, 66 insertions(+), 2 deletions(-)
diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc
index 6
e test procedure.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/linux-generic/validation/api/shmem/.gitignore | 3 +-
.../linux-generic/validation/api/shmem/Makefile.am | 22 ++--
.../validation/api/shmem/shmem_linux.c | 140 +++--
.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c
index b00f8f1..7d9c213
Remaining (forgotten, not freed) blocks are gathered and related files
cleaned when odp_term_global() is called. An error message is also issued
so the application writters get to know about these blocks
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-g
-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 160 +++-
platform/linux-generic/include/_ishm_internal.h | 5 +
2 files changed, 136 insertions(+), 29 deletions(-)
diff --git a/platform/linux-generic/_ishm.c b/platform
Implemented by calling the related functions from _ishm.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_shared_memory.c | 31 +++---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/platform/linux-g
ing
trying to provoque race conditions. The new shmem tests do not assume
pthreads any longer and are runnable in process mode.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/common_plat/validation/api/shmem/shmem.c | 687 --
test/common_plat/vali
This flag guarentess the unicity the the block address on all ODP threads.
The patch just exposes the _ODP_ISHM_SINGLE_VA flag of the internal memory
allocator, ishm.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_shared_memory.c | 1 +
at odp_shm_reserve() time
the memory block becomes visible to other ODP instances.
The function odp_shm_import() is added: this function enables to
reserve block of memories exported by other ODP instances (using the
ODP_SHM_EXPORT flag).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.
-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/include/odp_internal.h | 5 -
platform/linux-generic/odp_init.c | 19 -
platform/linux-generic/odp_shared_memory.c | 406 ++---
.../validation/api/shmem/shmem_l
long as we have the current IPC,
removing the file would break compilation.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/include/odp_shm_internal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/platform/linux
for the main process, hence making the ishm_reserve()
and ishm_free() functions available at init_global/term_global time.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 189 +
1 file change
ying block attributes.
This file is meant to be used by processes external to ODP willing to
share this memory.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 74 ++---
platform/linux-generic/include/_ishm_inte
as the PID is unique and
therefore, there cannot be another ODP instance with the same PID.
This patch does this cleanup at startup.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_init.c | 51 +++
1 file change
There is no reason to toggle the _ODP_ISHM_SINGLE_VA flag
when the alignment exactely matches the page size.
This just results in wasting the odp-common virtual space
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 4 ++--
1 file chan
tween
designated ODP instances. If we want to have IPC, it should use that.
Christophe Milard (15):
linux-gen: _ishm: fix for alignment request matching page size
linux-gen: init: removing possible obsolete ODP files at startup
linux-gen: _ishm: create description file for external memory sha
On 23 November 2016 at 07:32, Christophe Milard
<christophe.mil...@linaro.org> wrote:
> On 22 November 2016 at 21:18, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
>> On 11/22/16 22:07, Christophe Milard wrote:
>>>
>>> On 22 November 2016 at 16:05, Maxim Uva
On 22 November 2016 at 21:18, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 11/22/16 22:07, Christophe Milard wrote:
>>
>> On 22 November 2016 at 16:05, Maxim Uvarov <maxim.uva...@linaro.org>
>> wrote:
>>>
>>> Christophe,
>>>
pages allocation.
Sorry, I don't really understand what you mean...
>
> regards,
> Maxim.
>
>
>
> On 11/21/16 16:29, Christophe Milard wrote:
>>
>> ping
>>
>> On 17 November 2016 at 16:46, Christophe Milard
>> <christophe.mil...@linaro.org>
ping
On 17 November 2016 at 16:46, Christophe Milard
<christophe.mil...@linaro.org> wrote:
> since v6:
> - All points according to Petri's request i.e.:
> Odp_shm_find_external() changed again: now odp_shm_import().
> Function description updated.
>
>
Here follows a first draft of what the API around this topic could be.
A few comments:
-The part concerning the enumerator registration and the driver
registration could well be separated in different files. Nevertheless
I think they should both be part of the same south interface
(odpdrv_*):
-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 160 +++-
platform/linux-generic/include/_ishm_internal.h | 5 +
2 files changed, 136 insertions(+), 29 deletions(-)
diff --git a/platform/linux-generic/_ishm.c b/platform
Remaining (forgotten, not freed) blocks are gathered and related files
cleaned when odp_term_global() is called. An error message is also issued
so the application writters get to know about these blocks
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-g
e test procedure.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/linux-generic/validation/api/shmem/.gitignore | 3 +-
.../linux-generic/validation/api/shmem/Makefile.am | 22 ++--
.../validation/api/shmem/shmem_linux.c | 140 +++--
.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
doc/users-guide/users-guide.adoc | 68 ++--
1 file changed, 66 insertions(+), 2 deletions(-)
diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc
index 6
ing
trying to provoque race conditions. The new shmem tests do not assume
pthreads any longer and are runnable in process mode.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/common_plat/validation/api/shmem/shmem.c | 687 --
test/common_plat/vali
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c
index 0586a96..782c32f
Implemented by calling the related functions from _ishm.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_shared_memory.c | 31 +++---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/platform/linux-g
-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/include/odp_internal.h | 5 -
platform/linux-generic/odp_init.c | 19 -
platform/linux-generic/odp_shared_memory.c | 406 ++---
.../validation/api/shmem/shmem_l
for the main process, hence making the ishm_reserve()
and ishm_free() functions available at init_global/term_global time.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 189 +
1 file change
at odp_shm_reserve() time
the memory block becomes visible to other ODP instances.
The function odp_shm_import() is added: this function enables to
reserve block of memories exported by other ODP instances (using the
ODP_SHM_EXPORT flag).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.
This flag guarentess the unicity the the block address on all ODP threads.
The patch just exposes the _ODP_ISHM_SINGLE_VA flag of the internal memory
allocator, ishm.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_shared_memory.c | 1 +
long as we have the current IPC,
removing the file would break compilation.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/include/odp_shm_internal.h | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/platform/linux
ying block attributes.
This file is meant to be used by processes external to ODP willing to
share this memory.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 74 ++---
platform/linux-generic/include/_ishm_inte
tances. If we want to have IPC, it should use that.
Christophe Milard (13):
linux-gen: _ishm: create description file for external memory sharing
linux-gen: _ishm: allow memory alloc/free at global init/term
linux-gen: use ishm as north API mem allocator
linux-gen: Push internal flag de
<francois.o...@linaro.org>
wrote:
> Why not just scanning a directory or give a command line parameter?
>
> On 16 November 2016 at 12:05, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>> So what?
>> If we don't allow to load a driver
or on the platform (SoC).
> It can be done as a PoC (that's what I do with virtio-net exploratiry
> project) but that is not a long term solution.
>
> FF
>
>
> Le mercredi 16 novembre 2016, Christophe Milard <
> christophe.mil...@linaro.org> a écrit :
>
>> On
On 16 November 2016 at 10:07, Savolainen, Petri (Nokia - FI/Espoo)
wrote:
>
>> /**
>> + * Driver loading
>> + *
>> + * This function is used by the application to load NIC drivers into ODP.
>> + * Calls to this function are optional, but should be performed
On 14 November 2016 at 06:02, Yi He <yi...@linaro.org> wrote:
> One comment inline:
>
> On 11 November 2016 at 22:50, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>>
>> _odp_ishmphy_memmap_print() prints the virtual to physical address
>&
to the _ishm _ODP_ISHM_LOCK flag.
Christophe
On 14 November 2016 at 06:00, Yi He <yi...@linaro.org> wrote:
> One comment inline:
>
> On 11 November 2016 at 22:50, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>>
>> The function _odp_ishmphy_virt_to_p
in the hypervisor and intercepting the VM's
> traffic directly into hypervisor's user-space.
>
> I was wondering which of the 2 you are implementing
The target is:
The driver side: virtio-net
Christophe
> Thanks
>
> Yehuda
>
>
>> -Original Message-
>> From:
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 37 ++
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files changed, 38 insertions(+)
diff --git a/test/common_plat/validation/drv/dr
The capability "phys_addr" is introduced and tells whether physical
address queries are available.
The function odpdrv_virt_to_phys() is added to query for physical address
(from virtual address)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-g
NOTE: Must be applied on top of "getting physical addresses from _ishmphy", V2
since V1:
-name changes (Maxim, Francois)
-comments errors (Maxim)
Brings the physical address query functions on the driver interface.
Christophe Milard (3):
drv: shm: function to query fo
The capability "phys_addr" is introduced and tells whether physical
address queries are available.
The function odpdrv_virt_to_phys() is added to query for physical address
(from virtual address)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv
_odp_ishmphy_memmap_print() prints the virtual to physical address
mapping of some memory region (defined by virtuall address + length).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishmphy.c | 58 ++
pl
added, return true if
_odp_ishmphy_virt_to_phys() is able to works (as it requires specific
permission)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishmphy.c | 82 ++
platform/linux-generic/include/_ishmphy_inte
On 10 November 2016 at 20:05, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 11/10/16 20:21, Christophe Milard wrote:
>>
>> The capability "can_getphy" is introduced and tells whether physical
>> address queries are available.
>> The function odp
On 10 November 2016 at 12:52, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>>
>> Hi,
>>
>> My hope was that packet segments would all be smaller than one page
>> (either normal pages or huge pages) to guarantee physical memory
>> conti
Hi,
My hope was that packet segments would all be smaller than one page
(either normal pages or huge pages) to guarantee physical memory
continuity which is needed by some drivers (read non vfio drivers for
PCI).
Francois Ozog's experience (with dpdk)shows that this hope will fail
in some case:
The capability "can_getphy" is introduced and tells whether physical
address queries are available.
The function odpdrv_getphy() is added to query for physical address
(from virtual address)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-g
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 37 ++
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files changed, 38 insertions(+)
diff --git a/test/common_plat/validation/drv/dr
The capability "can_getphy" is introduced and tells whether physical
address queries are available.
The function odpdrv_getphy() is added to query for physical address
(from virtual address)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv
NOTE: Must be applied on top of "getting physical addresses from _ishmphy"
Brings the physical address query functions on the driver interface.
Christophe Milard (3):
drv: shm: function to query for physical addresses
linux-gen: drv: functions to query for physical addresses
test
ects in ODP
> odp_pktio_t is somewhat corresponding to a port "driver". it does properly
> adapts to a device with multiple ports.
>
Not sure of the match when you started talking about the embeded switches...
Christophe.
>
> FF
>
>
>
>
>
> On 7 Novembe
On 8 November 2016 at 15:24, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 11/08/16 17:15, Christophe Milard wrote:
>>
>> On 8 November 2016 at 15:06, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
>>>
>>> are there any system for linux-generic plat
ot sure I agree with this really,...
Any other voices?
>
> Maxim.
>
>
>
> On 11/07/16 14:15, Christophe Milard wrote:
>>
>> Implementation of the driver loading function, of north API
>>
>> Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
>
On 8 November 2016 at 14:56, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> On 11/07/16 14:15, Christophe Milard wrote:
>>
>> Function added on the north API to load drivers.
>>
>> Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
>&
Defining the reserve and lookup behaviour when multiple blocks are reserved
using the same name.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
doc/users-guide/users-guide.adoc | 8 ++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/doc/users-guide
Make sure that many memory blocks can be created with the name.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/common_plat/validation/api/shmem/shmem.c | 9 +
1 file changed, 9 insertions(+)
diff --git a/test/common_plat/validation/api/shmem/shmem.c
This is following the request that using the same name
for multiple memory blocks should be allowed on north API.
The change made here will affect any _ishm users (i.e. both north
and south API), which is probably better for consistency.
Signed-off-by: Christophe Milard <christophe.
being used multiple
times.
Christophe Milard (3):
linux-gen: _ishm: accept multiple usage of same block name
test: api: shm: test using the same block name multiple times
doc: shm: defining behaviour when blocks have same name
doc/users-guide/users-guide.adoc | 8 ++--
plat
Bonsoir Francois,
I'll take that in English thereafter so that other can read (copy to the list).
I have looked at that:
https://dpdksummit.com/Archive/pdf/2016Userspace/Day02-Session03-ShreyanshJain-Userspace2016.pdf
I guess that is what you referred to, Francois, when talking at the
SYNC
river registration. This would require to drop the
> -std=c99 compliance flag from the compilation, correct?
>
That is correct. I actually did not realize that clashes with the c99
flag. would .init be better in your eyes? Or any other idea?
Christophe.
> Best Regards,
> Stanislaw
ping
On 31 October 2016 at 12:47, Bill Fischofer <bill.fischo...@linaro.org> wrote:
> For this series:
>
> Reviewed-and-tested-by: Bill Fischofer <bill.fischo...@linaro.org>
>
> On Mon, Oct 31, 2016 at 3:52 AM, Christophe Milard
> <christophe.mil...@
On 7 November 2016 at 08:02, Yi He <yi...@linaro.org> wrote:
> Minor issues to avoid names conflict.
>
> On 1 November 2016 at 15:51, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>>
>> On 25 October 2016 at 08:39, Brian Brooks <brian.bro...@li
ion
(which is surprising).
So this patch just point at the .so path usiong rpath.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/.gitignore| 1 +
test/Makefile.inc | 3 +-
test/common_plat
Implementation of the driver loading function, of north API
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
configure.ac | 4 ++--
platform/linux-generic/include/.gitignore | 1 +
.../linux-generic/i
The linux implementation for the driver registration interface (stub)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 2 ++
platform/linux-generic/drv_dr
Function added on the north API to load drivers.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/api/spec/init.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/odp/api/spec/init.h b/include/odp/api/spec/init.h
index 154cdf8..b
drivers. Once loaded,
drivers init function (declared as __constructor__) call 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
is needed is a driver team, i.e. a set of
persons which follows and work on the driver stuff. I'd be happy to
have regular meetings to discuss the questions :-)... Then, maybe a
doc would make sense as they would be readers :-) want to joín? ;-)
regards,
CHristophe
>
> Thanks and Best Regards, Yi
<bill.fischo...@linaro.org> wrote:
>
>
> On Fri, Nov 4, 2016 at 7:32 AM, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>>
>> The function _odp_ishmphy_getphy() is added to query for physical
>> addresses (given a virtual address)
>> This funct
_odp_ishmphy_dumpphy() prints the virtual to physical address
mapping of some memory region (defined by virtuall address + length).
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishmphy.c | 57 ++
platform
true if
_odp_ishmphy_getphy() is able to works (as it requires specific
permission)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishmphy.c | 82 ++
platform/linux-generic/include/_ishmphy_internal.h | 14 +
shmphy_dumpphy():Virtual: 7fb81259c000 <--> Phy:
285a79000 1 PFNs, 4096 bytes
_ishmphy.c:309:_odp_ishmphy_dumpphy():Virtual: 7fb81259d000 <--> Phy:
285a78000 1 PFNs, 4096 bytes
_ishmphy.c:309:_odp_ishmphy_dumpphy():Virtual: 7fb81259e000 <--> Phy:
3a8a11000 1 PFNs, 40
On 31 October 2016 at 20:53, Maxim Uvarov wrote:
> Use vlan tagged traffic for example validation test
> to add code coverage for pkt_mmap_vlan_insert() internal
> function.
>
> Signed-off-by: Maxim Uvarov
> ---
> v2: update to current master.
>
On 25 October 2016 at 08:56, Brian Brooks <brian.bro...@linaro.org> wrote:
> On 10/31 19:58:43, Christophe Milard wrote:
>> Trying to fix a proper structure for driver tests in the hard world
>> of autotools
>>
>> Signed-off-by: Christophe Milard <christoph
On 25 October 2016 at 08:43, Brian Brooks <brian.bro...@linaro.org> wrote:
> On 10/31 19:58:42, Christophe Milard wrote:
>> Implementation of the driver loading function, of north API
>>
>> Signed-off-by: Christophe Milard <christophe.mil...@linar
On 25 October 2016 at 08:39, Brian Brooks <brian.bro...@linaro.org> wrote:
> On 10/31 19:58:39, Christophe Milard wrote:
>> The driver registration function (and a draft of its parameters) is
>> defined, the goal being to define the driver registration framework o
On 31 October 2016 at 22:32, Brian Brooks <brian.bro...@linaro.org> wrote:
> On 10/31 18:48:38, Christophe Milard wrote:
>> Thanks for trying Brian.
>>
>> ...Tried this as well :-)...
>>
>>
>> On 31 October 2016 at 18:03, Brian Brooks <brian.bro...@l
Trying to fix a proper structure for driver tests in the hard world
of autotools
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/.gitignore| 1 +
test/Makefile.inc | 3 +-
test/common_p
Implementation of the driver loading function, of north API
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
configure.ac | 4 ++--
platform/linux-generic/include/.gitignore | 1 +
.../linux-generic/i
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 registration interface (stub)
linux-gen: adding driver registration interface (stub)
api: init: driver load function
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
Function added on the north API to load drivers.
---
include/odp/api/spec/init.h | 16
1 file changed, 16 insertions(+)
diff --git a/include/odp/api/spec/init.h b/include/odp/api/spec/init.h
index 154cdf8..b
The linux implementation for the driver registration interface (stub)
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 2 ++
platform/linux-generic/drv_dr
The driver registration function (and a draft of its parameters) is
defined, the goal being to define the driver registration framework only.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
include/odp/drv/spec/driver.
Thanks for trying Brian.
...Tried this as well :-)...
On 31 October 2016 at 18:03, Brian Brooks <brian.bro...@linaro.org> wrote:
> On Fri, Oct 28, 2016 at 8:58 AM, Christophe Milard
> <christophe.mil...@linaro.org> wrote:
>> Hi,
>>
>> The ODP driver
, Maxim Uvarov <maxim.uva...@linaro.org> wrote:
> Petri,
>
> please review API patch.
>
>
>
> On 10/31/16 11:52, Christophe Milard wrote:
>>
>> The ODP_SHM_SINGLE_VA flag is created: when set (at odp_shm_reserve()),
>> this flag guarantees that all ODP
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
doc/users-guide/users-guide.adoc | 68 ++--
1 file changed, 66 insertions(+), 2 deletions(-)
diff --git a/doc/users-guide/users-guide.adoc b/doc/users-guide/users-guide.adoc
index 6
Remaining (forgotten, not freed) blocks are gathered and related files
cleaned when odp_term_global() is called. An error message is also issued
so the application writters get to know about these blocks
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-g
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 22 --
1 file changed, 16 insertions(+), 6 deletions(-)
diff --git a/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c
index 0586a96..782c32f
e test procedure.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/linux-generic/validation/api/shmem/.gitignore | 3 +-
.../linux-generic/validation/api/shmem/Makefile.am | 22 ++--
.../validation/api/shmem/shmem_linux.c | 140 +++--
.
Implemented by calling the related functions from _ishm.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_shared_memory.c | 31 +++---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/platform/linux-g
-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/_ishm.c | 160 +++-
platform/linux-generic/include/_ishm_internal.h | 5 +
2 files changed, 136 insertions(+), 29 deletions(-)
diff --git a/platform/linux-generic/_ishm.c b/platform
ing
trying to provoque race conditions. The new shmem tests do not assume
pthreads any longer and are runnable in process mode.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
test/common_plat/validation/api/shmem/shmem.c | 687 --
test/common_plat/vali
This flag guarentess the unicity the the block address on all ODP threads.
The patch just exposes the _ODP_ISHM_SINGLE_VA flag of the internal memory
allocator, ishm.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org>
---
platform/linux-generic/odp_shared_memory.c | 1 +
301 - 400 of 1514 matches
Mail list logo