Re: [lng-odp] [PATCH v2] cunit: add shm test

2014-11-25 Thread Jerin Jacob
On Tue, Nov 25, 2014 at 03:39:20PM +0800, yan.songm...@linaro.org wrote: I think if we use other environment. We can't even use any API in odp_linux.h which is used in many file of odp. This photo blew show the file which used 'odph_linux_pthread_create'. There are more than ten places to

Re: [lng-odp] [PATCH v3 8/9] api: odp_atomic.h: struct type, relaxed mm, missing funcs, use __atomic

2014-11-25 Thread Shmulik Ladkani
On Mon, 24 Nov 2014 23:38:49 +0100 Ola Liljedahl ola.liljed...@linaro.org wrote: Use GCC __atomic builtins AFAIK these were introduced in gcc = 4.7 Maybe I'm missing something, but isn't there a portability concern here? Regards, Shmulik ___

Re: [lng-odp] [PATCH v3 8/9] api: odp_atomic.h: struct type, relaxed mm, missing funcs, use __atomic

2014-11-25 Thread Ola Liljedahl
On 25 November 2014 at 09:56, Shmulik Ladkani shmulik.ladk...@gmail.com wrote: On Mon, 24 Nov 2014 23:38:49 +0100 Ola Liljedahl ola.liljed...@linaro.org wrote: Use GCC __atomic builtins AFAIK these were introduced in gcc = 4.7 All usage of non-standard features could cause problems for

Re: [lng-odp] [PATCH v2] cunit: add shm test

2014-11-25 Thread yan.songm...@linaro.org
-There is nothing wrong in existing odph_linux_pthread_create. All I am saying that, Don't allocate -the memory from stack to share the data between different execution context. pthrd_arg thrdarg its from stack, -you can allocate it from odp shared memeory to share between different cores. I

[lng-odp] [PATCH] odp_ipsec: fix odp_crypto_get_operation_compl_status arg order

2014-11-25 Thread alexandru.badicioiu
From: Alexandru Badicioiu alexandru.badici...@linaro.org This fixes https://bugs.linaro.org/show_bug.cgi?id=714. Signed-off-by: Alexandru Badicioiu alexandru.badici...@linaro.org --- example/ipsec/odp_ipsec.c |2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git

Re: [lng-odp] [PATCH v2] cunit: add shm test

2014-11-25 Thread Jerin Jacob
On Tue, Nov 25, 2014 at 06:13:37PM +0800, yan.songm...@linaro.org wrote: -There is nothing wrong in existing odph_linux_pthread_create. All I am saying that, Don't allocate -the memory from stack to share the data between different execution context. pthrd_arg thrdarg its from stack, -you

Re: [lng-odp] [PATCH v2] test: Display implementation version

2014-11-25 Thread Taras Kondratiuk
On 11/24/2014 10:11 PM, Mike Holmes wrote: Signed-off-by: Mike Holmes mike.hol...@linaro.org --- test/validation/odp_crypto.c | 11 +-- test/validation/odp_init.c | 7 --- test/validation/odp_queue.c | 7 +-- 3 files changed, 18 insertions(+), 7 deletions(-) diff --git

Re: [lng-odp] [PATCH] .gitignore: add CUnit-Memory-Dump.xml

2014-11-25 Thread Maxim Uvarov
On 11/25/2014 01:18 AM, Mike Holmes wrote: Does no one else see this ? Files are in the same directory where you run the test. So please remove path from the patch and add others: CUnit-Memory-Dump.xml example/packet/core test/validation/CUnit-Memory-Dump.xml

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Alexandru Badicioiu
I guess any Ethernet interface can be configured to work in loopback mode ( at least with SDK provided tools/functions). Loopback interface applied to HW is confusing - usually loopback is software only; how a HW packet classifier would be tested with a loopback interface? For this purpose a real

Re: [lng-odp] [PATCH] .gitignore: add CUnit-Memory-Dump.xml

2014-11-25 Thread Mike Holmes
On 25 November 2014 at 07:15, Maxim Uvarov maxim.uva...@linaro.org wrote: On 11/25/2014 01:18 AM, Mike Holmes wrote: Does no one else see this ? Files are in the same directory where you run the test. So please remove path from the patch and add others: CUnit-Memory-Dump.xml

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Taras Kondratiuk
On 11/25/2014 02:19 PM, Alexandru Badicioiu wrote: I guess any Ethernet interface can be configured to work in loopback mode ( at least with SDK provided tools/functions). Loopback interface applied to HW is confusing - usually loopback is software only; how a HW packet classifier would be

