-by: Christophe Milard
---
platform/linux-generic/include/odp_internal.h | 5 -
platform/linux-generic/odp_init.c | 19 -
platform/linux-generic/odp_shared_memory.c | 405 ++---
.../validation/api/shmem/shmem_linux.c | 23 +-
4 files
).
Signed-off-by: Christophe Milard
---
include/odp/api/spec/shared_memory.h | 19 +++
1 file changed, 19 insertions(+)
diff --git a/include/odp/api/spec/shared_memory.h
b/include/odp/api/spec/shared_memory.h
index fe683d4..1b4d068 100644
--- a/include/odp/api/spec/shared_memory.h
The ODP_SHM_LOCK flag is created: when set (at odp_shm_reserve()),
this flag locks the reserved memory (prevent swapping)
Signed-off-by: Christophe Milard
---
include/odp/api/spec/shared_memory.h | 1 +
1 file changed, 1 insertion(+)
diff --git a/include/odp/api/spec/shared_memory.h
b/include
The ODP_SHM_SINGLE_VA flag is created: when set (at odp_shm_reserve()),
this flag guarantees that all ODP threads sharing this memory
block will see the block at the same address (regadless of ODP
thread type -pthread vs process- or fork time)
Signed-off-by: Christophe Milard
---
include/odp
The flag locks the allocated memory (prevent swapping)
The patch just exposes the _ODP_ISHM_LOCK flag of the internal memory
allocator, ishm.
Signed-off-by: Christophe Milard
---
platform/linux-generic/odp_shared_memory.c | 1 +
1 file changed, 1 insertion(+)
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
---
platform/linux-generic/_ishm.c | 189 +
1 file changed, 118 insertions(+), 71 deletions(-)
diff
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
---
platform/linux-generic/odp_shared_memory.c | 1 +
1 file changed, 1 insertion(+)
diff
er in /tmp or in hugetlbfs).
This link is meant to be used by processes external to ODP willing to
share this memory.
Signed-off-by: Christophe Milard
---
platform/linux-generic/_ishm.c | 35 +++--
platform/linux-generic/include/_ishm_internal.h | 1 +
2 fil
of more than 2 ODP
anyway, as far as I can see...which makes it rather limited.
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,
and that would allow chaining.
Something to discuss at the next ARCH call, may
Ping.
This has been reviewed and agreed at ARCH call. Any reason not to merge?
Christophe
On 20 September 2016 at 04:34, Bill Fischofer wrote:
>
>
> On Mon, Sep 19, 2016 at 10:56 AM, Christophe Milard
> wrote:
>>
>> Rather than using INSTANCE_ID (constant 0
On 21 September 2016 at 17:55, Bill Fischofer wrote:
>
>
>
> On Tue, Sep 20, 2016 at 10:16 AM, Christophe Milard
> wrote:
>>
>>
>>
>> On 20 September 2016 at 16:01, Bill Fischofer
>> wrote:
>>>
>>>
>>>
>>
On 20 September 2016 at 16:01, Bill Fischofer
wrote:
>
>
> On Tue, Sep 20, 2016 at 8:30 AM, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>> Hi,
>>
>> I am here trying to make a summary of what is needed by the driver
>> interface
&g
Hi,
I am here trying to make a summary of what is needed by the driver interface
regarding odp packet handling. Will serve as the base for the discussions
at connect. Please read and comment... possibly at connect...
/Christophe
>From the driver perspective, the situation is rather simple: what
Rather than using INSTANCE_ID (constant 0xdeadbeef), the ODP main
instantiation process ID is used as instance ID in the linux-generic
implementation. This is a simple way to guarantee instance uniqueness
on linux systems.
Signed-off-by: Christophe Milard
---
platform/linux-generic/include
hat can be considered
> later if needed.
>
> On Tue, Sep 13, 2016 at 7:40 AM, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>> The table containing the saved file-descriptors<->{context, key} couples
>> is
>> now dynamically malloc'd in t
The table containing the saved file-descriptors<->{context, key} couples is
now dynamically malloc'd in the fd server process, hence avoiding
the memory waste which happened in other process when the table was
staticaly reserved in all processes.
Signed-off-by: Christophe Milard
--
of course... :-)...
It really should be freed at exit only, But I agree, that should be
explicit.
will send a v2!
On 13 September 2016 at 13:25, Bill Fischofer
wrote:
>
>
> On Tue, Sep 13, 2016 at 4:47 AM, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>&g
Signed-off-by: Christophe Milard
---
platform/linux-generic/_fdserver.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/platform/linux-generic/_fdserver.c
b/platform/linux-generic/_fdserver.c
index bf36eb2..97661d0 100644
--- a/platform/linux-generic/_fdserver.c
+++ b
The table containing the saved file-descriptors<->{context, key} couples is
now dynamically malloc'd in the fd server process, hence avoiding
the memory waste which happened in other process when the table was
staticaly reserved in all processes.
Signed-off-by: Christophe Milard
--
Stress tests, randomly allocating memory are added: the test is based
on a group of odp threads allocating, mapping and freeing each-other
memory.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 222 +
.../common_plat/validation/drv
Basic test for different drvshm_reserve() time in conjunction with
the usage of SINGLE_VA flag is added.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 221 +
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files
processes and regardless of fork time),
when the required _ODP_ISHM_SINGLE_VA flag is used.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am |4 +
platform/linux-generic/_ishm.c | 1335
platform/linux-generic
reservation occurs both before and after odpthread
creation here).
Signed-off-by: Christophe Milard
---
test/common_plat/m4/configure.m4 | 3 +-
test/common_plat/validation/drv/Makefile.am| 3 +-
.../common_plat/validation/drv/drvshmem/.gitignore | 1
The shared memory DRV interface is created, mostly as a wrapper
around the internal memory allocator, ishm.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 +
platform/linux-generic/_ishm.c
A debug function, printing the internal mem alloc status is added.
Signed-off-by: Christophe Milard
---
platform/linux-generic/_ishm.c | 125
platform/linux-generic/include/_ishm_internal.h | 1 +
2 files changed, 126 insertions(+)
diff --git a
igned-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 2 +
platform/linux-generic/_fdserver.c | 655 +
.../linux-generic/include/_fdserver_internal.h | 38 ++
platform/linux-generic/include/odp_internal.h
The Huge page information is separated and a function to get the
huge page mount directory is added. This function is called at init
so the information is available later on.
Signed-off-by: Christophe Milard
---
platform/linux-generic/include/odp_internal.h | 7 +-
platform/linux-generic
The public definition of the shared memory allocator
for the driver interface is added.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/shm.h | 231 +
platform/Makefile.inc | 1 +
2 files changed, 232 insertions(+)
create mode 100644
Mirrored from its couterpart on the api interface, the drv interface
gets its strong typing file.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 3 +-
.../include/odp/drv/plat/strong_types.h| 35 ++
2 files changed, 37
Based on API interface files.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 ++
platform/linux-generic/drv_barrier.c | 50 ++
platform/linux-generic
Based on API interface file.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/barrier.h | 66 ++
platform/Makefile.inc | 1 +
2 files changed, 67 insertions(+)
create mode 100644 include/odp/drv/spec/barrier.h
diff --git a/include/odp
To please check-patch before the copy to the drv interface.
Signed-off-by: Christophe Milard
---
include/odp/api/spec/barrier.h | 2 --
platform/linux-generic/include/odp/api/plat/barrier_types.h | 1 -
platform/linux-generic/odp_barrier.c| 2
r process mode
(using the usual --odph_proc flag)
Thanks for reading so far... and happy review!
Christophe
*** BLURB HERE ***
Christophe Milard (13):
linux-gen: cosmetic changes on barrier
drv: adding barrier.h
linux-gen: drv: adding barrier
linux-generic: drv: strong typing
drv:
.10.1.0.git151.ga52267b/_
> build/sub/test/linux-generic'
> Makefile:736: recipe for target 'check-recursive' failed
> make[3]: *** [check-recursive] Error 1
> make[3]: Leaving directory '/home/bill/linaro/check-odp/
> build/odp-apply/opendataplane-1.10.1.0.git151.ga5
mostly to keep the symmetry with the API side
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/byteorder.h | 3 +++
platform/linux-generic/include/odp/drv/plat/byteorder_types.h | 10 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git
God! I am just blind... sorry. sending a V3
On 19 August 2016 at 22:47, Bill Fischofer
wrote:
>
>
> On Fri, Aug 19, 2016 at 1:17 PM, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>> mostly to keep the symmetry with the API side
>>
&g
shmem_main'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0 0x0804c10b in run_test_stress (arg=0xbf8662b0) at drvshmem.c:683
> 683 CU_ASSERT(address[i] == (data & 0xFF));
> [Current thread is 1 (Thread 0x96959b40 (LWP 15773))]
> (gdb) bt
> #0
mostly to keep the symmetry with the API side
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/byteorder.h | 3 +++
platform/linux-generic/include/odp/drv/plat/byteorder_types.h | 10 +++---
2 files changed, 10 insertions(+), 3 deletions(-)
diff --git
processes and regardless of fork time),
when the required _ODP_ISHM_SINGLE_VA flag is used.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am |4 +
platform/linux-generic/_ishm.c | 1336
platform/linux-generic
Stress tests, randomly allocating memory are added: the test is based
on a group of odp threads allocating, mapping and freeing each-other
memory.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 222 +
.../common_plat/validation/drv
reservation occurs both before and after odpthread
creation here).
Signed-off-by: Christophe Milard
---
test/common_plat/m4/configure.m4 | 3 +-
test/common_plat/validation/drv/Makefile.am| 3 +-
.../common_plat/validation/drv/drvshmem/.gitignore | 1
Basic test for different drvshm_reserve() time in conjunction with
the usage of SINGLE_VA flag is added.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 221 +
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files
The shared memory DRV interface is created, mostly as a wrapper
around the internal memory allocator, ishm.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 +
platform/linux-generic/_ishm.c
igned-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 2 +
platform/linux-generic/_fdserver.c | 655 +
.../linux-generic/include/_fdserver_internal.h | 38 ++
platform/linux-generic/include/odp_internal.h
The Huge page information is separated and a function to get the
huge page mount directory is added. This function is called at init
so the information is available later on.
Signed-off-by: Christophe Milard
---
platform/linux-generic/include/odp_internal.h | 7 +-
platform/linux-generic
A debug function, printing the internal mem alloc status is added.
Signed-off-by: Christophe Milard
---
platform/linux-generic/_ishm.c | 125
platform/linux-generic/include/_ishm_internal.h | 1 +
2 files changed, 126 insertions(+)
diff --git a
The public definition of the shared memory allocator
for the driver interface is added.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/shm.h | 231 +
platform/Makefile.inc | 1 +
2 files changed, 232 insertions(+)
create mode 100644
Mirrored from its couterpart on the api interface, the drv interface
gets its strong typing file.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 3 +-
.../include/odp/drv/plat/strong_types.h| 35 ++
2 files changed, 37
Based on API interface files.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 ++
platform/linux-generic/drv_barrier.c | 50 ++
platform/linux-generic
Based on API interface file.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/barrier.h | 66 ++
platform/Makefile.inc | 1 +
2 files changed, 67 insertions(+)
create mode 100644 include/odp/drv/spec/barrier.h
diff --git a/include/odp
To please check-patch before the copy to the drv interface.
Signed-off-by: Christophe Milard
---
include/odp/api/spec/barrier.h | 2 --
platform/linux-generic/include/odp/api/plat/barrier_types.h | 1 -
platform/linux-generic/odp_barrier.c| 2
comes the definition a a series of tests to test the driver
interface shared memory. These tests are runnable in thread or process mode
(using the usual --odph_proc flag)
Thanks for reading so far... and happy review!
Christophe
Christophe Milard (13):
linux-gen: cosmetic changes on barrier
drv
processes and regardless of fork time),
when the required _ODP_ISHM_SINGLE_VA flag is used.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am |4 +
platform/linux-generic/_ishm.c | 1336
platform/linux-generic
The shared memory DRV interface is created, mostly as a wrapper
around the internal memory allocator, ishm.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 +
platform/linux-generic/_ishm.c
Mirrored from its couterpart on the api interface, the drv interface
gets its strong typing file.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 3 +-
.../include/odp/drv/plat/strong_types.h| 35 ++
2 files changed, 37
Based on API interface files.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 ++
platform/linux-generic/drv_barrier.c | 50 ++
platform/linux-generic
Based on API interface file.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/barrier.h | 66 ++
platform/Makefile.inc | 1 +
2 files changed, 67 insertions(+)
create mode 100644 include/odp/drv/spec/barrier.h
diff --git a/include/odp
igned-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 2 +
platform/linux-generic/_fdserver.c | 655 +
.../linux-generic/include/_fdserver_internal.h | 38 ++
platform/linux-generic/include/odp_internal.h
er
interface shared memory. These tests are runnable in thread or process mode
(using the usual --odph_proc flag)
Thanks for reading so far... and happy review!
Christophe
Christophe Milard (13):
linux-gen: cosmetic changes on barrier
drv: adding barrier.h
linux-gen: drv: adding barrie
A debug function, printing the internal mem alloc status is added.
Signed-off-by: Christophe Milard
---
platform/linux-generic/_ishm.c | 125
platform/linux-generic/include/_ishm_internal.h | 1 +
2 files changed, 126 insertions(+)
diff --git a
The Huge page information is separated and a function to get the
huge page mount directory is added. This function is called at init
so the information is available later on.
Signed-off-by: Christophe Milard
---
platform/linux-generic/include/odp_internal.h | 7 +-
platform/linux-generic
The public definition of the shared memory allocator
for the driver interface is added.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/shm.h | 231 +
platform/Makefile.inc | 1 +
2 files changed, 232 insertions(+)
create mode 100644
To please check-patch before the copy to the drv interface.
Signed-off-by: Christophe Milard
---
include/odp/api/spec/barrier.h | 2 --
platform/linux-generic/include/odp/api/plat/barrier_types.h | 1 -
platform/linux-generic/odp_barrier.c| 2
processes and regardless of fork time),
when the required _ODP_ISHM_SINGLE_VA flag is used.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am |4 +
platform/linux-generic/_ishm.c | 1336
platform/linux-generic
Stress tests, randomly allocating memory are added: the test is based
on a group of odp threads allocating, mapping and freeing each-other
memory.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 222 +
.../common_plat/validation/drv
igned-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 2 +
platform/linux-generic/_fdserver.c | 655 +
.../linux-generic/include/_fdserver_internal.h | 38 ++
platform/linux-generic/include/odp_internal.h
Basic test for different drvshm_reserve() time in conjunction with
the usage of SINGLE_VA flag is added.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 221 +
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files
reservation occurs both before and after odpthread
creation here).
Signed-off-by: Christophe Milard
---
test/common_plat/m4/configure.m4 | 3 +-
test/common_plat/validation/drv/Makefile.am| 3 +-
.../common_plat/validation/drv/drvshmem/.gitignore | 1
The shared memory DRV interface is created, mostly as a wrapper
around the internal memory allocator, ishm.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 +
platform/linux-generic/_ishm.c
A debug function, printing the internal mem alloc status is added.
Signed-off-by: Christophe Milard
---
platform/linux-generic/_ishm.c | 125
platform/linux-generic/include/_ishm_internal.h | 1 +
2 files changed, 126 insertions(+)
diff --git a
The Huge page information is separated and a function to get the
huge page mount directory is added. This function is called at init
so the information is available later on.
Signed-off-by: Christophe Milard
---
platform/linux-generic/include/odp_internal.h | 7 +-
platform/linux-generic
The public definition of the shared memory allocator
for the driver interface is added.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/shm.h | 231 +
platform/Makefile.inc | 1 +
2 files changed, 232 insertions(+)
create mode 100644
Mirrored from its couterpart on the api interface, the drv interface
gets its strong typing file.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 3 +-
.../include/odp/drv/plat/strong_types.h| 35 ++
2 files changed, 37
Based on API interface files.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 ++
platform/linux-generic/drv_barrier.c | 50 ++
platform/linux-generic
Based on API interface file.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/barrier.h | 66 ++
platform/Makefile.inc | 1 +
2 files changed, 67 insertions(+)
create mode 100644 include/odp/drv/spec/barrier.h
diff --git a/include/odp
er
interface shared memory. These tests are runnable in thread or process mode
(using the usual --odph_proc flag)
Thanks for reading so far... and happy review!
Christophe
Christophe Milard (13):
linux-gen: cosmetic changes on barrier
drv: adding barrier.h
linux-gen: drv: adding barrie
To please check-patch before the copy to the drv interface.
Signed-off-by: Christophe Milard
---
include/odp/api/spec/barrier.h | 2 --
platform/linux-generic/include/odp/api/plat/barrier_types.h | 1 -
platform/linux-generic/odp_barrier.c| 2
Fischofer
wrote:
> This test appears to require that it be run with sudo. Is that
> intentional? If so that should be well documented.
>
> On Fri, Aug 19, 2016 at 10:48 AM, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>> Stress tests, randomly allocating
ssues against this module (as well as
> _fdserver.c). These should be addressed now rather than later:
>
> On Fri, Aug 19, 2016 at 10:48 AM, Christophe Milard <
> christophe.mil...@linaro.org> wrote:
>
>> A new ODP internal memory allocator, called ishm (for internal shme
processes and regardless of fork time),
when the required _ODP_ISHM_SINGLE_VA flag is used.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am |4 +
platform/linux-generic/_ishm.c | 1336
platform/linux-generic
reservation occurs both before and after odpthread
creation here).
Signed-off-by: Christophe Milard
---
test/common_plat/m4/configure.m4 | 3 +-
test/common_plat/validation/drv/Makefile.am| 3 +-
.../common_plat/validation/drv/drvshmem/.gitignore | 1
Based on API interface file.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/barrier.h | 66 ++
platform/Makefile.inc | 1 +
2 files changed, 67 insertions(+)
create mode 100644 include/odp/drv/spec/barrier.h
diff --git a/include/odp
Basic test for different drvshm_reserve() time in conjunction with
the usage of SINGLE_VA flag is added.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 221 +
.../common_plat/validation/drv/drvshmem/drvshmem.h | 1 +
2 files
Stress tests, randomly allocating memory are added: the test is based
on a group of odp threads allocating, mapping and freeing each-other
memory.
Signed-off-by: Christophe Milard
---
.../common_plat/validation/drv/drvshmem/drvshmem.c | 222 +
.../common_plat/validation/drv
The shared memory DRV interface is created, mostly as a wrapper
around the internal memory allocator, ishm.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 +
platform/linux-generic/_ishm.c
To please check-patch before the copy to the drv interface.
Signed-off-by: Christophe Milard
---
include/odp/api/spec/barrier.h | 2 --
platform/linux-generic/include/odp/api/plat/barrier_types.h | 1 -
platform/linux-generic/odp_barrier.c| 2
igned-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 2 +
platform/linux-generic/_fdserver.c | 655 +
.../linux-generic/include/_fdserver_internal.h | 38 ++
platform/linux-generic/include/odp_internal.h
A debug function, printing the internal mem alloc status is added.
Signed-off-by: Christophe Milard
---
platform/linux-generic/_ishm.c | 125
platform/linux-generic/include/_ishm_internal.h | 1 +
2 files changed, 126 insertions(+)
diff --git a
The Huge page information is separated and a function to get the
huge page mount directory is added. This function is called at init
so the information is available later on.
Signed-off-by: Christophe Milard
---
platform/linux-generic/include/odp_internal.h | 7 +-
platform/linux-generic
The public definition of the shared memory allocator
for the driver interface is added.
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/shm.h | 231 +
platform/Makefile.inc | 1 +
2 files changed, 232 insertions(+)
create mode 100644
Mirrored from its couterpart on the api interface, the drv interface
gets its strong typing file.
Signed-off-by: Christophe Milard
---
platform/linux-generic/Makefile.am | 3 +-
.../include/odp/drv/plat/strong_types.h| 35 ++
2 files changed, 37
Based on API interface files.
Signed-off-by: Christophe Milard
---
include/odp_drv.h | 1 +
platform/linux-generic/Makefile.am | 3 ++
platform/linux-generic/drv_barrier.c | 50 ++
platform/linux-generic
er
interface shared memory. These tests are runnable in thread or process mode
(using the usual --odph_proc flag)
Thanks for reading so far... and happy review!
Christophe
Christophe Milard (13):
linux-gen: cosmetic changes on barrier
drv: adding barrier.h
linux-gen: drv: adding barrie
mostly to keep the symmetry with the API side
Signed-off-by: Christophe Milard
---
include/odp/drv/spec/byteorder.h | 3 +++
platform/linux-generic/include/odp/drv/plat/byteorder_types.h | 6 +-
2 files changed, 8 insertions(+), 1 deletion(-)
diff --git a
The input files parsed to generate the ODP platform specific API doc
included (wrongly) part of the drv interface specification.
This led to warning on undefined symbols.
Fixed by restricting imput files to API only.
Signed-off-by: Christophe Milard
---
doc/platform-api-guide/Doxyfile | 4
Restricting to the driver interface and defining general macros.
Signed-off-by: Christophe Milard
---
doc/driver-api-guide/Doxyfile | 13 -
1 file changed, 8 insertions(+), 5 deletions(-)
diff --git a/doc/driver-api-guide/Doxyfile b/doc/driver-api-guide/Doxyfile
index 680d1d4
Isn't this obsolete and replaced by : [PATCH v3 00/12] arch improvements ?
Christophe
On 16 August 2016 at 15:28, Maxim Uvarov wrote:
> ping. Please do one more review.
>
> Maxim.
>
> On 08/04/16 22:30, Brian Brooks wrote:
>
>> Signed-off-by: Brian Brooks
>> ---
>> platform/linux-generic/arc
odule from the drv interface is hence renamed drvatomic.
Signed-off-by: Christophe Milard
---
since v1: Fixed DRV prefix in macro (Maxim)
test/common_plat/m4/configure.m4 | 2 +-
test/common_plat/validation/drv/Makefile.am| 2 +-
test/common_plat/validation/drv/atomic/
Signed-off-by: Christophe Milard
Signed-off-by: Mike Holmes
---
doc/platform-api-guide/Doxyfile | 1 +
doc/platform-api-guide/Makefile.am | 8 -
platform/linux-generic/doc/platform_specific.dox | 46
3 files changed, 54 insertions
On 4 August 2016 at 16:08, Mike Holmes wrote:
> Promote coding style that reduces the chance of collisions with
> applications.
>
> Signed-off-by: Mike Holmes
> ---
> doc/implementers-guide/implementers-guide.adoc | 7 +++
> 1 file changed, 7 insertions(+)
>
> diff --git a/doc/implementers-g
501 - 600 of 1604 matches
Mail list logo