Date: Thu, 20 Mar 2014 18:03:43 +0800 (CST) From: mstian88 <mstian88@163.com> To: net@freebsd.org Subject: some problem about netmap Message-ID: <59d70d80.2b3cc.144def24445.Coremail.mstian88@163.com>
next in thread | raw e-mail | index | archive | help
./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[5603328],rings[32] [2214]:slotlen[2048],curidx[190],bufidx[24768],avail[2],iwhile[475],ifor[16],buf_ofs[5603328],rings[32] [2215]:slotlen[926],curidx[191],bufidx[24769],avail[1],iwhile[475],ifor[16],buf_ofs[5603328],rings[32] [2216]:slotlen[1514],curidx[192],bufidx[24770],avail[1],iwhile[476],ifor[16],buf_ofs[5603328],rings[32]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?59d70d80.2b3cc.144def24445.Coremail.mstian88>
