[lng-odp] [PATCHv2 1/2] checkpatch: add spelling.txt

2015-06-01 Thread Maxim Uvarov
Add linux kernel spelling.txt file to detect common typos. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- scripts/spelling.txt | 1043 ++ 1 file changed, 1043 insertions(+) create mode 100644 scripts/spelling.txt diff --git

Re: [lng-odp] [PATCH] linux-generic: timer: use plain buffers for timeouts

2015-06-01 Thread Ola Liljedahl
If I understand your patch correctly, a timeout event is really a buffer with the timeout-specific header stored just after the buffer header (as before). You don't change the definition of odp_timeout_hdr_t and the implementation of odp_timeout_hdr(odp_buffer_t buf) has just moved from

[lng-odp] [PATCHv2 0/2] checkpatch: turn on spelling checks

2015-06-01 Thread Maxim Uvarov
v2: 1) do not add codespell depandancy to configure.ac 2) simplify description that spelling.txt was taken from linux kernel. Maxim Uvarov (2): checkpatch: add spelling.txt checkpatch: use codespell for odp .checkpatch.conf |1 + scripts/spelling.txt | 1043

[lng-odp] Weekly Public Call Update - Important

2015-06-01 Thread Bill Fischofer
Please note that beginning tomorrow, June 2nd, we are moving the ODP weekly call to Blue Jeans to address some of the audio issues we were having with Uberconference. The time of the call is unchanged: 15:00 UTC every Tuesday. A redirector has been set up, so to attend just point your web

[lng-odp] [PATCHv2 2/2] checkpatch: use codespell for odp

2015-06-01 Thread Maxim Uvarov
Turn on spelling checks with codespell tool. Tool can be installed with apt-get install codespell. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- .checkpatch.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/.checkpatch.conf b/.checkpatch.conf index 9076410..17fcea6 100644 ---

[lng-odp] [PATCHv7 5/5] ipc: example app

2015-06-01 Thread Maxim Uvarov
Simple example app creates one packet i/o to external interface and one ipc pktio to other process. Then transfer packet from external interface to other process and back thought ipc queue. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- configure.ac| 1 +

[lng-odp] [PATCHv7 0/5] IPC (pktio)

2015-06-01 Thread Maxim Uvarov
v7: - 1. do pool_create things more accurate. Pass shm flags internal where is needed. Do not allocate shm before because Bill already posted patch to remove shm from odp_pool_create. 2. Rework example application: remove time stamps. Add sequence counter and magic

[lng-odp] [PATCHv7 4/5] linux-generic: add ipc pktio support

2015-06-01 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- helper/include/odp/helper/ring.h | 7 +- helper/ring.c | 3 +- platform/linux-generic/Makefile.am | 3 + .../linux-generic/include/odp_buffer_internal.h| 3 +

Re: [lng-odp] [PATCHv2] apply-and-build.sh: cosmetic fix

2015-06-01 Thread Anders Roxell
On 2015-05-29 12:58, Christophe Milard wrote: function apply_patch() now returns a status rather than directely breaking the loop of its caller. (for loop in main, continue statment in apply_patch()) Signed-off-by: Christophe Milard christophe.mil...@linaro.org --- apply-and-build.sh | 7

Re: [lng-odp] [PATCHv2] apply-and-build.sh: fixing cover-letter issue

2015-06-01 Thread Anders Roxell
On 2015-05-29 12:58, Christophe Milard wrote: When an empty patch (such as a cover letter) was given to apply-and-build, the latter would fail applying the patch and all following patches (saying OK when it could be wrong) Signed-off-by: Christophe Milard christophe.mil...@linaro.org ---

[lng-odp] [PATCHv7 1/5] linux-generic: zero params for pool create

2015-06-01 Thread Maxim Uvarov
Adding more params to pool create breaks original work. Make sure that not set params are zero. Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/odp_schedule.c | 1 + test/validation/odp_queue.c | 1 + 2 files changed, 2 insertions(+) diff --git

[lng-odp] [PATCHv7 3/5] linux-generic: create internal pool create function with shm flags

2015-06-01 Thread Maxim Uvarov
On init odp creates odp_sched_pool. We can not modify API to add new parameter to odp_pool_param_t and this pool should not be shared between different processes. To do that implemented internal linux-generic function with parameters to created shm. Note: create shm before and then provide it to

[lng-odp] [PATCHv7 2/5] api ipc: update ring with shm proc argument

2015-06-01 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- helper/include/odp/helper/ring.h | 2 ++ helper/ring.c| 9 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/helper/include/odp/helper/ring.h b/helper/include/odp/helper/ring.h index

[lng-odp] [PATCH] test: pktio_perf: add support for batch reception

2015-06-01 Thread Nicolas Morey-Chaisemartin
Signed-off-by: Nicolas Morey-Chaisemartin nmo...@kalray.eu --- test/performance/odp_pktio_perf.c | 72 +-- 1 file changed, 54 insertions(+), 18 deletions(-) diff --git a/test/performance/odp_pktio_perf.c b/test/performance/odp_pktio_perf.c index

Re: [lng-odp] [PATCH 0/6] validation: pktio test move to platform side

2015-06-01 Thread Maxim Uvarov
Hello Christophe, I just added few tests cases which we tested with Ciprian for current version. I think you don't need to remove from PATH original directories. Comments are: 1. I don't like that name. _main is not needed: ./test/validation/pktio/pktio_main 2. Then I run ./scripts/builddeb

Re: [lng-odp] [PATCHv2 0/2] checkpatch: turn on spelling checks

2015-06-01 Thread Ola Liljedahl
On 1 June 2015 at 14:58, Maxim Uvarov maxim.uva...@linaro.org wrote: v2: 1) do not add codespell depandancy to configure.ac You need to add depandancy to spelling.txt. 2) simplify description that spelling.txt was taken from linux kernel. Maxim Uvarov (2): checkpatch: add

Re: [lng-odp] [PATCHv2 0/2] checkpatch: turn on spelling checks

2015-06-01 Thread Maxim Uvarov
On 06/01/15 17:14, Ola Liljedahl wrote: On 1 June 2015 at 14:58, Maxim Uvarov maxim.uva...@linaro.org mailto:maxim.uva...@linaro.org wrote: v2: 1) do not add codespell depandancy to configure.ac http://configure.ac You need to add depandancy to spelling.txt. yes :) Maxim.

Re: [lng-odp] [API-NEXT PATCH v2 0/4] Init API and thread type

2015-06-01 Thread Maxim Uvarov
On 05/29/15 14:06, Savolainen, Petri (Nokia - FI/Espoo) wrote: Ping. Petri can you please reply on Bills comment? I think some more info is needed why do we need that changes. Thank you, Maxim. -Original Message- From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf