From owner-svn-src-head@FreeBSD.ORG Thu Apr 30 23:27:46 2015 Return-Path: Delivered-To: svn-src-head@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 AE4656BC; Thu, 30 Apr 2015 23:27:46 +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 395171C1B; Thu, 30 Apr 2015 23:27:45 +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 t3UNRbmd024945 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Fri, 1 May 2015 02:27:37 +0300 (MSK) (envelope-from glebius@FreeBSD.org) Received: (from glebius@localhost) by cell.glebius.int.ru (8.14.9/8.14.9/Submit) id t3UNRbj0024944; Fri, 1 May 2015 02:27:37 +0300 (MSK) (envelope-from glebius@FreeBSD.org) X-Authentication-Warning: cell.glebius.int.ru: glebius set sender to glebius@FreeBSD.org using -f Date: Fri, 1 May 2015 02:27:37 +0300 From: Gleb Smirnoff To: John Baldwin Cc: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: Re: svn commit: r282280 - in head/sys/dev: e1000 ixgbe ixl Message-ID: <20150430232736.GB546@FreeBSD.org> References: <201504301823.t3UINd74073186@svn.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <201504301823.t3UINd74073186@svn.freebsd.org> User-Agent: Mutt/1.5.23 (2014-03-12) X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.20 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: Thu, 30 Apr 2015 23:27:46 -0000 John, On Thu, Apr 30, 2015 at 06:23:39PM +0000, John Baldwin wrote: J> Author: jhb J> Date: Thu Apr 30 18:23:38 2015 J> New Revision: 282280 J> URL: https://svnweb.freebsd.org/changeset/base/282280 J> J> Log: J> Various fixes to the stats in igb(4), ixgbe(4), and ixl(4). J> - Use hardware counters for ifnet stats in igb(4) when possible. This J> ensures these stats include packets that bypass the regular stack via J> netmap. J> - Don't derefence values off the end of the igb(4) VF stats structure. J> Instead, add a dedicated if_get_counter method for igb(4) VF interfaces. J> - Report missed packets on igb(4) as input queue drops rather than an J> input error. J> - Report bug_ring drop counts as output queue drops for igb(4) and ixgbe(4). J> - Export the buf_ring drop stats for individual rings via sysctl on J> ixgbe(4).^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ While you are here, let me remind you about this plan: https://lists.freebsd.org/pipermail/svn-src-head/2014-October/063575.html We can prototype the API to userland now, write down a utility that uses it, or add the functionality to an existing utility. And start with Intel drivers, that seem to be most interested in extra stats. -- Totus tuus, Glebius.