svn commit: r260700 - in head: sys/dev/netmap tools/tools/netmap

Luigi Rizzo rizzo at iet.unipi.it
Fri Jan 17 04:40:30 UTC 2014


On Thu, Jan 16, 2014 at 12:46:10PM -0800, hiren panchasara wrote:
> On Wed, Jan 15, 2014 at 4:20 PM, Luigi Rizzo <luigi at freebsd.org> wrote:
> > Author: luigi
> > Date: Thu Jan 16 00:20:42 2014
> > New Revision: 260700
> > URL: http://svnweb.freebsd.org/changeset/base/260700
> >
> > Log:
> >   netmap_user.h:
> >      add separate rx/tx ring indexes
> >      add ring specifier in nm_open device name
> >
> >   netmap.c, netmap_vale.c
> >      more consistent errno numbers
> >
> >   netmap_generic.c
> >      correctly handle failure in registering interfaces.
> >
> >   tools/tools/netmap/
> >      massive cleanup of the example programs
> >      (a lot of common code is now in netmap_user.h.)
> >
> >   nm_util.[ch] are going away soon.
> >   pcap.c will also go when i commit the native netmap support for libpcap.
> >
> > Modified:
> >   head/sys/dev/netmap/netmap.c
> >   head/sys/dev/netmap/netmap_generic.c
> >   head/sys/dev/netmap/netmap_vale.c
> >   head/tools/tools/netmap/Makefile
> >   head/tools/tools/netmap/bridge.c
> >   head/tools/tools/netmap/nm_util.c
> >   head/tools/tools/netmap/nm_util.h
> >   head/tools/tools/netmap/pcap.c
> >   head/tools/tools/netmap/pkt-gen.c
> >   head/tools/tools/netmap/vale-ctl.c
> >
> 
> Hi Luigi,
> 
> Doing make in tools/tools/netmap gives me a bunch of errors because
> "struct nm_desc_t" doesn't have members like if_flags, if_reqcap and
> if_curcap. It seems those members were coming from struct my_ring
> which is no more there.

sorry my bad, i forgot to include sys/net/netmap_user.h in the commit.
Fixed in rev 260803

cheers
luigi


More information about the svn-src-head mailing list