Re: [lng-odp] latency calulation with netmap pkt i/o fails with oversized packet debug msg

2018-07-26 Thread gyanesh patra
I verified the throughput over the link with/without this debug message. With DEBUG message: 10-15 Mbps without DEBUG message: 1500 Mbps Due to this debug message to the stdout, the throughput drops to the minimum and the latency can't be calculated properly too. Should i just remove the debug

Re: [lng-odp] latency calulation with netmap pkt i/o fails with oversized packet debug msg

2018-07-26 Thread Elo, Matias (Nokia - FI/Espoo)
> On 25 Jul 2018, at 17:11, Maxim Uvarov wrote: > > For quick look it looks like mtu is not set correctly on open(). Can you try > this patch: > > diff --git a/platform/linux-generic/pktio/netmap.c > b/platform/linux-generic/pktio/netmap.c > index 0da2b7a..d4db0af 100644 > ---

Re: [lng-odp] latency calulation with netmap pkt i/o fails with oversized packet debug msg

2018-07-26 Thread gyanesh patra
Hi, Here is the output for the debug messages as advised: For this code: -- 541 ODP_DBG("MTU: %" PRIu32 "\n", mtu); 542 ODP_DBG("NM buf_size: %" PRIu32 "\n", buf_size); 543 pkt_nm->mtu = (mtu < buf_size) ? mtu : buf_size; Output: - netmap interface:

Re: [lng-odp] latency calulation with netmap pkt i/o fails with oversized packet debug msg

2018-07-26 Thread Maxim Uvarov
On 26 July 2018 at 16:01, gyanesh patra wrote: > Hi, > Here is the output for the debug messages as advised: > For this code: > -- > 541 ODP_DBG("MTU: %" PRIu32 "\n", mtu); > > 542 ODP_DBG("NM buf_size: %" PRIu32 "\n", buf_size); > > 543 pkt_nm->mtu = (mtu <

[lng-odp] [Bug 3954] New: shm allocator considered wasteful

2018-07-26 Thread bugzilla-daemon
https://bugs.linaro.org/show_bug.cgi?id=3954 Bug ID: 3954 Summary: shm allocator considered wasteful Product: OpenDataPlane - linux- generic reference Version: v1.15.0.0 Hardware: Other OS: Linux Status: