Re: [lng-odp] 128-bit tagged Pointer patch

2015-03-02 Thread Bill Fischofer
What Mike said, plus since linux-generic isn't a performance target the simple code is easier to follow as a reference implementation example. That being said, one of the things we will be focusing on this year now that v1.0 is behind us is performance measurement and tuning at scale. So This is

Re: [lng-odp] [PATCH v2] linux-generic: thread: reuse thread ids

2015-03-02 Thread Bill Fischofer
On Mon, Mar 2, 2015 at 8:45 AM, Petri Savolainen petri.savolai...@linaro.org wrote: Scheduler validation test failed on a 28 thread machine since it creates and terminates many threads during a test run. Linux-generix implementation did not reuse thread IDs but run out of threads. Thread

Re: [lng-odp] [PATCH v1] validation: classification: pktio skip value set to zero

2015-03-02 Thread Bill Fischofer
On Fri, Feb 27, 2015 at 1:12 AM, bala.manoha...@linaro.org wrote: From: Balasubramanian Manoharan bala.manoha...@linaro.org odp_pktio_skip_set() value is reset to zero as the validation suite expects the skip value to be zero. Fixes https://bugs.linaro.org/show_bug.cgi?id=1230

Re: [lng-odp] [PATCH v1] validation: classification: destroy pktio default inqueue during teardown

2015-03-02 Thread Bill Fischofer
On Fri, Feb 27, 2015 at 8:15 AM, bala.manoha...@linaro.org wrote: From: Balasubramanian Manoharan bala.manoha...@linaro.org Destroys pktio default inqueue for a clean odp_classification_term_global() Fixes https://bugs.linaro.org/show_bug.cgi?id=1281 Signed-off-by: Balasubramanian Manoharan

[lng-odp] 128-bit tagged Pointer patch

2015-03-02 Thread Geoffrey Blake
Hi all, I see that Bill reverted the global buffer allocator to using normal spin/ticketlocks in the run-up to releasing v1.0 of ODP, is the tagged pointer patch going to be dropped for the time being? I'll keep it in my tree and resubmit if I see a performance case for it in the future on

Re: [lng-odp] API: odp_schedule() and odp_schedule_multi()

2015-03-02 Thread Bill Fischofer
The only thing the API specifies is that the returned number of events will be less than or equal to the specified N and that these will be from a single queue (since there is only a single from output parameter). Everything else is up to the implementation. Most HW schedulers will likely always

[lng-odp] [PATCH v2] linux-generic: thread: reuse thread ids

2015-03-02 Thread Petri Savolainen
Scheduler validation test failed on a 28 thread machine since it creates and terminates many threads during a test run. Linux-generix implementation did not reuse thread IDs but run out of threads. Thread ids are protected with a lock and new alloc/free rutines reuse thread IDs. Fixes

[lng-odp] [Bug 1294] New: Thread IDs are not reused

2015-03-02 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1294 Bug ID: 1294 Summary: Thread IDs are not reused Product: OpenDataPlane Version: 0.11 Hardware: Other OS: Linux Status: UNCONFIRMED Severity: major

Re: [lng-odp] API: odp_schedule() and odp_schedule_multi()

2015-03-02 Thread Savolainen, Petri (Nokia - FI/Espoo)
-Original Message- From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- boun...@lists.linaro.org] On Behalf Of ext Ola Liljedahl Sent: Saturday, February 28, 2015 4:52 PM To: Sunil Kumar Kori Cc: lng-odp@lists.linaro.org Subject: Re: [lng-odp] API: odp_schedule() and

Re: [lng-odp] API: odp_schedule() and odp_schedule_multi()

2015-03-02 Thread Ola Liljedahl
On 2 March 2015 at 09:29, Savolainen, Petri (Nokia - FI/Espoo) petri.savolai...@nokia.com wrote: -Original Message- From: lng-odp-boun...@lists.linaro.org [mailto:lng-odp- boun...@lists.linaro.org] On Behalf Of ext Ola Liljedahl Sent: Saturday, February 28, 2015 4:52 PM To: Sunil

[lng-odp] [PATCH] linux-generic: thread: reuse thread ids

2015-03-02 Thread Petri Savolainen
Scheduler validation test failed on a 28 thread machine since it creates and terminates many threads during a test run. Linux-generix implementation did not reuse thread IDs but run out of threads. Thread ids are protected with a lock and new alloc/free rutines reuse thread IDs. Signed-off-by:

Re: [lng-odp] [PATCH] validation: crypto: split crypto and random tests

2015-03-02 Thread Taras Kondratiuk
On 02/26/2015 05:45 PM, Mike Holmes wrote: We need to throttle change in 1.0 to only ODP API only now. This should go in 1.0.1 Can this be merged now? ___ lng-odp mailing list lng-odp@lists.linaro.org http://lists.linaro.org/mailman/listinfo/lng-odp

