From owner-svn-src-head@FreeBSD.ORG Tue Feb 28 20:56:20 2012 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11F751065673; Tue, 28 Feb 2012 20:56:20 +0000 (UTC) (envelope-from slw@zxy.spb.ru) Received: from zxy.spb.ru (zxy.spb.ru [195.70.199.98]) by mx1.freebsd.org (Postfix) with ESMTP id B94A38FC17; Tue, 28 Feb 2012 20:56:19 +0000 (UTC) Received: from slw by zxy.spb.ru with local (Exim 4.69 (FreeBSD)) (envelope-from ) id 1S2Tlb-000ETm-V8; Wed, 29 Feb 2012 00:35:23 +0400 Date: Wed, 29 Feb 2012 00:35:23 +0400 From: Slawa Olhovchenkov To: Luigi Rizzo Message-ID: <20120228203523.GB97848@zxy.spb.ru> References: <201202271905.q1RJ52Se032771@svn.freebsd.org> <20120228073122.GC57270@onelab2.iet.unipi.it> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120228073122.GC57270@onelab2.iet.unipi.it> User-Agent: Mutt/1.5.21 (2010-09-15) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: slw@zxy.spb.ru X-SA-Exim-Scanned: No (on zxy.spb.ru); SAEximRunCond expanded to false Cc: svn-src-head@freebsd.org, Luigi Rizzo , src-committers@freebsd.org, svn-src-all@freebsd.org, Ben Kaduk 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 X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 28 Feb 2012 20:56:20 -0000 On Tue, Feb 28, 2012 at 08:31:22AM +0100, Luigi Rizzo wrote: > On Mon, Feb 27, 2012 at 07:05:45PM -0500, Ben Kaduk wrote: > ... > > > ?1. add support for devices with different number of rx and tx queues; > > > > > > ?2. add better support for zero-copy operation, adding an extra field > > > ? ? to the netmap ring to indicate how many buffers we have already processed > > > ? ? but not yet released (with help from Eddie Kohler); > > > > > > ?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. > that defines the version without the need for using __FreeBSD_version