[lng-odp] [PATCH] travis: several tries to download cunit

2017-01-27 Thread Maxim Uvarov
some time curl fails to download cunit from sf.net or it's mirrors. Try 10 times with 1 second delay. Signed-off-by: Maxim Uvarov --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 03e61b18..363c1b3f 100644 --- a/.travis.yml +++ b/

Re: [lng-odp] [PATCH 0/2] test: linux-gen: vlan insertion: fixes

2017-01-27 Thread Maxim Uvarov
Merged, Maxim. On 01/27/17 17:51, Bill Fischofer wrote: > Ok, if you want to handle it that way. > > For this series: > > Reviewed-and-tested-by: Bill Fischofer > > On Fri, Jan 27, 2017 at 8:12 AM, Maxim Uvarov wrote: >> git am -3 *.patch >> >> -3 correctly applies on top of current master. >

Re: [lng-odp] [PATCHv3 1/2] helper: fix compilation with warnings

2017-01-27 Thread Maxim Uvarov
Merged, Maxim. On 01/27/17 18:47, Mike Holmes wrote: > > > On 27 January 2017 at 10:43, Maxim Uvarov > wrote: > > On 01/27/17 18:40, Mike Holmes wrote: > > One nit below on formatting. > > > > On 27 January 2017 at 10:19, Maxim Uvarov

Re: [lng-odp] [PATCHv3 1/2] helper: fix compilation with warnings

2017-01-27 Thread Mike Holmes
On 27 January 2017 at 10:43, Maxim Uvarov wrote: > On 01/27/17 18:40, Mike Holmes wrote: > > One nit below on formatting. > > > > On 27 January 2017 at 10:19, Maxim Uvarov > > wrote: > > > > After turning on lost CFLAGS for checking errors, > > following t

Re: [lng-odp] [PATCHv3 1/2] helper: fix compilation with warnings

2017-01-27 Thread Maxim Uvarov
On 01/27/17 18:40, Mike Holmes wrote: > One nit below on formatting. > > On 27 January 2017 at 10:19, Maxim Uvarov > wrote: > > After turning on lost CFLAGS for checking errors, > following things needs to be corrected to make code > compile. > >

Re: [lng-odp] [PATCHv3 1/2] helper: fix compilation with warnings

2017-01-27 Thread Mike Holmes
One nit below on formatting. On 27 January 2017 at 10:19, Maxim Uvarov wrote: > After turning on lost CFLAGS for checking errors, > following things needs to be corrected to make code > compile. > > Signed-off-by: Maxim Uvarov > Reviewed-by: Mike Holmes > --- > v3: fix gcc compilation > v

[lng-odp] [PATCHv3 2/2] configure.ac: helper: print debug config option

2017-01-27 Thread Maxim Uvarov
Add debug pritn config option for helper and do not drop configure options for building helper. Signed-off-by: Maxim Uvarov --- configure.ac| 10 ++ helper/Makefile.am | 2 +- helper/odph_debug.h | 4 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/configu

[lng-odp] [PATCHv3 1/2] helper: fix compilation with warnings

2017-01-27 Thread Maxim Uvarov
After turning on lost CFLAGS for checking errors, following things needs to be corrected to make code compile. Signed-off-by: Maxim Uvarov --- v3: fix gcc compilation v2: rebase helper/chksum.c| 4 ++-- helper/cuckootable.c | 49 - he

Re: [lng-odp] updated power API proposal

2017-01-27 Thread Bill Fischofer
Thanks. I'll look this over and I've added this to the agenda for Monday's ARCH call. On Fri, Jan 27, 2017 at 7:24 AM, Ola Liljedahl wrote: > On 27 January 2017 at 14:22, Ola Liljedahl wrote: > >> Anyone with a linaro.org email address should now be able to access the >> document and make commen

Re: [lng-odp] [PATCH 0/2] test: linux-gen: vlan insertion: fixes

2017-01-27 Thread Bill Fischofer
Ok, if you want to handle it that way. For this series: Reviewed-and-tested-by: Bill Fischofer On Fri, Jan 27, 2017 at 8:12 AM, Maxim Uvarov wrote: > git am -3 *.patch > > -3 correctly applies on top of current master. > > Maxim. > > On 01/27/17 17:04, Bill Fischofer wrote: >> Maxim, I tried t

Re: [lng-odp] [PATCH] example: hello: ask odp for available core

