[lng-odp] [PATCH v1 0/2] Build ODP-DPDK on arm/arm64

2016-03-15 Thread Nikolay Nikolaev
This series enable the compilation of the ODP-DPDK on the arm platforms. There are two problems fixed: - deciding when to use -msse4.2 - fixing rte_memcpy being a #define on arm --- Nikolay Nikolaev (2): configure: use ARCH_X86 conditional and decide when to use sse4.2 std_lib: dpdk

[lng-odp] [PATCH v1 2/2] std_lib: dpdk_memcpy definition for arm/arm64

2016-03-15 Thread Nikolay Nikolaev
DPDK for arm/arm64 uses a #define for the rte_memcpy, which is not suitable to get as a function pointer. For those platforms, wrap it in a static function and pass its address as dpdk_memcpy. Signed-off-by: Nikolay Nikolaev --- platform/linux-dpdk/odp_std_clib.c |9 + 1 file changed

[lng-odp] [PATCH v1 1/2] configure: use ARCH_X86 conditional and decide when to use sse4.2

2016-03-15 Thread Nikolay Nikolaev
In order to allow build on non-x86 systems add ARCH_X86 conditional and use it when deciding on the -msse4.2 flag. Signed-off-by: Nikolay Nikolaev --- configure.ac|1 + platform/linux-dpdk/Makefile.am |6 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --

[lng-odp] Questions about ODP installation

2016-03-15 Thread Tilli, Juha-Matti (Nokia - FI/Espoo)
Hello, Now that ODP contains most of the previously missing features I've wanted and I've learned how to use it, I'm about to take ODP into use in my application. I installed it to a custom prefix and noticed several interesting things: 1) The bin/ directory contains binaries correctly named wi

Re: [lng-odp] [PATCH] Generate scmversion based in numeric tags.

2016-03-15 Thread Maxim Uvarov
Merged, Thanks. On 03/14/16 20:02, José Pekkarinen wrote: This change generate the .scmversion file based in the numeric tag, instead of the named one, fixing the output of the configure script summary in the opendataplane line and library version line. Signed-off-by: José Pekkarinen --- scr

Re: [lng-odp] [PATCH 1/2] linux-generic: packet_flags: use accessors to modify eth and l2 flag

2016-03-15 Thread Maxim Uvarov
Zoltan, you can not name internal functions with odp_ prefix. So 2 options or move that to API: odp_packet_hdr_has_l2 odp_packet_hdr_has_eth or rename to _odp_ Best regards, Maxim. On 03/14/16 09:51, Bala Manoharan wrote: Reviewed-by: Balasubramanian Manoharan

Re: [lng-odp] [API-NEXT PATCH] api: do not split function prototypes

