Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Mar 2014 12:36:13 +0100
From:      Luigi Rizzo <rizzo@iet.unipi.it>
To:        mstian88 <mstian88@163.com>
Cc:        "freebsd-net@freebsd.org" <net@freebsd.org>
Subject:   Re: some problem about netmap
Message-ID:  <CA%2BhQ2%2BhnBB7GzdzvAgwcSSHN%2BP9V5jxkT9rES7fJjwPr1UnmBw@mail.gmail.com>
In-Reply-To: <59d70d80.2b3cc.144def24445.Coremail.mstian88@163.com>
References:  <59d70d80.2b3cc.144def24445.Coremail.mstian88@163.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <mstian88@163.com> wrote:

> ./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]
> _______________________________________________
> freebsd-net@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe@freebsd.org"
>

----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CA%2BhQ2%2BhnBB7GzdzvAgwcSSHN%2BP9V5jxkT9rES7fJjwPr1UnmBw>