[lng-odp] Join ODP mailing list

2015-02-27 Thread Hector Zhang (Haitao)
张海涛Hector Zhang Strategy Business Development Product Solution HUAWEI TECHNOLOGIES CO.,LTD. [huawei_logo] Address: 6th Floor, B 1 Building Huawei Industrial Base Bantian Longgang Shenzhen 518129, P.R.China ___ lng-odp mailing list

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

2015-02-27 Thread Sunil Kumar Kori
Hello All, As per the documentation of odp_schedule and odp_schedule_multi, it seems that dequeue can be done from any of the queue, which are configured in scheduler, but all dequeued frames will be belonging to single queue (as there is only single out_queue parameter). Is my understanding

[lng-odp] [PATCHv3] linux-generic: pktio check for NULL entry

2015-02-27 Thread Maxim Uvarov
CID: 85427 https://bugs.linaro.org/show_bug.cgi?id=1175 get_pktio_entry() can return NULL entry then it can be derefenced inside is_free(entry). Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- v3: print enties as 64 bit value. v2: do not call odp_abort on excced pktio entries.

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

2015-02-27 Thread Taras Kondratiuk
On 02/26/2015 08:31 PM, Robbie King (robking) wrote: The only nit that I have, and not sure we have any way around it today, is the size of the test buffer being hard coded to 32. Seems eventually that should be a #define for a given implementation's capabilities, or perhaps a minimum

[lng-odp] [Bug 1289] New: odp_system test fails on arm and arm64

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1289 Bug ID: 1289 Summary: odp_system test fails on arm and arm64 Product: OpenDataPlane Version: 0.11 Hardware: Other OS: Linux Status: UNCONFIRMED Severity:

[lng-odp] [PATCH v5 1/8] example: odp_generator: fix c99 usleep

2015-02-27 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- example/generator/odp_generator.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c index 47cab6c..f3a315d 100644 ---

[lng-odp] [PATCHv2] doc: clean up doxygen first page text

2015-02-27 Thread Maxim Uvarov
Reviewed-by: Mike Holmes mike.hol...@linaro.org Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- doc/odp.dox | 33 ++--- 1 file changed, 6 insertions(+), 27 deletions(-) diff --git a/doc/odp.dox b/doc/odp.dox index b586421..f574e21 100644 --- a/doc/odp.dox +++

[lng-odp] [Bug 1046] odp_ipsec is not C99 compliant

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1046 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[lng-odp] [PATCH] doc: fix link to odp bug tracker

2015-02-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- doc/odp.dox | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/odp.dox b/doc/odp.dox index b586421..731fdd0 100644 --- a/doc/odp.dox +++ b/doc/odp.dox @@ -66,6 +66,6 @@ * @section contact Contact Details * - The main

Re: [lng-odp] [PATCH] doc: fix link to odp bug tracker

2015-02-27 Thread Mike Holmes
Also need to fix 1.0 text This consistency will commence with the 1.0.0 release of ODP, which is expected later in 2014. Pre-release 1 it should be expected that minor revisions may require API source changes as ODP is still growing its roots. This is release 0.1.0 of ODP and is being made

[lng-odp] odp v1.0.0 was tagged!

2015-02-27 Thread Maxim Uvarov
ODP first big release v1.0.0 is in the repo: https://git.linaro.org/lng/odp.git Congratulations to everybody! Change log from previous v0.11.0: * API: - crypto, cpumask, packet_io, random: replace ssize_t with int32_t - crypto: add session destroy function - crypto: add error code

[lng-odp] [Bug 1289] odp_system test fails on arm and arm64

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1289 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED

[lng-odp] [Bug 1050] odp_l2fwd is not C99 compiant

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1050 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Resolution|--- |FIXED

Re: [lng-odp] [PATCH] doc: clean up doxygen first page text

2015-02-27 Thread Mike Holmes
On 27 February 2015 at 12:11, Maxim Uvarov maxim.uva...@linaro.org wrote: Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- doc/odp.dox | 31 +-- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/doc/odp.dox b/doc/odp.dox index