Re: [lng-odp] [PATCH] .gitignore: add CUnit-Memory-Dump.xml

2014-11-25 Thread Taras Kondratiuk
On 11/25/2014 02:43 PM, Mike Holmes wrote: On 25 November 2014 at 07:15, Maxim Uvarov maxim.uva...@linaro.org mailto:maxim.uva...@linaro.org wrote: On 11/25/2014 01:18 AM, Mike Holmes wrote: Does no one else see this ? Files are in the same directory where you run the test.

[lng-odp] [PATCH v2] .gitignore: add CUnit-Memory-Dump.xml

2014-11-25 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index 9d45504..1572ea5 100644 --- a/.gitignore +++ b/.gitignore @@ -50,3 +50,6 @@ doxygen-doc test-driver test/validation/*.log test/validation/*.trs

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Bala Manoharan
Yes. But for testing the basic pktio APIs which I believe is Maxim's requirement it can be done using loopback interface (configuring a HW interface as loop is an implementation detail) so that there is no need for any HW configuration as such while running the validation suite. Packet classifier

Re: [lng-odp] [PATCH v2] .gitignore: add CUnit-Memory-Dump.xml

2014-11-25 Thread Mike Holmes
Please ignore - we can refactor into multiple .gitignore files On 25 November 2014 at 07:56, Mike Holmes mike.hol...@linaro.org wrote: Signed-off-by: Mike Holmes mike.hol...@linaro.org --- .gitignore | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.gitignore b/.gitignore index

Re: [lng-odp] [PATCH v0] crypto : cunit test suite for rng

2014-11-25 Thread Taras Kondratiuk
On 11/25/2014 12:21 PM, Alexandru Badicioiu wrote: + +/* + * This test verifies that HW random number generator is able + * to produce an IV for TDES_CBC cipher algorithm. + * */ +#define RNG_GET_SIZE RNG_GET_SIZE +static void rng_get_size(void) +{

Re: [lng-odp] [PATCH 2/2] cunit: pktio: mtu and promisc mode

2014-11-25 Thread Ciprian Barbu
On Mon, Nov 24, 2014 at 11:53 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: Add basic check for mtu and promisc modes. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- test/validation/Makefile.am | 4 +- test/validation/odp_pktio.c | 164

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Taras Kondratiuk
On 11/25/2014 03:06 PM, Bala Manoharan wrote: Yes. But for testing the basic pktio APIs which I believe is Maxim's requirement it can be done using loopback interface (configuring a HW interface as loop is an implementation detail) so that there is no need for any HW configuration as such while

Re: [lng-odp] [PATCH 2/2] cunit: pktio: mtu and promisc mode

2014-11-25 Thread Mike Holmes
On 25 November 2014 at 08:16, Ciprian Barbu ciprian.ba...@linaro.org wrote: On Mon, Nov 24, 2014 at 11:53 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: Add basic check for mtu and promisc modes. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- test/validation/Makefile.am |

Re: [lng-odp] [PATCH 2/2] cunit: pktio: mtu and promisc mode

2014-11-25 Thread Ciprian Barbu
On Tue, Nov 25, 2014 at 3:24 PM, Mike Holmes mike.hol...@linaro.org wrote: On 25 November 2014 at 08:16, Ciprian Barbu ciprian.ba...@linaro.org wrote: On Mon, Nov 24, 2014 at 11:53 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: Add basic check for mtu and promisc modes. Signed-off-by:

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Mike Holmes
On 25 November 2014 at 08:17, Taras Kondratiuk taras.kondrat...@linaro.org wrote: On 11/25/2014 03:06 PM, Bala Manoharan wrote: Yes. But for testing the basic pktio APIs which I believe is Maxim's requirement it can be done using loopback interface (configuring a HW interface as loop is an

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Alexandru Badicioiu
What is a self-contained application? An application which uses only ODP calls? Regarding the classification tests and loopbacks, why there's a need for a special kind of ODP loopback interface? Why the following scenario is not acceptable for a test - open a pktio (ethernet), configure it in

