From owner-svn-src-projects@FreeBSD.ORG  Wed Jan  7 11:47:02 2015
Return-Path: <owner-svn-src-projects@FreeBSD.ORG>
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 11AB9479;
 Wed,  7 Jan 2015 11:47:02 +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 9073264161;
 Wed,  7 Jan 2015 11:47:00 +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 t07Bkwgi091246
 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO);
 Wed, 7 Jan 2015 14:46:58 +0300 (MSK)
 (envelope-from glebius@FreeBSD.org)
Received: (from glebius@localhost)
 by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t07BkvgD091245;
 Wed, 7 Jan 2015 14:46:57 +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, 7 Jan 2015 14:46:57 +0300
From: Gleb Smirnoff <glebius@FreeBSD.org>
To: Julian Elischer <julian@freebsd.org>
Subject: Re: svn commit: r276457 - projects/ifnet/sys/net
Message-ID: <20150107114657.GZ15484@FreeBSD.org>
References: <201412310941.sBV9fQWF038671@svn.freebsd.org>
 <54A651E8.5050109@freebsd.org>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <54A651E8.5050109@freebsd.org>
User-Agent: Mutt/1.5.23 (2014-03-12)
Cc: svn-src-projects@freebsd.org, src-committers@freebsd.org
X-BeenThere: svn-src-projects@freebsd.org
X-Mailman-Version: 2.1.18-1
Precedence: list
List-Id: "SVN commit messages for the src &quot; projects&quot;
 tree" <svn-src-projects.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/options/svn-src-projects>, 
 <mailto:svn-src-projects-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-src-projects/>
List-Post: <mailto:svn-src-projects@freebsd.org>
List-Help: <mailto:svn-src-projects-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-src-projects>, 
 <mailto:svn-src-projects-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Wed, 07 Jan 2015 11:47:02 -0000

On Fri, Jan 02, 2015 at 04:08:08PM +0800, Julian Elischer wrote:
J> On 12/31/14 5:41 PM, Gleb Smirnoff wrote:
J> > Author: glebius
J> > Date: Wed Dec 31 09:41:25 2014
J> > New Revision: 276457
J> > URL: https://svnweb.freebsd.org/changeset/base/276457
J> >
J> > Log:
J> >    A draft of the new API for interface drivers, a major milestone in
J> >    the project "opaque ifnet".
J> 
J> iti woudlbe really cool if there was an extension to the driver for 
J> "polling mode operation".
J> This would allow us to implement ethernet/IP based debugging.
J> Firewire and serial are  less and less viable options. Firewire is 
J> going away,
J> and devices often don't have serial any more.
J> A "send/recieve one packet synchronously" interface would make this 
J> feasible.

Of course a lot of fancy stuff will be possible after we hide 'struct ifnet'
from drivers. :)

The aim of the projects/ifnet is not for adding new features, but for
providing a solid ground for future features.

-- 
Totus tuus, Glebius.