From owner-svn-src-projects@FreeBSD.ORG Wed Dec 31 10:25:15 2014 Return-Path: Delivered-To: svn-src-projects@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 68F565D6; Wed, 31 Dec 2014 10:25:15 +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 E3CE8674EF; Wed, 31 Dec 2014 10:25:13 +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 sBVAPAYD038870 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Wed, 31 Dec 2014 13:25:10 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id sBVAPA9g038869; Wed, 31 Dec 2014 13:25:10 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Wed, 31 Dec 2014 13:25:10 +0300 From: Gleb Smirnoff To: src-committers@freebsd.org, svn-src-projects@freebsd.org Subject: Re: svn commit: r276468 - projects/ifnet/sys/dev/virtio/network Message-ID: <20141231102510.GJ15484@FreeBSD.org> References: <201412311008.sBVA8IQn049877@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201412311008.sBVA8IQn049877@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-projects@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: "SVN commit messages for the src " projects" tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Dec 2014 10:25:15 -0000 On Wed, Dec 31, 2014 at 10:08:18AM +0000, Gleb Smirnoff wrote: T> Author: glebius T> Date: Wed Dec 31 10:08:17 2014 T> New Revision: 276468 T> URL: https://svnweb.freebsd.org/changeset/base/276468 T> T> Log: T> Convert vtnet(4) to new interface API. This is a more complex example than T> loop(4) and can be used as reference when converting other drivers. Now projects/ifnet can compile and run a minimal kernel that runs in virtual machine environment, having only "device loop" and "device vtnet" in kernel config and no modules. The above commits were done from a system running projects/ifnet, so it kinda works :) Now heavy lifting needs to be performed: - Convert as much drivers as possible. This is a very big piece of work. - Fix ALTQ to mask if_output instead of mask ifqueue, delete ifqueue. - Fix lagg(4) to mask if_output. Of course experience of converting just two drivers isn't enough to build a perfect API, so the API is about to change as we are going through drivers. So, this email is official request to review projects/ifnet, comment on it, provide input, and try to convert a driver that you are running on your testbox, desktop or laptop. -- Totus tuus, Glebius.