Re: [lng-odp] [PATCH v2] test: Display implementation version

2014-11-25 Thread Mike Holmes
On 25 November 2014 at 07:11, Taras Kondratiuk taras.kondrat...@linaro.org wrote: On 11/24/2014 10:11 PM, Mike Holmes wrote: Signed-off-by: Mike Holmes mike.hol...@linaro.org --- test/validation/odp_crypto.c | 11 +-- test/validation/odp_init.c | 7 ---

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Mike Holmes
Lets take it up on the 1.0 API call that is in 1/2 hour On 25 November 2014 at 08:30, Alexandru Badicioiu alexandru.badici...@linaro.org wrote: What is a self-contained application? An application which uses only ODP calls? Regarding the classification tests and loopbacks, why there's a need

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Taras Kondratiuk
On 11/25/2014 03:30 PM, Alexandru Badicioiu wrote: What is a self-contained application? An application which uses only ODP calls? I mean an application that doesn't need any external equipment. Regarding the classification tests and loopbacks, why there's a need for a special kind of ODP

Re: [lng-odp] odp_pktio_open(NULL) return default pktio for platform

2014-11-25 Thread Alexandru Badicioiu
That loopback interface which allows reclassification (i.e. sending packets to a HW classifier from the core) would be an appropriate pktio, opened on a special HW device which is designed for this task. If the packets are returned to the core (this is not mandatory also), it looks like a loopback

[lng-odp] [PATCH 1/2] pktio: mac addr functions

2014-11-25 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- Implement mac function according to pktio log: https://docs.google.com/document/d/1EHU54p3Kaa-hGUG-W7xquDfQb3aSWF3fEtwmcv5Bts8/edit#heading=h.b8vg8t31zjwt platform/linux-generic/include/api/odp_packet_io.h | 24

[lng-odp] [PATCH 2/2] cunit: add mac test

2014-11-25 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- test/validation/odp_pktio.c | 50 + 1 file changed, 50 insertions(+) diff --git a/test/validation/odp_pktio.c b/test/validation/odp_pktio.c index e26d820..fe22050 100644 ---

Re: [lng-odp] [PATCH] API: crypto: Remove unused async API

2014-11-25 Thread Robbie King (robking)
Reviewed-by: Robert King robk...@cisco.com From: lng-odp-boun...@lists.linaro.org [lng-odp-boun...@lists.linaro.org] on behalf of Mike Holmes [mike.hol...@linaro.org] Sent: Monday, November 24, 2014 12:18 PM To: lng-odp@lists.linaro.org Subject: [lng-odp]

[lng-odp] UberConference Reminder

2014-11-25 Thread UberConference
UberConference Reminder___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp

Re: [lng-odp] [PATCH] API: crypto: Remove unused async API

2014-11-25 Thread Maxim Uvarov
Merged, Maxim. On 11/24/2014 08:18 PM, Mike Holmes wrote: For the 1.0 release there are no platforms using the async API. With no way to test these APIs they should be removed until needed. Signed-off-by: Mike Holmes mike.hol...@linaro.org --- platform/linux-generic/include/api/odp_crypto.h

Re: [lng-odp] [PATCH 2/2] platform: debug: Simplify ODP_LOG() macro

2014-11-25 Thread Taras Kondratiuk
On 11/24/2014 02:05 PM, Maxim Uvarov wrote: Do weak symbols work also for dynamic linking? It does work for dynamic libraries also. I've found an issue in ODP_UNIMPLEMENTED() macro. Will post v2. ___ lng-odp mailing list lng-odp@lists.linaro.org

[lng-odp] [PATCHv2 2/2] platform: debug: Simplify ODP_LOG() macro

2014-11-25 Thread Taras Kondratiuk
Move additional functionality out of ODP_LOG. Move abort() call to odp_override_log(), so application will be able to implement custom abort handling. Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org --- platform/linux-generic/include/api/odp_debug.h | 37

[lng-odp] [PATCHv2 1/2] platform: debug: replace fprintf() with odp_override_log()

2014-11-25 Thread Taras Kondratiuk
ODP application may want to override default ODP logging behaviour and use custom logging function. Add a weak odp_override_log() function for this purpose instead of default fprintf(). Signed-off-by: Taras Kondratiuk taras.kondrat...@linaro.org --- platform/linux-generic/Makefile.am