2016-03-15 Thread Maxim Uvarov
Merged, Maxim. On 03/15/16 13:20, Savolainen, Petri (Nokia - FI/Espoo) wrote: Ping. *From:*EXT Bill Fischofer [mailto:bill.fischo...@linaro.org] *Sent:* Wednesday, March 02, 2016 2:43 PM *To:* Savolainen, Petri (Nokia - FI/Espoo) *Cc:* LNG ODP Mailman List *Subject:* Re: [lng-odp] [API-NEXT

[lng-odp] [PATCH v3 6/6] linux-generic: odp-ipfw: New file example/ipfw/extra/odp_ipfw.c

2016-03-15 Thread venkatesh . vivekanandan
From: Venkatesh Vivekanandan This is a derived work from l2fwd with some hooks to odp_uipfw and odp_ipfw. Added example/ipfw/README Signed-off-by: Venkatesh Vivekanandan --- example/ipfw/Makefile.am |2 +- example/ipfw/README | 50 ++ example/ipfw/extra/missing.h |2

[lng-odp] [PATCH v3 5/6] linux-generic: odp-ipfw: uipfw stub changes

2016-03-15 Thread venkatesh . vivekanandan
From: Venkatesh Vivekanandan Signed-off-by: Venkatesh Vivekanandan --- example/ipfw/Makefile.am | 68 +--- 1 file changed, 29 insertions(+), 39 deletions(-) diff --git a/example/ipfw/Makefile.am b/example/ipfw/Makefile.am index a37d00b..c1dcf34 10064

[lng-odp] [PATCH v3 4/6] linux-generic: odp-ipfw: Initial changes to compile uipfw in odp

2016-03-15 Thread venkatesh . vivekanandan
From: Venkatesh Vivekanandan - created example/ipfw/Makefile.am - changes done in example/m4/configure.m4 - uipfw is the same as netmap-ipfw's kipfw - odp_uipfw runs in userspace to receive/send packets from network interface. This is mostly like a forwarding application, that forwards traffi

[lng-odp] [PATCH v3 3/6] linux-generic: odp-ipfw: ipfw stub changes

2016-03-15 Thread venkatesh . vivekanandan
From: Venkatesh Vivekanandan Signed-off-by: Venkatesh Vivekanandan --- example/ipfw/ipfw/Makefile.am | 14 ++ 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/example/ipfw/ipfw/Makefile.am b/example/ipfw/ipfw/Makefile.am index a6759e3..9083a56 100644 --- a/example/ipfw

[lng-odp] [PATCH v3 2/6] linux-generic: odp-ipfw: Initial changes to compile ipfw in odp

2016-03-15 Thread venkatesh . vivekanandan
From: Venkatesh Vivekanandan - created example/ipfw/ipfw/Makefile.am - changes done in example/m4/configure.m4 to accommodate odp_ipfw - odp_ipfw is to create rules in userspace. All packets that pass the rule will be sent out on another interface and dropped otherwise. Default rule is to acc

Re: [lng-odp] [PATCH v2 2/6] linux-generic: odp-ipfw: Initial changes to compile ipfw in odp

2016-03-15 Thread Venkatesh Vivekanandan
On 15 March 2016 at 13:18, Maxim Uvarov wrote: > On 03/11/16 16:26, venkatesh.vivekanan...@linaro.org wrote: > >> From: Venkatesh Vivekanandan >> >> - created example/ipfw/ipfw/Makefile.am >> - changes done in example/m4/configure.m4 to accommodate odp_ipfw >> - odp_ipfw is to create rules in us

[lng-odp] [PATCH 2/2] linux-generic: dpdk: implement pktio statistics

2016-03-15 Thread Matias Elo
Copied pktio statistics implementation from odp-dpdk branch. Signed-off-by: Matias Elo --- platform/linux-generic/pktio/dpdk.c | 39 + 1 file changed, 39 insertions(+) diff --git a/platform/linux-generic/pktio/dpdk.c b/platform/linux-generic/pktio/dpdk.c ind

[lng-odp] [PATCH 0/2] add dpdk pktio statistics support

2016-03-15 Thread Matias Elo
Applies on top of 'dpdk pktio vdev validation test support' patch set. Matias Elo (2): validation: pktio: fix statistics test linux-generic: dpdk: implement pktio statistics platform/linux-generic/pktio/dpdk.c | 39 + test/validation/pktio/pktio.c |

[lng-odp] [PATCH 1/2] validation: pktio: fix statistics test

2016-03-15 Thread Matias Elo
Stop trying to schedule new packets if all sent packets have already been received. Signed-off-by: Matias Elo --- test/validation/pktio/pktio.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/test/validation/pktio/pktio.c b/test/validation/pktio/pktio.c index 9443cd2.

Re: [lng-odp] [PATCH] validation: performance: remove deprecated odp_atomic tests

2016-03-15 Thread Maxim Uvarov
Merged to master and in a minute will be in api-next. Maxim. On 03/15/16 13:18, Savolainen, Petri (Nokia - FI/Espoo) wrote: Reviewed-by: Petri Savolainen Maxim, merge this also to api-next side ASAP. I'm preparing init API change (instance ID) which touches all apps (and thus conflicts with

[lng-odp] [PATCHv3] linux-generic:release memory during session destory

2016-03-15 Thread balakrishna.garapati
Signed-off-by: balakrishna.garapati --- platform/linux-generic/odp_crypto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 08b479d..e468677 100644 --- a/platform/linux-generic/odp_crypto.c +++ b/platform/linux

[lng-odp] [PATCHv2] linux-generic:release memory during session destory

2016-03-15 Thread balakrishna.garapati
v2:Added the whitespace after if Signed-off-by: balakrishna.garapati --- platform/linux-generic/odp_crypto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/odp_crypto.c index 08b479d..e468677 100644 --- a/platform/linux-generic/

[lng-odp] [PATCH] linux-generic:release memory during session destory

2016-03-15 Thread balakrishna.garapati
make sure the EVP_CIPHER memory is freed from the aes_gcm ctx before memset the crypto session to zero. Signed-off-by: balakrishna.garapati --- platform/linux-generic/odp_crypto.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/platform/linux-generic/odp_crypto.c b/platform/linux-generic/

Re: [lng-odp] Test mail

2016-03-15 Thread maxim.uvarov
nope, it's in spam.\ On 14 March 2016 at 13:34, Nicolas Morey-Chaisemartin wrote: > Making sure if we can send mail to the ML again :) > > Nicolas > ___ > lng-odp mailing list > lng-odp@lists.linaro.org > https://lists.linaro.org/mailman/listinfo/lng-o

[lng-odp] [Bug 2127] New: memory leak in odp_crypto

2016-03-15 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=2127 Bug ID: 2127 Summary: memory leak in odp_crypto Product: OpenDataPlane - linux- generic reference Version: 1.8 Hardware: Other OS: Linux Status: UNCONFIRMED Sev

[lng-odp] [CAUTION] Do not click on any links from Maxim's recent mails

2016-03-15 Thread Raj Murali
Hi, Just noticed that many are receiving mails from Maxim's (Linaro) email id. Currently ITS is addressing this issue. Thanks Raj Murali Director - Linaro Networking Group Skype: rajmurali_s │ M: +91 98450 70135 Linaro.org *│ *Open source software for ARM SoCs

Re: [lng-odp] [API-NEXT PATCH] api: do not split function prototypes

2016-03-15 Thread Savolainen, Petri (Nokia - FI/Espoo)
Ping. From: EXT Bill Fischofer [mailto:bill.fischo...@linaro.org] Sent: Wednesday, March 02, 2016 2:43 PM To: Savolainen, Petri (Nokia - FI/Espoo) Cc: LNG ODP Mailman List Subject: Re: [lng-odp] [API-NEXT PATCH] api: do not split function prototypes On Wed, Mar 2, 2016 at 6:37 AM, Petri Savol

Re: [lng-odp] [PATCH] validation: performance: remove deprecated odp_atomic tests

2016-03-15 Thread Savolainen, Petri (Nokia - FI/Espoo)
Reviewed-by: Petri Savolainen Maxim, merge this also to api-next side ASAP. I'm preparing init API change (instance ID) which touches all apps (and thus conflicts with this one). -Petri > -Original Message- > From: lng-odp [mailto:lng-odp-boun...@lists.linaro.org] On Behalf Of EXT > M

Re: [lng-odp] [API-NEXT PATCH v2 1/2] api: pktio: add recv from multiple queues with tmo

2016-03-15 Thread Maxim Uvarov
Reviewed and merged both to api-next. Maxim. On 03/08/16 13:56, Petri Savolainen wrote: Added odp_pktin_recv_mq_tmo() which allows application to poll multiple input queues (interfaces) with single call. The call includes timeout parameter which allows thread to e.g. sleep while waiting for mor

Re: [lng-odp] [PATCH v2 2/6] linux-generic: odp-ipfw: Initial changes to compile ipfw in odp

2016-03-15 Thread Maxim Uvarov
On 03/11/16 16:26, venkatesh.vivekanan...@linaro.org wrote: From: Venkatesh Vivekanandan - created example/ipfw/ipfw/Makefile.am - changes done in example/m4/configure.m4 to accommodate odp_ipfw - odp_ipfw is to create rules in userspace. All packets that pass the rule will be sent out on an