From owner-freebsd-net@freebsd.org Wed May 11 18:27:20 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 D79C9B37CE0 for ; Wed, 11 May 2016 18:27:20 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: from mail-io0-x235.google.com (mail-io0-x235.google.com [IPv6:2607:f8b0:4001:c06::235]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id AE7EF1F58 for ; Wed, 11 May 2016 18:27:20 +0000 (UTC) (envelope-from kmacybsd@gmail.com) Received: by mail-io0-x235.google.com with SMTP id f89so65322457ioi.0 for ; Wed, 11 May 2016 11:27:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=Zv/pNNbpl7prQ4u8uaU2uCZeiDgQAR68FkjNWEW5DNs=; b=dPzgd0m3xA+DImT6hpNOngsTtOuK87zAjR3kOh0NAcM8roA0v5URJASQvYWrY3jMuq ABE+lQgXReSi3hRof9502LpiTdwf+++DWpN4xAP2CmZGra94sguQMNQsAP5u47/SYyuV ZEck8OPAjA/klfIPolf2c9jeX0ORAH3vji8mlZOH/60TIvVwD+5g8rbj+GkdBs2Cd7xD K6udzHCeqoc6XuzgzCMaTPvoqywZ5q0pGpQ+v08fTSH19T48d2BzmROMPrHWp+vpjW2s PZruG4oNVFTSm4dLH7LPniZ/Sc+paGB06vD/9n56h44yC+jbGMExsydJSz9kKN3KO5Xf POkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Zv/pNNbpl7prQ4u8uaU2uCZeiDgQAR68FkjNWEW5DNs=; b=bzST0sVn3X7B6V0rkAUeKOOzJAMDZPqa14zVCdK1MTrS1H5Zp4mYgSvtPFZX4+m+tq CuQuW45YdkG7HmPjfvPwkJjTC1w2DGeCGlIIqFuxt1AoW04c9Le+X96ztRxPPQL3Emsk rpTsELiSI80DUrzyvUcEc6hfPImhADWTEc0h5zPKRVMZ+hqaNa1de86wKvqvybmfVsup fqdHkW4agp9/uzPQ/MxZviyUi6b4M/u1mPjmPUmoXrOO0V5tqFFOXkmbFIcMdjbqqjuO VTYQ9iR9GZacuFaQ6X5Vn9+I7X6x/KjgNzdeg9lN9Sz7XJdoXXP5H+eeUoDkJw+ftxif RL9A== X-Gm-Message-State: AOPr4FWJepRpzFkT8eX8+hD8L5IOR51/VXfvu8rubSpzCgykC7H/0mzpyZKpJUdszK5cychlQuJxrfpsl8I+eQ== MIME-Version: 1.0 X-Received: by 10.36.44.200 with SMTP id i191mr3298707iti.99.1462991240066; Wed, 11 May 2016 11:27:20 -0700 (PDT) Sender: kmacybsd@gmail.com Received: by 10.107.140.8 with HTTP; Wed, 11 May 2016 11:27:20 -0700 (PDT) In-Reply-To: <8cf1894ea5271efab3f544e378679cb2@ultimatedns.net> References: <20160510172524.GK79033@strugglingcoder.info> <8cf1894ea5271efab3f544e378679cb2@ultimatedns.net> Date: Wed, 11 May 2016 11:27:20 -0700 X-Google-Sender-Auth: WOfKvdf3jdGhVi33CZPhc11W2Y0 Message-ID: Subject: Re: Questions on iflib From: "K. Macy" To: Chris H Cc: "freebsd-net@freebsd.org" Content-Type: text/plain; charset=UTF-8 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 18:27:20 -0000 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