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_simple eth5 eth6 01:02:03:04:05:06 07:08:09:0a:0b:0c pktio/netmap.c:839:netmap_recv_desc():dropped oversized packet pktio/netmap.c:839:netmap_recv_desc():dropped oversized packet ------- ---MOONGEN--- root@ubuntu:/home/ubuntu# ./MoonGen/build/MoonGen ./MoonGen/examples/l2-load-latency.lua 0 1 ------- ---ubunut-- root@test:# ifconfig eth5 eth5 Link encap:Ethernet HWaddr a0:36:9f:3e:95:34 inet6 addr: fe80::a236:9fff:fe3e:9534/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:8288 errors:21532426 dropped:*1229684107* overruns:0 frame:21532426 TX packets:28 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:742932 (742.9 KB) TX bytes:2376 (2.3 KB) root@test:# ifconfig eth6 eth6 Link encap:Ethernet HWaddr a0:36:9f:3e:95:36 inet6 addr: fe80::a236:9fff:fe3e:9536/64 Scope:Link UP BROADCAST RUNNING PROMISC MULTICAST MTU:1500 Metric:1 RX packets:2780 errors:0 dropped:554038705 overruns:0 frame:0 TX packets:38 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:166800 (166.8 KB) TX bytes:3276 (3.2 KB) ------------ When i try the same thing while compiling ODP with DPDK, it works fine. I am getting error in case of Netmap packet i/o. Is this a know issue or am i missing something? Thanks Gyanesh