From owner-freebsd-net@freebsd.org Wed May 11 19:46:37 2016 Return-Path: Delivered-To: freebsd-net@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id B72D4B3731A for ; Wed, 11 May 2016 19:46:37 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from udns.ultimatedns.net (static-24-113-41-81.wavecable.com [24.113.41.81]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 990D11F00 for ; Wed, 11 May 2016 19:46:36 +0000 (UTC) (envelope-from bsd-lists@bsdforge.com) Received: from ultimatedns.net (localhost [127.0.0.1]) by udns.ultimatedns.net (8.14.9/8.14.9) with ESMTP id u4BJljGt052899 for ; Wed, 11 May 2016 12:47:51 -0700 (PDT) (envelope-from bsd-lists@bsdforge.com) To: "freebsd-net@freebsd.org" In-Reply-To: References: <20160510172524.GK79033@strugglingcoder.info> <8cf1894ea5271efab3f544e378679cb2@ultimatedns.net>, From: "Chris H" Subject: Re: Questions on iflib Date: Wed, 11 May 2016 12:47:51 -0700 Content-Type: text/plain; charset=UTF-8; format=fixed MIME-Version: 1.0 Message-id: <936d7920c3d2b29a9d2e9bd7447c9515@ultimatedns.net> Content-Transfer-Encoding: 8bit X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 May 2016 19:46:37 -0000 On Wed, 11 May 2016 11:27:20 -0700 "K. Macy" wrote > On Wed, May 11, 2016 at 7:56 AM, Chris H wrote: > > On Tue, 10 May 2016 10:25:24 -0700 hiren panchasara > > wrote > > > >> + Kip, Scott. > >> > >> On 05/10/16 at 04:46P, David Somayajulu wrote: > >> > Hi All, > >> > I have a couple of questions on iflib : > >> > > >> > 1. Are there plans to incorporate iflib into CURRENT. If yes, will > >> > it make it into FreeBSD11 release ? > >> > >> Yes. The library itself (without any drivers) is being prepared for > >> committing to CURRENT. > > This is intended to be optional. Right? > > The name Iflib is short for iflnet library. A driver has to be > programmed to it. It will always be possible to program directly to > ifnet, but henceforth it will be frowned upon when not absolutely > necessary. As iflib will ultimately make the driver more performant > and more maintainable. As a counterexample, the Chelsio driver has to > manage multiple ports on a single device and handle synchronization > with upper level protocols. It's also extremely well optimized > already. I don't know of any other network driver that can justify > opting out for one of those reasons, much less both. > > -M No. Makes perfect sense. I'm afraid I mis-guessed it's intent. Sorry for the noise, and thanks for taking the time to reply. :) --Chris --