Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread Elo, Matias (Nokia - FI/Espoo)
Hi Gyanesh, I tested the patch on my system and everything seems to work as expected. Based on the log you're not running the latest code (v1.17.0) but I doubt that is the issue here. What kind of test traffic are you using? The l2fwd example uses IPv4 addresses and UDP ports to do the input h

[lng-odp] [Linaro/odp] c64401: linux-gen: add cxgbe RX slot mode support

2018-02-06 Thread GitHub
Branch: refs/heads/caterpillar Home: https://github.com/Linaro/odp Commit: c6440178415ef0c26ff4f9a1539fc294161d8a2d https://github.com/Linaro/odp/commit/c6440178415ef0c26ff4f9a1539fc294161d8a2d Author: Mykyta Iziumtsev Date: 2018-02-07 (Wed, 07 Feb 2018) Changed paths:

[lng-odp] [PATCH v4 2/3] linux-gen: ptkio: loop: inline odp_packet_has_ipsec

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.patch ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a ** Merge c

[lng-odp] [PATCH v4 1/3] linux-gen: use packet pointer in _odp_ipsec_try_inline

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov _odp_ipsec_try_inline() can change packet handle during decryption. Return new package handler via packet pointer argument. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/4

[lng-odp] [PATCH v4 0/3] Fixes for IPsec inbound inline processing

2018-02-06 Thread Github ODP bot
github /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.patch ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a ** Merge commit sha: eb3880eebfb94c83

[lng-odp] [PATCH v3 3/3] linux-gen: pktio: loop: check for ip error before trying IPsec

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Check for ip_err error flag before calling _odp_ipsec_try_inline(). Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.pat

[lng-odp] [PATCH v3 2/3] linux-gen: ptkio: loop: inline odp_packet_has_ipsec

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.patch ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a ** Merge c

[lng-odp] [PATCH v3 1/3] linux-gen: use packet pointer in _odp_ipsec_try_inline

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov _odp_ipsec_try_inline() can change packet handle during decryption. Return new package handler via packet pointer argument. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/4

[lng-odp] [PATCH v3 0/3] Fixes for IPsec inbound inline processing

2018-02-06 Thread Github ODP bot
github /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.patch ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a ** Merge commit sha: e8666889f21113d1

[lng-odp] [PATCH v1 2/3] linux-gen: ptkio: loop: inline odp_packet_has_ipsec

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.patch ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a ** Merge c

[lng-odp] [PATCH v1 1/3] linux-gen: use packet pointer in _odp_ipsec_try_inline

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov _odp_ipsec_try_inline() can change packet handle during decryption. Return new package handler via packet pointer argument. Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/4

[lng-odp] [PATCH v1 3/3] linux-gen: pktio: loop: check for ip error before trying IPsec

2018-02-06 Thread Github ODP bot
From: Dmitry Eremin-Solenikov Check for ip_err error flag before calling _odp_ipsec_try_inline(). Signed-off-by: Dmitry Eremin-Solenikov --- /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.pat

[lng-odp] [PATCH v1 0/3] Fixes for IPsec inbound inline processing