Re: [lng-odp] [PATCH 2/2] Uplevel odp_packet_flags.h and implementation to ODP v1.0 level

2014-11-25 Thread Savolainen, Petri (NSN - FI/Espoo)
The entire patch set: Reviewed-by: Petri Savolainen petri.savolai...@linaro.org -Original Message- From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- boun...@lists.linaro.org] On Behalf Of ext Bill Fischofer Sent: Tuesday, November 18, 2014 12:59 AM To: lng-odp@lists.linaro.org

Re: [lng-odp] ODP Dataplane conference call Agenda

2014-11-25 Thread Mike Holmes
Meeting notes Short meeting with a focus on getting to 1.0 - Plan is for cunit test coverage for 100% API calls ASAP then cut 0.4.0 - Priority - Fix small ODP 1.0 items and cut 0.5.0 - possible additional point releases as the short list of remaining big changes go in. -

Re: [lng-odp] [PATCH v3 0/9] Type-safe and relaxed atomics

2014-11-25 Thread Maxim Uvarov
Patch set is merged. From now we have requirement to use gcc-4.7 and up. For old ubuntu systems you can install new gcc in that way: http://askubuntu.com/questions/113291/how-do-i-install-gcc-4-7 Thanks, Maxim. On 11/25/2014 01:38 AM, Ola Liljedahl wrote: Patch set restructured (thanks git

Re: [lng-odp] [PATCH v3 0/9] Type-safe and relaxed atomics

2014-11-25 Thread Bill Fischofer
Thanks. What's the status on odp_atomic_internal.h? That's what's needed for lockless data structure manipulation. Bill On Tue, Nov 25, 2014 at 9:29 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: Patch set is merged. From now we have requirement to use gcc-4.7 and up. For old ubuntu

Re: [lng-odp] [PATCH v3 0/9] Type-safe and relaxed atomics

2014-11-25 Thread Maxim Uvarov
On 11/25/2014 06:36 PM, Bill Fischofer wrote: Thanks. What's the status on odp_atomic_internal.h? That's what's needed for lockless data structure manipulation. Bill Do you mean odp_spin_internal.h ? It's gone. Maxim. On Tue, Nov 25, 2014 at 9:29 AM, Maxim Uvarov

Re: [lng-odp] [PATCH v3 0/9] Type-safe and relaxed atomics

2014-11-25 Thread Ola Liljedahl
Real soon now. Testing the stuff on ARM. Will then create the patch set and send out. If nothing unexpected happens, expect it to be posted tonight CET. -- Ola On 25 November 2014 at 16:36, Bill Fischofer bill.fischo...@linaro.org wrote: Thanks. What's the status on odp_atomic_internal.h?

Re: [lng-odp] [PATCH 2/2] Uplevel odp_packet_flags.h and implementation to ODP v1.0 level

2014-11-25 Thread Maxim Uvarov
That chunk also needs to go together with api change. Maxim. On 11/25/2014 06:22 PM, Savolainen, Petri (NSN - FI/Espoo) wrote: The entire patch set: Reviewed-by: Petri Savolainen petri.savolai...@linaro.org -Original Message- From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp-

Re: [lng-odp] [PATCH v3 0/9] Type-safe and relaxed atomics

2014-11-25 Thread Ola Liljedahl
odp_atomic_internal.h is a new internal header file with atomic operations with different memory models as required by lock-less programming and when implementing locks. odp_spin_internal.h is gone? Time for me to rebase! -- Ola On 25 November 2014 at 16:41, Maxim Uvarov

[lng-odp] [PATCH] netdev-odp: Use VLOG_ERR instead of ODP_ERR

2014-11-25 Thread Zoltan Kiss
OVS usually ditches stderr and stdout after startup, so logging there won't be effective. Use instead the proper OVS logging facilities. Signed-off-by: Zoltan Kiss zoltan.k...@linaro.org --- lib/netdev-odp.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git

[lng-odp] [PATCH 2/2] linux-generic: odp_pktio_open loop0 support

2014-11-25 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/odp_packet_io.c | 27 +++ 1 file changed, 27 insertions(+) diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index c523350..501b2e9 100644 ---

[lng-odp] [PATCH 1/2] odp_pktio_open loop back interface

