From owner-svn-src-head@FreeBSD.ORG Tue Mar 10 10:25:28 2015 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B4E6A119; Tue, 10 Mar 2015 10:25:28 +0000 (UTC) Received: from cell.glebius.int.ru (glebius.int.ru [81.19.69.10]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "cell.glebius.int.ru", Issuer "cell.glebius.int.ru" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 3CA7314E; Tue, 10 Mar 2015 10:25:27 +0000 (UTC) Received: from cell.glebius.int.ru (localhost [127.0.0.1]) by cell.glebius.int.ru (8.14.9/8.14.9) with ESMTP id t2AAPPtR010558 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 10 Mar 2015 13:25:25 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t2AAPPZT010557; Tue, 10 Mar 2015 13:25:25 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Tue, 10 Mar 2015 13:25:25 +0300 From: Gleb Smirnoff To: Ian Lepore Subject: Re: svn commit: r279828 - head/sys/dev/cadence Message-ID: <20150310102525.GU17947@FreeBSD.org> References: <201503092239.t29MdxUo089384@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201503092239.t29MdxUo089384@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18-1 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, 10 Mar 2015 10:25:28 -0000 On Mon, Mar 09, 2015 at 10:39:59PM +0000, Ian Lepore wrote: I> Author: ian I> Date: Mon Mar 9 22:39:58 2015 I> New Revision: 279828 I> URL: https://svnweb.freebsd.org/changeset/base/279828 I> I> Log: I> Use the new ifnet API. Also, allocate bus_dma_maps as needed instead of I> pre-allocating them all at start-up. Also fix a bug in cgem_stop(); before, I> it wasn't properly unloading dma maps due to a cut-and-paste error. Ian, the new ifnet API isn't the last word in ifnet API. :) Since you are already into that, I'd appreciate if you look into projects/ifnet branch and convert cgem(4) to it. As examples, you can look at msk(4), bge(4), xl(4) and vtnet(4) in the branch. -- Totus tuus, Glebius.