2017-01-27 Thread Maxim Uvarov
Merged, Maxim. On 01/27/17 16:34, Mike Holmes wrote: > > > On 19 January 2017 at 09:34, Maxim Uvarov > wrote: > > Core 0 might be not available and app should > ask for available core before pinning to it. > https://bugs.linaro.org/show_bug.cgi?id=28

Re: [lng-odp] [PATCH] travis: add netmap pktio tests

2017-01-27 Thread Maxim Uvarov
ping On 01/21/17 22:15, Maxim Uvarov wrote: > previusly we missed running tests under root, so we did not > run pktio afpacket mmap and dpdk and tests based on veth. > Netmap also requires root to bing up virtual interfaces. > > Signed-off-by: Maxim Uvarov > --- > This patch should go after Mat

[lng-odp] [API-NEXT PATCH 15/15] linux-gen: support older libconfig version

2017-01-27 Thread Maxim Uvarov
Travis CI uses old libconfig8 amd64 1.3.2-2ubuntu2, which does not have defines for errors. Move error print under ifdef to fix compilation. Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_init.c | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/platform/linux-

[lng-odp] [API-NEXT PATCH 14/15] merge fix: test/common_plat/validation/api/packet/packet.c

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- test/common_plat/validation/api/packet/packet.c | 483 1 file changed, 483 deletions(-) diff --git a/test/common_plat/validation/api/packet/packet.c b/test/common_plat/validation/api/packet/packet.c index f62227ab..41a4c878 100644 --- a/t

[lng-odp] [API-NEXT PATCH 12/15] merge fix: odp_crypto_test_inp.c

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- .../validation/api/crypto/odp_crypto_test_inp.c| 43 -- 1 file changed, 43 deletions(-) diff --git a/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c b/test/common_plat/validation/api/crypto/odp_crypto_test_inp.c index 66d61486

[lng-odp] [API-NEXT PATCH 13/15] merge fix: test/common_plat/validation/api/packet/packet.h

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- test/common_plat/validation/api/packet/packet.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/common_plat/validation/api/packet/packet.h b/test/common_plat/validation/api/packet/packet.h index 95923bc2..783b7a11 100644 --- a/test/common_plat/validatio

[lng-odp] [API-NEXT PATCH 11/15] merge fix: odp_schedule_sp.c

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_schedule_sp.c | 36 1 file changed, 36 deletions(-) diff --git a/platform/linux-generic/odp_schedule_sp.c b/platform/linux-generic/odp_schedule_sp.c index 56088bd8..1bc33eb2 100644 --- a/platform/linux-g

[lng-odp] [API-NEXT PATCH 00/15] Merge tag 'v1.13.0.0' into api-next

2017-01-27 Thread Maxim Uvarov
Please review merge conflicts resolution for merge v1.13.0.0 into api-next branch. Full merge is here: https://github.com/muvarov/odp/commits/api-next Conflicts can be found in approriate commit itself: https://github.com/muvarov/odp/commit/ce824cbd747aa7d86200a4ddc1004f15d535932b Git access is

[lng-odp] [API-NEXT PATCH 08/15] merge fix: odp_packet.c

2017-01-27 Thread Maxim Uvarov
--- platform/linux-generic/odp_packet.c | 513 1 file changed, 513 deletions(-) diff --git a/platform/linux-generic/odp_packet.c b/platform/linux-generic/odp_packet.c index 12981495..170965ac 100644 --- a/platform/linux-generic/odp_packet.c +++ b/platform/lin

[lng-odp] [API-NEXT PATCH 09/15] merge fix: odp_queue.c

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_queue.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/platform/linux-generic/odp_queue.c b/platform/linux-generic/odp_queue.c index 37fa99d5..66086959 100644 --- a/platform/linux-generic/odp_queue.c +++ b/platform/linux-generic/o

[lng-odp] [API-NEXT PATCH 07/15] merge fix: odp_init.c

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- platform/linux-generic/odp_init.c | 12 1 file changed, 12 deletions(-) diff --git a/platform/linux-generic/odp_init.c b/platform/linux-generic/odp_init.c index 94e06319..2cd8fe3f 100644 --- a/platform/linux-generic/odp_init.c +++ b/platform/linux-ge