[lng-odp] [Bug 1047] oddp_schdeuling is not C99 compliant

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1047 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Resolution|--- |FIXED

[lng-odp] [Bug 1270] doxygen: odp_pktio.c:103 create_pktio(const char *dev, odp_pool_t pool, int mode)

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1270 Mike Holmes mike.hol...@linaro.org changed: What|Removed |Added Resolution|--- |FIXED

[lng-odp] [PATCH] doc: clean up doxygen first page text

2015-02-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- doc/odp.dox | 31 +-- 1 file changed, 5 insertions(+), 26 deletions(-) diff --git a/doc/odp.dox b/doc/odp.dox index b586421..9897279 100644 --- a/doc/odp.dox +++ b/doc/odp.dox @@ -35,37 +35,16 @@ * of ODP,

Re: [lng-odp] [PATCH] doc: clean up doxygen first page text

2015-02-27 Thread Bill Fischofer
On Fri, Feb 27, 2015 at 11:11 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org Reviewed-by: Bill Fischofer bill.fischo...@linaro.org --- doc/odp.dox | 31 +-- 1 file changed, 5 insertions(+), 26 deletions(-)

Re: [lng-odp] [PATCH v4 0/7] C99 build fixes

2015-02-27 Thread Savolainen, Petri (Nokia - FI/Espoo)
I guess Maxim sees the issue in ARM (non x86) build. There’s another clock_gettime() in odp_time.c (behind #if defined __x86_64__ … #else) Likely, the same fix is needed there… +/* enable clock_gettime */ +#define _POSIX_C_SOURCE 200112L -Petri From: lng-odp-boun...@lists.linaro.org

Re: [lng-odp] [PATCH] linux-generic: odp_crypto: use intptr_t to find the pointer

2015-02-27 Thread Ola Liljedahl
On 26 February 2015 at 20:20, Robbie King (robking) robk...@cisco.com wrote: You are correct, free_session puts the session control structure being returned back onto a free list maintained by crypto, it does not return the shared memory back to the system. I have found clear/poison at free

Re: [lng-odp] [PATCHv2 2/2] linux-generic: odp_crypto_operation merge 2 ifs

2015-02-27 Thread Bill Fischofer
On Fri, Feb 27, 2015 at 5:51 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org Reviewed-by: Bill Fischofer bill.fischo...@linaro.org --- platform/linux-generic/odp_crypto.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-)

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

2015-02-27 Thread bala . manoharan
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 bala.manoha...@linaro.org ---

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

2015-02-27 Thread Ola Liljedahl
On 27 February 2015 at 14:22, 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 Taras Kondratiuk Sent: Friday, February 27, 2015 2:32 PM To:

Re: [lng-odp] [PATCH v4 0/7] C99 build fixes

2015-02-27 Thread Bill Fischofer
What level of GCC are you using? This ran fine on GCC 4.9. Bill On Fri, Feb 27, 2015 at 1:56 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: I see compilation error after turning on C99: odp_time.c: In function 'odp_time_cycles': odp_time.c:55:18: error: storage size of 'time' isn't known

Re: [lng-odp] [PATCHv2 2/2] linux-generic: odp_crypto_operation merge 2 ifs

2015-02-27 Thread Maxim Uvarov
Merged to be in 1.0 (bugfix). Maxim. On 02/27/2015 04:35 PM, Bill Fischofer wrote: On Fri, Feb 27, 2015 at 5:51 AM, Maxim Uvarov maxim.uva...@linaro.org mailto:maxim.uva...@linaro.org wrote: Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org mailto:maxim.uva...@linaro.org

Re: [lng-odp] [PATCH v4 0/7] C99 build fixes