2014-11-25 Thread Maxim Uvarov
Define special name for loop back interface. That interface can be used mostly for testing. Each implementation can interpret that loop0 to any other device. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/include/api/odp_packet_io.h | 3 ++- 1 file changed, 2

[lng-odp] [PATCH] check for null pointer in get_entry() return

2014-11-25 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/odp_packet_io.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_packet_io.c b/platform/linux-generic/odp_packet_io.c index c523350..5c8146a 100644 ---

Re: [lng-odp] [PATCH] netdev-odp: Use VLOG_ERR instead of ODP_ERR

2014-11-25 Thread Mike Holmes
Taras is submitting a patch that allows you to replace the output stream for ODP_ERR etc with the applications prefered stream - see https://mail.google.com/mail/u/1/#inbox/149e780e4e57d70c On 25 November 2014 at 11:00, Zoltan Kiss zoltan.k...@linaro.org wrote: OVS usually ditches stderr and

Re: [lng-odp] [PATCH] netdev-odp: Use VLOG_ERR instead of ODP_ERR

2014-11-25 Thread Mike Holmes
That link might not work this thread [lng-odp] [PATCHv2 1/2] platform: debug: replace fprintf() with odp_override_log() On 25 November 2014 at 11:54, Mike Holmes mike.hol...@linaro.org wrote: Taras is submitting a patch that allows you to replace the output stream for ODP_ERR etc with the

[lng-odp] [PATCH] Report #cores on b.L systems

2014-11-25 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- On ARM big.LITTLE systems with cluster switching, return the actual number of currently usable CPU's (e.g. 4, not 8). Trying to bind threads to cores 4..7 will just hang those threads. platform/linux-generic/odp_system_info.c | 2 +- 1

[lng-odp] [PATCH] Remove function name and lines from simple logging function.

2014-11-25 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/include/api/odp_debug.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/platform/linux-generic/include/api/odp_debug.h b/platform/linux-generic/include/api/odp_debug.h index 5c3adde..e853be4

[lng-odp] [PATCH] .gitignore: distribute the ignore file to sub dirs

2014-11-25 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- .gitignore | 23 ++- example/generator/.gitignore | 1 + example/ipsec/.gitignore | 1 + example/l2fwd/.gitignore | 1 + example/odp_example/.gitignore | 1 + example/packet/.gitignore

[lng-odp] [PATCH] INSTALL.ODP: Add info about Debian packaging

2014-11-25 Thread Zoltan Kiss
This makes it easier to deploy OVS with ODP support. Signed-off-by: Zoltan Kiss zoltan.k...@linaro.org --- INSTALL.ODP | 28 1 file changed, 28 insertions(+) diff --git a/INSTALL.ODP b/INSTALL.ODP index 9c36dd1..86cec1f 100644 --- a/INSTALL.ODP +++ b/INSTALL.ODP @@

Re: [lng-odp] [PATCH] Remove function name and lines from simple logging function.

2014-11-25 Thread Mike Holmes
On 25 November 2014 at 12:10, Maxim Uvarov maxim.uva...@linaro.org wrote: Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org Reviewed-and-tested-by: Mike Holmes mike.hol...@linaro.org --- platform/linux-generic/include/api/odp_debug.h | 3 +-- 1 file changed, 1 insertion(+), 2

[lng-odp] [PATCH v2] example/ipsec/odp_ipsec.c: Fix initialization of odph_linux_pthread_t instances

2014-11-25 Thread Shmulik Ladkani
Per-worker 'thread_tbl[i]' instance should be initialized by 'odph_linux_pthread_create()'. However, 'thread_tbl' (the array itself) was accidentally passed to 'odph_linux_pthread_create', re-initializing 'thread_tbl[0]' on each iteration. Furthermore, the iteration is not needed as all threads

Re: [lng-odp] [PATCH] Report #cores on b.L systems

2014-11-25 Thread Mike Holmes
On 25 November 2014 at 12:03, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org Works on x86 - reported the correct number of cores available http://www.gnu.org/software/libc/manual/html_node/Processor-Resources.html So I assume it fixes the

[lng-odp] [PATCH] api: odp_atomic.h: doxygen fix

