> On 26 Jul 2018, at 21:24, gyanesh patra wrote:
>
> 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
On 26 July 2018 at 21:24, gyanesh patra wrote:
> 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
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 mes
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 < buf
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: eth
> 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
> --- a/platform/li
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
--- a/platform/linux-generic/pktio/netmap.c
+++ b/platform/linux-generic/pktio/netma
I am trying to run moongen to calculate the latency in the link. I compiled
ODP with netmap.
I run example/l2-load-latency.lua from moongen and odp_l2fwd_simple from
ODP. I found that most of the packets are dropped at the rx side of ODP.
ODP--
root@test:~/gyn/odp/buildN/bin# ./odp_l2fwd_s