2015-02-27 Thread Mike Holmes
This is all solved, we have a V5, testing starting now, ODP 1.0 is closed :) On 27 February 2015 at 08:52, Savolainen, Petri (Nokia - FI/Espoo) petri.savolai...@nokia.com wrote: I guess Maxim sees the issue in ARM (non x86) build. There’s another clock_gettime() in odp_time.c (behind #if

[lng-odp] [PATCH v5 5/8] example: odp_ipsec_stream: fix c99 unknown type name ‘uint’

2015-02-27 Thread Mike Holmes
odp_ipsec_stream.c:190:2: error: unknown type name ‘uint’ uint i; Signed-off-by: Mike Holmes mike.hol...@linaro.org --- example/ipsec/odp_ipsec_stream.c | 5 - example/l2fwd/odp_l2fwd.c| 3 +++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git

[lng-odp] [PATCH] linux-generic: system: read hugepage size for all architectures

2015-02-27 Thread Stuart Haslam
Fix for https://bugs.linaro.org/show_bug.cgi?id=1289 The odp_system test is failing for arm and arm64 because the implementation makes no attempt to determine availability of hugepages. Signed-off-by: Stuart Haslam stuart.has...@linaro.org --- platform/linux-generic/odp_system_info.c | 4 +++-

[lng-odp] [Bug 1281] test/validation/odp_classification fails to terminate cleanly

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1281 --- Comment #1 from Bala Manoharan bala.manoha...@linaro.org --- V1 Patch submitted: https://patches.linaro.org/45225/ -- You are receiving this mail because: You are on the CC list for the bug.___ lng-odp

Re: [lng-odp] [PATCH] api: packet_io: remove specific errno value

2015-02-27 Thread Maxim Uvarov
Merged. Maxim. On 02/26/2015 05:30 PM, Bill Fischofer wrote: On Thu, Feb 26, 2015 at 7:38 AM, Petri Savolainen petri.savolai...@linaro.org mailto:petri.savolai...@linaro.org wrote: Remove the specific value. This was the only errno value specified in the API. Add specific values

[lng-odp] EZchip Introduces TILE-Mx100 World's Highest Core-Count ARM(R) Processor Optimized for High-Performance Networking Applications

2015-02-27 Thread Ola Liljedahl
http://www.prnewswire.com/news-releases/ezchip-introduces-tile-mx100-worlds-highest-core-count-arm-processor-optimized-for-high-performance-networking-applications-293647261.html ___ lng-odp mailing list lng-odp@lists.linaro.org

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

2015-02-27 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 Taras Kondratiuk Sent: Friday, February 27, 2015 2:32 PM To: Robbie King (robking); lng-odp@lists.linaro.org Subject: Re: [lng-odp] [PATCH] validation: crypto:

Re: [lng-odp] [PATCHv2 1/2] linux-generic: handle copy error in odp_crypto_operation

2015-02-27 Thread Bill Fischofer
On Fri, Feb 27, 2015 at 5:51 AM, Maxim Uvarov maxim.uva...@linaro.org wrote: In that case _odp_packet_copy_to_packet can not return non 0. Because of code is on performance path just cast it to void to fix Coverity warning. https://bugs.linaro.org/show_bug.cgi?id=1054 CID 85004: Unchecked

[lng-odp] [PATCH v5 4/8] example: fix multiple c99 implicit declaration of function ‘strtok_r’

2015-02-27 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- example/generator/odp_generator.c | 3 +++ example/ipsec/odp_ipsec.c | 2 ++ example/ipsec/odp_ipsec_fwd_db.c | 3 +++ example/ipsec/odp_ipsec_sa_db.c | 3 +++ example/ipsec/odp_ipsec_sp_db.c | 3 +++ 5 files changed, 14

[lng-odp] [PATCH v5 2/8] example: odp_ipsec_stream: fix c99 unknown type name ‘uint’

2015-02-27 Thread Mike Holmes
./odp_ipsec_stream.h:27:2: error: unknown type name ‘uint’ uint length;/** Packet payload length */ Signed-off-by: Mike Holmes mike.hol...@linaro.org --- example/ipsec/odp_ipsec_stream.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git

[lng-odp] [PATCH v5 3/8] example: odp_ipsec: fix c99 storage size of ‘ifr’ isn’t known

2015-02-27 Thread Mike Holmes
odp_ipsec.c:233:15: error: storage size of ‘ifr’ isn’t known struct ifreq ifr; Signed-off-by: Mike Holmes mike.hol...@linaro.org --- example/ipsec/odp_ipsec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/example/ipsec/odp_ipsec.c b/example/ipsec/odp_ipsec.c index 1aa68db..e53a6ec 100644

[lng-odp] [PATCH v5 8/8] linux-generic: time: fix c99 clock_gettime

2015-02-27 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- platform/linux-generic/odp_time.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_time.c b/platform/linux-generic/odp_time.c index 0098af6..31d6656 100644 --- a/platform/linux-generic/odp_time.c +++

[lng-odp] [PATCH v5 7/8] configure: Add std=c99

2015-02-27 Thread Mike Holmes
Signed-off-by: Mike Holmes mike.hol...@linaro.org --- configure.ac | 1 + 1 file changed, 1 insertion(+) diff --git a/configure.ac b/configure.ac index 7d45ece..57054c5 100644 --- a/configure.ac +++ b/configure.ac @@ -239,6 +239,7 @@ ODP_CFLAGS=$ODP_CFLAGS -W -Wall -Werror -Wstrict-prototypes

Re: [lng-odp] odp v1.0.0 was tagged!

2015-02-27 Thread Hillo, Jarmo (Nokia - FI/Espoo)
Great job! Congrats everyone! Thank you all fir your hard work Jarmo Lähetetty Samsung-laitteesta Alkuperäinen viesti Lähettäjä: ext Maxim Uvarov maxim.uva...@linaro.org Päivämäärä: 27.02.2015 19.52 (GMT+02:00) Saaja: lng-odp-forward lng-odp@lists.linaro.org Aihe: [lng-odp]

Re: [lng-odp] odp v1.0.0 was tagged!

2015-02-27 Thread Mark Orvek
Congratulations to everyone on the ODP team! Well done. Mark On Fri, Feb 27, 2015 at 11:12 AM, Hillo, Jarmo (Nokia - FI/Espoo) jarmo.hi...@nokia.com wrote: Great job! Congrats everyone! Thank you all fir your hard work Jarmo Lähetetty Samsung-laitteesta Alkuperäinen viesti

Re: [lng-odp] [PATCH] linux-generic: system: read hugepage size for all architectures

2015-02-27 Thread Maxim Uvarov
Merged, Maxim. On 02/27/2015 05:55 PM, Stuart Haslam wrote: Fix for https://bugs.linaro.org/show_bug.cgi?id=1289 The odp_system test is failing for arm and arm64 because the implementation makes no attempt to determine availability of hugepages. Signed-off-by: Stuart Haslam

Re: [lng-odp] [PATCH v5 1/8] example: odp_generator: fix c99 usleep

2015-02-27 Thread Maxim Uvarov
Merged, Maxim. On 02/27/2015 05:52 PM, Mike Holmes wrote: Signed-off-by: Mike Holmes mike.hol...@linaro.org --- example/generator/odp_generator.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/example/generator/odp_generator.c b/example/generator/odp_generator.c

[lng-odp] [Bug 1289] odp_system test fails on arm and arm64

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1289 --- Comment #1 from Stuart Haslam stuart.has...@linaro.org --- Patch sent; https://patches.linaro.org/45236/ -- You are receiving this mail because: You are the assignee for the bug.___ lng-odp mailing list

[lng-odp] [PATCHv3] update version number from v0.11.0 to v1.0

2015-02-27 Thread Maxim Uvarov
From: Anders Roxell anders.rox...@linaro.org Signed-off-by: Anders Roxell anders.rox...@linaro.org Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- debian/changelog | 45 + include/odp/api/version.h | 4 ++-- 2 files changed, 47

Re: [lng-odp] [PATCH v5 1/8] example: odp_generator: fix c99 usleep

2015-02-27 Thread Maxim Uvarov
Reviewed-and-tested-by: Maxim Uvarov maxim.uva...@linaro.org Patch 8 will be patch 7 and patch 7 will be patch 8. Maxim. On 02/27/2015 05:52 PM, Mike Holmes wrote: Signed-off-by: Mike Holmes mike.hol...@linaro.org --- example/generator/odp_generator.c | 6 +- 1 file changed, 5

Re: [lng-odp] odp v1.0.0 was tagged!

2015-02-27 Thread Joseph G Bates
Fantastic news! Impressive efforts and teamwork by all involved. Congrats! On Feb 27, 2015, at 1:12 PM, Hillo, Jarmo (Nokia - FI/Espoo) jarmo.hi...@nokia.com wrote: Great job! Congrats everyone! Thank you all fir your hard work Jarmo Lähetetty Samsung-laitteesta

Re: [lng-odp] odp v1.0.0 was tagged!

2015-02-27 Thread Randy Linnell
Congrats to everyone for the vision and the hard work to achieve this important milestone! Randy On 27 February 2015 at 10:30, Mark Orvek mark.or...@linaro.org wrote: Congratulations to everyone on the ODP team! Well done. Mark On Fri, Feb 27, 2015 at 11:12 AM, Hillo, Jarmo (Nokia -

[lng-odp] [Bug 1143] CID 86731: Uninitialized scalar variable configure_cos_with_l2_priority()

2015-02-27 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=1143 Bala Manoharan bala.manoha...@linaro.org changed: What|Removed |Added Resolution|--- |FIXED

Re: [lng-odp] [PATCH v1] validation: classification: fix uninitialized scalar variable

2015-02-27 Thread Maxim Uvarov
On 02/24/2015 11:25 AM, Bala wrote: Bala, one small note. In first case for .. CLS_L2_QOS_MAX, in second case for num_qos, which has the same value. Just to be consistent can you remove num_qos variable from that function? It's not needed. On, let it be var for future improvement. But we

Re: [lng-odp] [PATCH v3] valididation: errno: add sunnyday test

2015-02-27 Thread Maxim Uvarov
Merged, Maxim. On 02/27/2015 03:17 AM, Bill Fischofer wrote: On Thu, Feb 26, 2015 at 3:34 PM, Mike Holmes mike.hol...@linaro.org mailto:mike.hol...@linaro.org wrote: Call the public APIs for errno in a sunny day configuration. Signed-off-by: Mike Holmes mike.hol...@linaro.org

[lng-odp] [PATCH] linux-generic: system: read hugepage size for all architectures

2015-02-27 Thread Stuart Haslam
The odp_system test is failing for arm and arm64 because the implementation makes no attempt to determine availability of hugepages. Signed-off-by: Stuart Haslam stuart.has...@linaro.org --- platform/linux-generic/odp_system_info.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff

Re: [lng-odp] [PATCH 1/2] example: l2fwd: add more missing doxygen documentation

2015-02-27 Thread Maxim Uvarov
Merged! No more doxygen warnings :) Maxim. On 02/26/2015 09:17 PM, Mike Holmes wrote: On 26 February 2015 at 12:17, Bill Fischofer bill.fischo...@linaro.org mailto:bill.fischo...@linaro.org wrote: Signed-off-by: Bill Fischofer bill.fischo...@linaro.org

[lng-odp] [PATCHv2 2/2] linux-generic: odp_crypto_operation merge 2 ifs

2015-02-27 Thread Maxim Uvarov
Signed-off-by: Maxim Uvarov maxim.uva...@linaro.org --- platform/linux-generic/odp_crypto.c | 9 - 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 4998b8a..b16316c 100644 ---

Re: [lng-odp] [PATCH] example: odp_packet uncomment polling queues

2015-02-27 Thread Stuart Haslam
On Mon, Feb 16, 2015 at 08:56:13PM +0300, Maxim Uvarov wrote: odp_packet examples has polling queues commented out with if 1. Input queue (ODP_QUEUE_TYPE_PKTIN) is not attached to scheduler but it make sense in example show that packets can be accessed with polling queues also.