Default is abi compat mode, all interface functions changed,
so increase first number of .so
Signed-off-by: Maxim Uvarov
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index b460a65..e7b8f8a 100644
--- a/configure.ac
+++ b/c
From: Bill Fischofer
Signed-off-by: Bill Fischofer
Signed-off-by: Maxim Uvarov
---
CHANGELOG | 177 ++
1 file changed, 177 insertions(+)
diff --git a/CHANGELOG b/CHANGELOG
index 1d652a8..b125d63 100644
--- a/CHANGELOG
+++ b/CHANGELOG
original configure.ac enables abi compat mode by default,
even without --enable-abi-compat provided. And has broken
logic to disable abi compat mode. Correct logic to build abi
compat mode and option to disable it. Shared library is not
needed for non abi compat mode, so turn it off.
Signed-off-by
v7: more accurate define disable option (Anders)
Bill Fischofer (1):
changelog: summary of changes for odp v1.12.0.0
Maxim Uvarov (2):
configure.ac: disable shared library for non abi compat mode
configure.ac update version numbers
CHANGELOG| 177 ++
On 11/24/16 23:12, Anders Roxell wrote:
On 24 November 2016 at 17:03, Maxim Uvarov wrote:
original configure.ac enables abi compat mode by default,
even without --enable-abi-compat provided. And has broken
logic to disable abi compat mode. Correct logic to build abi
compat mode and option to di
On 24 November 2016 at 17:03, Maxim Uvarov wrote:
> original configure.ac enables abi compat mode by default,
> even without --enable-abi-compat provided. And has broken
> logic to disable abi compat mode. Correct logic to build abi
> compat mode and option to disable it. Shared library is not
> n
Christophe,
with this patch series and without it I see odp_pktio_perf hangs in
background.
And it looks like accept() never pass. Interesting is that Cunit
reported this test as
passed and actually it's in background. Other apps looks like ok.
81../sysdeps/unix/syscall-template.S: No suc
From: Bill Fischofer
Signed-off-by: Bill Fischofer
Signed-off-by: Maxim Uvarov
---
CHANGELOG | 177 ++
1 file changed, 177 insertions(+)
diff --git a/CHANGELOG b/CHANGELOG
index 1d652a8..b125d63 100644
--- a/CHANGELOG
+++ b/CHANGELOG
Default is abi compat mode, all interface functions changed,
so increase first number of .so
Signed-off-by: Maxim Uvarov
---
configure.ac | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/configure.ac b/configure.ac
index 7cb0c7a..de634dc 100644
--- a/configure.ac
+++ b/c
original configure.ac enables abi compat mode by default,
even without --enable-abi-compat provided. And has broken
logic to disable abi compat mode. Correct logic to build abi
compat mode and option to disable it. Shared library is not
needed for non abi compat mode, so turn it off.
Signed-off-by
v6: uh, finally we agreed with .so numberding.
added patch to disable shared library for non abi compat mode and corrected
description for configure option.
Bill Fischofer (1):
changelog: summary of changes for odp v1.12.0.0
Maxim Uvarov (2):
configure.ac: disable shared library for n
Signed-off-by: Christophe Milard
---
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 62f5833..078dd7c 100755
--- a/doc/users-gui
Signed-off-by: Christophe Milard
---
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 100644
--- a/platform/linux-generic/_ishm.c
+++ b/
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
---
platform/linux-generic/_ishm.c | 13 +
1 fi
The platform tests odp/test/linux-generic/validation/api/shmem
are updated to both test ODP<->linux process memory sharing, but also test
ODP to ODP (different instances) memory sharing.
shmem_linux is the main test process, and shmem_linux.c contains (at
file top) a chart flow of the test procedur
Implemented by calling the related functions from _ishm.
Signed-off-by: Christophe Milard
---
platform/linux-generic/odp_shared_memory.c | 31 +++---
1 file changed, 28 insertions(+), 3 deletions(-)
diff --git a/platform/linux-generic/odp_shared_memory.c
b/platform/linu
The shmem "sunnydays" tests for the north interface API are replaced with
proper tests, testing memory allocation at different time (before and
after ODP thread creation, i.e. the tests make sure shmem behaves
the same regardless of fork time). The tests also include stress testing
trying to provoq
functionality to export and map memory between ODP instance is added:
This includes:
- a bit of simplification in _odp_ishm_reserve() for externaly provided
file descriptors.
- a new function, _odp_ishm_find_exported() to map memory from
other ODP instances (On same OS)
Signed-off-by: Christop
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)
The flag ODP_SHM_EXPORT is added: when passed at odp_s
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 --git
File platform/linux-generic/include/odp_shm_internal.h exposes shm
internals used by IPC. The bits used by the internal flags are moved
to make room for more "official" values.
The platform/linux-generic/include/odp_shm_internal.h file should really
be removed when _ishm is used, but as long as we
The odp shared_memory API is changed to use the ODP internal memory
allocator: _ishm.
_ishm supports memory sharing between processes, regardless of fork time.
The test testing the ODP_SHM_PROC flag is also changed to cope with the
new OS sharing interface used by _ishm (link in /tmp).
Signed-off-
_ishm.c assumed that both _ishm_init_global() and _ishm_init_local()
had been run to work properly. This assumption turns out the be a problem
if _ishm is to be used as main memory allocator, as many modules
init_global functions assume the availability of the odp_reserve()
function before any init
A new flag called _ODP_ISHM_EXPORT is added to _ishm. When this flag is
specified at reserve() time, an extra file
("/tmp/odp--shm-", where is the process ID of the
main ODP instatiation process and is the block name given at
reserve time) is created, describing to the underlying block attributes
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, there is not
much one can do to prevent that.
But when an new odp session is started, all files prefixed with the opd
prefix ("odp--") can be safely removed as the PID is
since v8:
- commit msg typo fix (Maxim)
- use snprintf() instead of sprintf() (Maxim)
- better handling of error cases (Maxim)
since v7:
- Fix not to use single-va memory when the requirement alignment exactely
matches the page size (Maxim)
- patch to clean-up all odp--
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
---
platform/linux-generic/_ishm.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
dif
On 24 November 2016 at 15:36, Maxim Uvarov 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, there is not
>> much one can do to prevent that.
>> But when an
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, there is not
much one can do to prevent that.
But when an new odp session is started, all files prefixed with the opd
prefix
On 11/24/16 11:24, Christophe Milard wrote:
There is no reason to toggle the _ODP_ISHM_SINGLE_VA flag
when the alignment exactely
exactly
matches the page size.
This just results in wasting the odp-common virtual space
Signed-off-by: Christophe Milard
---
platform/linux-generic/_ishm.c
> -Original Message-
> From: Bala Manoharan [mailto:bala.manoha...@linaro.org]
> Sent: Thursday, November 24, 2016 9:50 AM
> To: Savolainen, Petri (Nokia - FI/Espoo) labs.com>
> Cc: lng-odp-forward
> Subject: Re: [lng-odp] [API-NEXT PATCH] api: ipsec: added IPSEC API
>
> Regards,
> Bal
Hi,
You missed to reply to the list.
No HTML please. Readability of a conversation is especially bad when you reply
in HTML to patches...
From: Honnappa Nagarahalli [mailto:honnappa.nagaraha...@linaro.org]
Sent: Wednesday, November 23, 2016 11:34 PM
To: Savolainen, Petri (Nokia - FI/Espoo)
From: Bill Fischofer [mailto:bill.fischo...@linaro.org]
Sent: Wednesday, November 23, 2016 4:05 PM
To: Savolainen, Petri (Nokia - FI/Espoo)
Cc: lng-odp@lists.linaro.org
Subject: Re: [lng-odp] [API-NEXT PATCHv4 1/7] api: random: replace use_entropy
with odp_rand_kind parameter
On Wed, Nov 23
Could bugzilla spam a dedicated lng-odp-bugs / lng-odp-reports / etc list ?
We'd need only one strictly plain text list - the one that humans use for
patches.
-Petri
> -Original Message-
> From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of Mike
> Holmes
> Sent: Tuesda
Add missing capability check on crypto auth algos
Signed-off-by: Balakrishna Garapati
---
test/common_plat/validation/api/crypto/odp_crypto_test_inp.c | 12
1 file changed, 12 insertions(+)
diff --git a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c
b/test/common_pla
35 matches
Mail list logo