[lng-odp] [PATCHv2] linux-generic: mmap: jumbo frames support

2015-03-02 Thread Maxim Uvarov
Support for jumbo frames for linux-generic with unsegmented buffers. Test for pkio is also adjusted to work with 9*1024=9216 bytes packets. https://bugs.linaro.org/show_bug.cgi?id=509 Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- v2: separate test for jumbo frames.

Re: [lng-odp] [PATCH] validation: crypto: split crypto and random tests

2015-03-02 Thread Mike Holmes
Open season on 1.0.1 :) On 2 March 2015 at 10:55, Taras Kondratiuk taras.kondrat...@linaro.org wrote: On 02/26/2015 05:45 PM, Mike Holmes wrote: We need to throttle change in 1.0 to only ODP API only now. This should go in 1.0.1 Can this be merged now? -- *Mike Holmes* Linaro Sr

[lng-odp] [PATCH NETMAP 05/12] linux-netmap: pktio: remove unused ioctl code

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/include/odp_packet_netmap.h | 2 -- platform/linux-netmap/odp_packet_netmap.c | 27 +++ 2 files changed, 3 insertions(+), 26 deletions(-) diff --git

[lng-odp] [PATCH NETMAP 03/12] linux-netmap: update to netmap_v11.1

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/Makefile.am | 2 + platform/linux-netmap/README | 76 --- platform/linux-netmap/include/odp_packet_netmap.h | 2 +- 3 files changed, 57 insertions(+), 23

[lng-odp] [PATCH NETMAP 06/12] linux-netmap: pktio: set POLL_TMO to 0 to poll without blocking

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/odp_packet_netmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platform/linux-netmap/odp_packet_netmap.c b/platform/linux-netmap/odp_packet_netmap.c index 91b7f68..bd864b5 100644 ---

[lng-odp] [PATCH NETMAP 08/12] linux-netmap: pktio: use single mmap address for all pktios

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/odp_packet_netmap.c | 25 - 1 file changed, 24 insertions(+), 1 deletion(-) diff --git a/platform/linux-netmap/odp_packet_netmap.c b/platform/linux-netmap/odp_packet_netmap.c index

[lng-odp] [PATCH NETMAP 12/12] linux-netmap: pktio: poll only when needed

2015-03-02 Thread Ciprian Barbu
Calling poll each time in send and recv routines has its cost, calling poll only when needed gives a better performance with the cost of possibly losing some frames on the TX side. Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/odp_packet_netmap.c | 26

[lng-odp] [PATCH NETMAP 11/12] linux-netmap: pktio: add per device RX and TX locks

2015-03-02 Thread Ciprian Barbu
These locks ensure exclusive access to netmap rings when at least two different pktios are opened for the same interface. Exclusive access to pktio instance is already guaranteed via lock_entry and unlock_entry. Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org ---

[lng-odp] [PATCH NETMAP 04/12] linux-netmap: pktio: cosmetic changes

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/include/odp_packet_netmap.h | 10 ++-- platform/linux-netmap/odp_packet_netmap.c | 64 +++ 2 files changed, 36 insertions(+), 38 deletions(-) diff --git

[lng-odp] [PATCH NETMAP 09/12] linux-netmap: pktio: keep track of opened netmap interfaces

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/include/odp_packet_netmap.h | 11 - platform/linux-netmap/odp_packet_netmap.c | 30 --- 2 files changed, 36 insertions(+), 5 deletions(-) diff --git

[lng-odp] [PATCH NETMAP 10/12] linux-netmap: pktio: refactor packet I/O using existing APIs

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/include/odp_packet_netmap.h | 4 - platform/linux-netmap/odp_packet_netmap.c | 218 +++--- 2 files changed, 71 insertions(+), 151 deletions(-) diff --git

[lng-odp] [PATCH NETMAP 07/12] linux-netmap: add odp_netmap_init_global

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/Makefile.am| 2 +- platform/linux-netmap/include/odp_internal.h | 51 +++ platform/linux-netmap/odp_init.c | 96

[lng-odp] [PATCH NETMAP 02/12] linux-netmap: pktio: fix invalid ring crash

2015-03-02 Thread Ciprian Barbu
Signed-off-by: Ciprian Barbu ciprian.ba...@linaro.org --- platform/linux-netmap/odp_packet_netmap.c | 6 ++ 1 file changed, 6 insertions(+) diff --git a/platform/linux-netmap/odp_packet_netmap.c b/platform/linux-netmap/odp_packet_netmap.c index 6243040..47a15cb 100644 ---