2018-02-06 Thread Github ODP bot
github /** Email created from pull request 456 (lumag:ipsec-fix) ** https://github.com/Linaro/odp/pull/456 ** Patch: https://github.com/Linaro/odp/pull/456.patch ** Base sha: 257b08b35ceea41bad5a7f1c626496cf111e657a ** Merge commit sha: 6f522c3fa758a8b6

Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread gyanesh patra
We are using Intel NICs : X540-AT2 (10G) P Gyanesh Kumar Patra On Tue, Feb 6, 2018 at 3:08 PM, Ilias Apalodimas < ilias.apalodi...@linaro.org> wrote: > Hello, > > Haven't seen any reference to the hardware you are using, sorry if i > missed it. What kind of NIC are you using for the tests ? >

Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread Ilias Apalodimas
Hello, Haven't seen any reference to the hardware you are using, sorry if i missed it. What kind of NIC are you using for the tests ? Regards Ilias On 6 February 2018 at 19:00, gyanesh patra wrote: > Hi, > I tried with netmap, dpdk and dpdk with zero-copy enabled. All of them have > the same be

[lng-odp] [Bug 3615] Recv tmo validation test fails sometimes

2018-02-06 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3615 --- Comment #1 from Maxim Uvarov --- https://github.com/Linaro/odp/commit/e1175d5a69c65bb465022c9f1381c40fdb5c4069 refs/heads/api-next 2018-02-06T20:00:47+03:00 Petri Savolainen petri.savolai...@linaro.org linux-gen: pktio: fix recv timeout issue with

[lng-odp] [Linaro/odp] e42689: validation: pktio: recv tmo test improvements

2018-02-06 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: e4268984a0424280784a00da46306372b47691e7 https://github.com/Linaro/odp/commit/e4268984a0424280784a00da46306372b47691e7 Author: Petri Savolainen Date: 2018-02-06 (Tue, 06 Feb 2018) Changed paths: M t

Re: [lng-odp] [PATCH API-NEXT v2] api: init: global shm memory size

2018-02-06 Thread Github ODP bot
muvarov replied on github web page: platform/linux-generic/_ishm.c line 23 @@ -1436,15 +1436,23 @@ int _odp_ishm_cleanup_files(const char *dirpath) return 0; } -int _odp_ishm_init_global(void) +int _odp_ishm_init_global(const odp_init_t *init) { void *addr; void *spce_a

Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread gyanesh patra
Hi, I tried with netmap, dpdk and dpdk with zero-copy enabled. All of them have the same behaviour. I also tried with (200*2048) as packet pool size without any success. I am attaching the patch for test/performance/odp_l2fwd example here to demonstrate the behaviour. Also find the output of the ex

[lng-odp] [Linaro/odp] 257b08: build: limit symbol visibility for libodp-linux

2018-02-06 Thread GitHub
Branch: refs/heads/master Home: https://github.com/Linaro/odp Commit: 257b08b35ceea41bad5a7f1c626496cf111e657a https://github.com/Linaro/odp/commit/257b08b35ceea41bad5a7f1c626496cf111e657a Author: Dmitry Eremin-Solenikov Date: 2018-02-06 (Tue, 06 Feb 2018) Changed paths:

[lng-odp] [Linaro/odp] 876e24: validation: crypto: properly use check_alg for GMA...

2018-02-06 Thread GitHub
Branch: refs/heads/api-next Home: https://github.com/Linaro/odp Commit: 876e2430126a763194046ce7db9302817e125ec6 https://github.com/Linaro/odp/commit/876e2430126a763194046ce7db9302817e125ec6 Author: Dmitry Eremin-Solenikov Date: 2018-02-06 (Tue, 06 Feb 2018) Changed paths:

Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread gyanesh patra
Hi Bogdan, Yes, I agree. It looks like that. But i thought if we don't recv pkt (odp_pktin_recv), then the packets will be dropped at NIC queues as the rx buffer will be full. In that scenario, the other queue should continue to work. Maybe i am not aware of the ODP side of the implementation. In

Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread Bogdan Pricope
Explanation may be related to RSS. Dpdk pktio is using RSS - traffic is hashed and sent to a specific queue. You have two RX queues (pktin) that are polled with odp_pktin_recv(). If you stop polling on one queue (put one of the threads in busy loop or sleep()), it will not mean that the other will

[lng-odp] [PATCH API-NEXT v1 2/2] linux-gen: pktio: fix recv timeout issue with socket mmap

2018-02-06 Thread Github ODP bot
From: Petri Savolainen Validation test failed sometimes when select returned that there are packets but sock_mmap_recv did find those (or it dropped those). Continue timeout wait with select if sock_mmap_recv didn't find any packets. Select updates timeout value automatically to reflect the amoun

[lng-odp] [PATCH API-NEXT v1 1/2] validation: pktio: recv tmo test improvements

2018-02-06 Thread Github ODP bot
From: Petri Savolainen Add checks and improve test output when recv tmo function fails to timeout correctly. Signed-off-by: Petri Savolainen --- /** Email created from pull request 455 (psavol:next-fix-recv-tmo) ** https://github.com/Linaro/odp/pull/455 ** Patch: https://github.com/Linaro/odp

[lng-odp] [PATCH API-NEXT v1 0/2] Fix recv timeout issue with socket mmap

2018-02-06 Thread Github ODP bot
The issue is on both master and api-next branches. Fixed on api-next branch to avoid merge conflicts as the same lines have been modified on api-next previously. github /** Email created from pull request 455 (psavol:next-fix-recv-tmo) ** https://github.c

Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread Elo, Matias (Nokia - FI/Espoo)
> On 6 Feb 2018, at 13:55, Elo, Matias (Nokia - FI/Espoo) > wrote: > > > >> On 5 Feb 2018, at 19:42, Bill Fischofer wrote: >> >> Thanks, Gyanesh, that does sound like a bug. +cc Matias: Can you comment on >> this? >> >> On Mon, Feb 5, 2018 at 5:09 AM, gyanesh patra >> wrote: >> ​I am t

Re: [lng-odp] Compilation flags for release build and performance evaluation

2018-02-06 Thread Elo, Matias (Nokia - FI/Espoo)
> On 31 Jan 2018, at 21:41, gyanesh patra wrote: > > Hi, > I am curious if there are any specific flags available for ODP for release > builds or performance evaluation? > Hi, For performance evaluation you probably want to set '--disable-abi-compat' to enable function inlining. -Matias

Re: [lng-odp] unexpected packet handling behavior with dpdk pktio support

2018-02-06 Thread Elo, Matias (Nokia - FI/Espoo)
> On 5 Feb 2018, at 19:42, Bill Fischofer wrote: > > Thanks, Gyanesh, that does sound like a bug. +cc Matias: Can you comment on > this? > > On Mon, Feb 5, 2018 at 5:09 AM, gyanesh patra > wrote: > ​I am testing an l2fwd use-case​. I am executing the use-case with two > CPUs​ & two interfac

[lng-odp] [PATCH v4 5/7] example: instrum: configure instrumented API set

2018-02-06 Thread Github ODP bot
From: Bogdan Pricope Add configure time option to trim API set to be instrumented. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 443 (bogdanPricope:master_benchmark_pr) ** https://github.com/Linaro/odp/pull/443 ** Patch: https://github.com/Linaro/odp/pull/443.patch **

[lng-odp] [PATCH v4 3/7] example: instrum: use low level API to retrieve performance counters

2018-02-06 Thread Github ODP bot
From: Bogdan Pricope Use low level PAPI API to get performance counters. Exemplify on some ODP APIs. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 443 (bogdanPricope:master_benchmark_pr) ** https://github.com/Linaro/odp/pull/443 ** Patch: https://github.com/Linaro/odp/

[lng-odp] [PATCH v4 6/7] example: instrum: update DEPENDENCIES

2018-02-06 Thread Github ODP bot
From: Bogdan Pricope Describe configuration and requirements of code instrumentation library. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 443 (bogdanPricope:master_benchmark_pr) ** https://github.com/Linaro/odp/pull/443 ** Patch: https://github.com/Linaro/odp/pull/44

[lng-odp] [PATCH v4 7/7] example: instrum: add travis test

2018-02-06 Thread Github ODP bot
From: Bogdan Pricope Add test to validate ODP build with papi library. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 443 (bogdanPricope:master_benchmark_pr) ** https://github.com/Linaro/odp/pull/443 ** Patch: https://github.com/Linaro/odp/pull/443.patch ** Base sha: 2

[lng-odp] [PATCH v4 4/7] example: instrum: configure papi event set

2018-02-06 Thread Github ODP bot
From: Bogdan Pricope Configure the set of papi counters to be acquired via an environment variable. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 443 (bogdanPricope:master_benchmark_pr) ** https://github.com/Linaro/odp/pull/443 ** Patch: https://github.com/Linaro/odp/p

[lng-odp] [PATCH v4 2/7] example: instrum: add skeleton

2018-02-06 Thread Github ODP bot
From: Bogdan Pricope Add instrumentation library as odp example. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 443 (bogdanPricope:master_benchmark_pr) ** https://github.com/Linaro/odp/pull/443 ** Patch: https://github.com/Linaro/odp/pull/443.patch ** Base sha: 27a7923

[lng-odp] [PATCH v4 1/7] example: add basic papi configuration option

2018-02-06 Thread Github ODP bot
From: Bogdan Pricope Add configuration options to enable code instrumentation. Signed-off-by: Bogdan Pricope --- /** Email created from pull request 443 (bogdanPricope:master_benchmark_pr) ** https://github.com/Linaro/odp/pull/443 ** Patch: https://github.com/Linaro/odp/pull/443.patch ** Bas

[lng-odp] [PATCH v4 0/7] Code instrumentation with PAPI library

2018-02-06 Thread Github ODP bot
ODP API instrumentation with PAPI (Performance API) library (http://icl.cs.utk.edu/papi) "instrum" example is using library preload, symbols overloading and PAPI to obtain performance counters (like data cache miss or conditional branch count) for execution of ODP API calls. Performance counters

[lng-odp] [PATCH API-NEXT v3 1/2] api: schedule: add asynchronous order lock

2018-02-06 Thread Github ODP bot
From: Balasubramanian Manoharan add asynchronous order lock api. schedule order context lock can be acquired asynchronously using two functions start and wait. application can utilize the cycles between these functions to increase performance. Signed-off-by: Balasubramanian Manoharan --- /** Em

[lng-odp] [PATCH API-NEXT v3 2/2] linux-gen: schedule: implements async ordered lock

2018-02-06 Thread Github ODP bot
From: Balasubramanian Manoharan implements asynchronous order context lock Signed-off-by: Balasubramanian Manoharan --- /** Email created from pull request 453 (bala-manoharan:async_order_lock) ** https://github.com/Linaro/odp/pull/453 ** Patch: https://github.com/Linaro/odp/pull/453.patch *

[lng-odp] [PATCH API-NEXT v3 0/2] Asynchronous ordered context lock

2018-02-06 Thread Github ODP bot
add asynchronous ordered context lock. github /** Email created from pull request 453 (bala-manoharan:async_order_lock) ** https://github.com/Linaro/odp/pull/453 ** Patch: https://github.com/Linaro/odp/pull/453.patch ** Base sha: 1836820278b57de6144c75872

[lng-odp] [Bug 3615] New: Recv tmo validation test fails sometimes

2018-02-06 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3615 Bug ID: 3615 Summary: Recv tmo validation test fails sometimes Product: OpenDataPlane - linux- generic reference Version: master Hardware: Other OS: Linux Status: UNCONFI