Re: svn commit: r232238 - in head: share/man/man4 sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap

[ Available lists | Index of svn-src-all | Month of Feb 2012 | Week of 29 Feb 2012 | Raw email | View thread | Wrap long lines | Reply | Tag ]
From
Slawa Olhovchenkov <slw@zxy.spb.ru>
Date
29 Feb 2012 09:14:12
Subject
Re: svn commit: r232238 - in head: share/man/man4 sys/dev/e1000 sys/dev/ixgbe sys/dev/netmap sys/dev/re sys/net tools/tools/netmap
Message-ID
20120229091433.GC97848@zxy.spb.ru


[ Hide this part ]
On Tue, Feb 28, 2012 at 10:58:56PM +0100, Luigi Rizzo wrote:

> On Wed, Feb 29, 2012 at 12:35:23AM +0400, Slawa Olhovchenkov wrote:
> ...
> > > > > ?3. The two changes above unfortunately require an API change, so while
> > > > > ? ? at it add a version field and some spares to the ioctl() argument
> > > > > ? ? to help detect mismatches.
> > > >
> > > > Is it worth bumping __FreeBSD_version?
> > >
> > > I don't think it is necessary.
> > > There is basically no code that uses the netmap API except for
> > > the examples in tools/tools/netmap, and i now have a NETMAP_API macro
> >
> > no code in *FreeBSD base system*, yes?
> > because I am write tools uses the netmap API now.
>
> i am glad to hear that, and the NETMAP_API will serve you well
> because you can use the same also on the Linux version of netmap

Can you explain some detail about netmap?

1. What is order of send packets from different rings?
2. What is time packets sent? I am need sustain desired value of
transfer rate.

Elapsed time: 0.203 seconds