2014-11-25 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- platform/linux-generic/include/api/odp_atomic.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-generic/include/api/odp_atomic.h b/platform/linux-generic/include/api/odp_atomic.h index de9d91c..9eebb86

Re: [lng-odp] [PATCH] api: odp_atomic.h: doxygen fix

2014-11-25 Thread Mike Holmes
On 25 November 2014 at 15:38, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org Reviewed-and-tested-by: Mike Holmes mike.hol...@linaro.org --- platform/linux-generic/include/api/odp_atomic.h | 2 +- 1 file changed, 1 insertion(+), 1

Re: [lng-odp] [PATCH] Report #cores on b.L systems

2014-11-25 Thread Ola Liljedahl
On 25 November 2014 at 21:07, Mike Holmes mike.hol...@linaro.org wrote: On 25 November 2014 at 12:03, Ola Liljedahl ola.liljed...@linaro.org wrote: Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org Works on x86 - reported the correct number of cores available

[lng-odp] [PATCH] DEPENDENCIES: Update CUnit instructions

2014-11-25 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- DEPENDENCIES | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index f70a1d4..11452ff 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -78,23 +78,33 @@ Prerequisites for building

[lng-odp] [PATCH v2] DEPENDENCIES: Update CUnit instructions

2014-11-25 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- Add t to ar.bz2 DEPENDENCIES | 18 ++ 1 file changed, 14 insertions(+), 4 deletions(-) diff --git a/DEPENDENCIES b/DEPENDENCIES index f70a1d4..bc39889 100644 --- a/DEPENDENCIES +++ b/DEPENDENCIES @@ -78,23 +78,33 @@

[lng-odp] [PATCH 1/4] linux-generic: odp_atomic_internal.h: C11-style 32/64-bit/pointer/flag atomics

2014-11-25 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Operations (including exchange and compare-and-exchange) with specified C11-based memory models on odp_atomic_u32_t and odp_atomic_u64_t. odp_atomic_ptr_t definition and operations (init, load, store, exchange). odp_atomic_flag_t

[lng-odp] [PATCH 2/4] linux-generic: odp_barrier.h: use odp_atomic_internal.h

2014-11-25 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Use definitions from odp_atomic_internal.h. platform/linux-generic/odp_barrier.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/platform/linux-generic/odp_barrier.c b/platform/linux-generic/odp_barrier.c index

[lng-odp] [PATCH 4/4] linux-generic: odp_spinlock[ch]: use odp_atomic_internal.h

2014-11-25 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Use definitions from odp_atomic_internal.h. platform/linux-generic/include/api/odp_spinlock.h | 2 +- platform/linux-generic/odp_spinlock.c | 17 +++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git

[lng-odp] [PATCH 3/4] linux-generic: odp_rwlock[ch]: use odp_atomic_internal.h

2014-11-25 Thread Ola Liljedahl
Signed-off-by: Ola Liljedahl ola.liljed...@linaro.org --- Use definitions from odp_atomic_internal.h. platform/linux-generic/include/api/odp_rwlock.h | 4 ++- platform/linux-generic/odp_rwlock.c | 35 - 2 files changed, 20 insertions(+), 19 deletions(-) diff

[lng-odp] [PATCH v3] cunit: add shm test

2014-11-25 Thread Yan Sonming
Add odp_cunit_common.c for common cunit function and add the cunit test for the api in odp_share_memory.h which include the new api implement odp_shm_free. Signed-off-by: Yan Songming yan.songm...@linaro.org --- v3 change common file to test/common and fix the problem Jerin found. v2 fix some

Re: [lng-odp] [PATCH v1 5/5] Classification: APIs deferred from ODP v1.0

2014-11-25 Thread Bala Manoharan
Hi Mike, As you know these classification patches was submitted as being interdependent on each other. But sure I can redo this specific patch to be independently compilable unit. Also it would be great if I could get review comments on classification implementation patches so that I can fix any

Re: [lng-odp] [PATCH v1 3/5] Linux-generic: Pktio changes for Classification

2014-11-25 Thread Bala Manoharan
Hi, Pls let me know if there are any additional comments for this patch. If otherwise please provide reviewed-by Regards, Bala On 25 November 2014 03:24, Anders Roxell anders.rox...@linaro.org wrote: On 24 November 2014 at 22:45, Bill Fischofer bill.fischo...@linaro.org wrote: Again, this