[lng-odp] [API-NEXT PATCH 06/15] merge fix: odp_packet_internal.h

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- .../linux-generic/include/odp_packet_internal.h| 25 -- 1 file changed, 25 deletions(-) diff --git a/platform/linux-generic/include/odp_packet_internal.h b/platform/linux-generic/include/odp_packet_internal.h index 9ba5b58b..c5dc989d 10064

[lng-odp] [API-NEXT PATCH 05/15] merge fix: odp_schedule_if.h

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- platform/linux-generic/include/odp_schedule_if.h | 6 -- 1 file changed, 6 deletions(-) diff --git a/platform/linux-generic/include/odp_schedule_if.h b/platform/linux-generic/include/odp_schedule_if.h index d1cbf988..530d157f 100644 --- a/platform/linux-gener

[lng-odp] [API-NEXT PATCH 04/15] merge fix: odp_config_internal.h

2017-01-27 Thread Maxim Uvarov
--- .../linux-generic/include/odp_config_internal.h| 66 ++ 1 file changed, 16 insertions(+), 50 deletions(-) diff --git a/platform/linux-generic/include/odp_config_internal.h b/platform/linux-generic/include/odp_config_internal.h index 64996f85..dadd59e7 100644 --- a/pla

[lng-odp] [API-NEXT PATCH 03/15] merge fix: _ishm

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- platform/linux-generic/_ishm.c| 21 - platform/linux-generic/include/odp_internal.h | 6 -- 2 files changed, 27 deletions(-) diff --git a/platform/linux-generic/_ishm.c b/platform/linux-generic/_ishm.c index 038ba1e6..4c257

[lng-odp] [API-NEXT PATCH 01/15] merge fix: platform/linux-generic/Makefile.am

2017-01-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov --- platform/linux-generic/Makefile.am | 16 +--- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/platform/linux-generic/Makefile.am b/platform/linux-generic/Makefile.am index e791603c..90024bda 100644 --- a/platform/linux-generic/Makefile.am

[lng-odp] [API-NEXT PATCH 02/15] merge fix: doc/driver-api-guide/Doxyfile

