Re: some problem about netmap

2014-03-20 Thread Luigi Rizzo
what os, device driver ? are you using emulated or native netmap mode ? Do you have tso and receive side coalescing enabled ? (you can disable them with ethtool). cheers luigi On Thu, Mar 20, 2014 at 11:03 AM, mstian88 wrote: > ./pkt-gen -i eth1 -f rx -X > the print info shows slot->len is 20

some problem about netmap

2014-03-20 Thread mstian88
./pkt-gen -i eth1 -f rx -X the print info shows slot->len is 2048? why? the packets was sended with tcpreplay. when Multiple packets len is 1514, pkt-gen receive avial >1, the slot->len is 2048 like this: [2213]:slotlen[1514],curidx[189],bufidx[24767],avail[3],iwhile[475],ifor[16],buf_ofs[5603