2017-01-27 Thread Maxim Uvarov
--- doc/driver-api-guide/Doxyfile | 10 -- 1 file changed, 10 deletions(-) diff --git a/doc/driver-api-guide/Doxyfile b/doc/driver-api-guide/Doxyfile index e3d3f920..b5f7260e 100644 --- a/doc/driver-api-guide/Doxyfile +++ b/doc/driver-api-guide/Doxyfile @@ -5,7 +5,6 @@ PROJECT_NUMBER = $(

[lng-odp] [PATCHv2 2/2] configure.ac: helper: print debug config option

2017-01-27 Thread Maxim Uvarov
Add debug pritn config option for helper and do not drop configure options for building helper. Signed-off-by: Maxim Uvarov --- configure.ac| 10 ++ helper/Makefile.am | 2 +- helper/odph_debug.h | 4 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/configu

Re: [lng-odp] [PATCH 0/2] test: linux-gen: vlan insertion: fixes

2017-01-27 Thread Maxim Uvarov
git am -3 *.patch -3 correctly applies on top of current master. Maxim. On 01/27/17 17:04, Bill Fischofer wrote: > Maxim, I tried to apply but part 2 fails with: > > Applying: test: linux-gen: vlan insertion: reduce memory pool > Checking patch test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c..

Re: [lng-odp] [PATCH 0/2] test: linux-gen: vlan insertion: fixes

2017-01-27 Thread Bill Fischofer
Maxim, I tried to apply but part 2 fails with: Applying: test: linux-gen: vlan insertion: reduce memory pool Checking patch test/linux-generic/mmap_vlan_ins/mmap_vlan_ins.c... error: while searching for: #include #include #define POOL_NUM_PKT 8192 #define POOL_SEG_LEN 1856 #define MAX_PKT_BURST

[lng-odp] [PATCHv2 1/2] helper: fix compilation with warnings

2017-01-27 Thread Maxim Uvarov
After turning on lost CFLAGS for checking errors, following things needs to be corrected to make code compile. Signed-off-by: Maxim Uvarov --- v2: rebase helper/chksum.c| 4 ++-- helper/cuckootable.c | 49 - helper/hashtable.c | 42

Re: [lng-odp] [PATCH] example: add IPv4 fragmentation/reassembly example

2017-01-27 Thread Ola Liljedahl
On 26 January 2017 at 16:56, Maxim Uvarov wrote: > On 01/26/17 18:27, Ola Liljedahl wrote: > > > > > > On 26 January 2017 at 15:19, Joe Savage > > wrote: > > > > > >> It will be very helpful if rehe was some README with > description about > > > >> this app, ru

Re: [lng-odp] [PATCH 0/2] test: linux-gen: vlan insertion: fixes

2017-01-27 Thread Maxim Uvarov
ping! On 12/23/16 18:19, Maxim Uvarov wrote: > Fix nasty background process leaks which eat 1.5Gb. Looks > like kill command is also not prefered to be used because > it has different syntax for various signal options in different > envoronments (bash, dash, busybox etc). > > Also veth patch is p

Re: [lng-odp] [PATCH] example: hello: ask odp for available core

2017-01-27 Thread Mike Holmes
On 19 January 2017 at 09:34, Maxim Uvarov wrote: > Core 0 might be not available and app should > ask for available core before pinning to it. > https://bugs.linaro.org/show_bug.cgi?id=2806 > > Signed-off-by: Maxim Uvarov > Reviewed-by: Mike Holmes > --- > example/hello/odp_hello.c | 15 ++

Re: [lng-odp] [PATCH] example: hello: ask odp for available core

2017-01-27 Thread Maxim Uvarov
ping. On 01/19/17 17:34, Maxim Uvarov wrote: > Core 0 might be not available and app should > ask for available core before pinning to it. > https://bugs.linaro.org/show_bug.cgi?id=2806 > > Signed-off-by: Maxim Uvarov > --- > example/hello/odp_hello.c | 15 ++- > 1 file changed, 10

Re: [lng-odp] updated power API proposal

2017-01-27 Thread Ola Liljedahl
On 27 January 2017 at 14:22, Ola Liljedahl wrote: > Anyone with a linaro.org email address should now be able to access the > document and make comments. > I am revoking access for m...@holmesfamily.ws > Other people can request access as well, I will add them individually. > > -- Ola > > On 2

Re: [lng-odp] updated power API proposal

2017-01-27 Thread Ola Liljedahl
Anyone with a linaro.org email address should now be able to access the document and make comments. I am revoking access for m...@holmesfamily.ws -- Ola On 27 January 2017 at 14:06, Sergei Trofimov wrote: > Hi Mike, > > The document is on Google Doc here: > > https://docs.google.com/document/d/

Re: [lng-odp] updated power API proposal

2017-01-27 Thread Sergei Trofimov
Hi Mike, The document is on Google Doc here: https://docs.google.com/document/d/1I7dmnbHRb1AYpHEibjfVvW1K2juHM0YB5MmPwS2T_98/ Cheers, Sergei On 27 Jan 2017, 08:01:36 -0500, Mike Holmes wrote: > Hi Sergei > > Do you have a place to store this we can link to ? Then we use this as a > live docume

Re: [lng-odp] updated power API proposal

2017-01-27 Thread Mike Holmes
Hi Sergei Do you have a place to store this we can link to ? Then we use this as a live document perhaps a google doc ? Its not the end of the world but it would allow people to comment interactively and give feedback more easily rather than you collate comments and post new docs. Mike On 27 Jan

[lng-odp] [Bug 2861] Remove redundant loop_support parameter in pktio capability

2017-01-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2861 Mike Holmes changed: What|Removed |Added CC||mike.hol...@linaro.org Assignee|maxim.

[lng-odp] [Bug 2861] New: Remove redundant loop_support parameter in pktio capability

2017-01-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2861 Bug ID: 2861 Summary: Remove redundant loop_support parameter in pktio capability Product: OpenDataPlane - linux- generic reference Version: v1.13.0.0 Hardware: Other

[lng-odp] updated power API proposal

2017-01-27 Thread Sergei Trofimov
Hello all, Thank you for reviewing the proposed power API patches in the last week's call and for all the feedback. It was clear that the proposed design was not fit for purpose, and that I have skipped a step in sending out the patches without sufficient prior discussion of the assumptions that w

Re: [lng-odp] [PATCH v3 0/8] First ABI files

2017-01-27 Thread Savolainen, Petri (Nokia - FI/Espoo)
> > create mode 100644 include/odp/arch/arm32-linux/odp/api/abi/buffer.h > > Will the types in the ABI spec be the same for Linux and another OS? ABI includes e.g. function calling convention. Linux defines one, other OS or bare metal may define something different. ODP defined ABIs (as of tod