From owner-svn-src-all@FreeBSD.ORG Fri Jul 23 19:27:38 2010 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 03812106566B; Fri, 23 Jul 2010 19:27:38 +0000 (UTC) (envelope-from pluknet@gmail.com) Received: from mail-ww0-f50.google.com (mail-ww0-f50.google.com [74.125.82.50]) by mx1.freebsd.org (Postfix) with ESMTP id 3D6DB8FC18; Fri, 23 Jul 2010 19:27:36 +0000 (UTC) Received: by wwe15 with SMTP id 15so4622916wwe.31 for ; Fri, 23 Jul 2010 12:27:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=su4sSieQnAqmUSiI/qy6RC63CCIv8IUPJCo5rHt+L+w=; b=r8zM1y7UEKF7l1H1STqRfPp6o/8qdH3Hf7FaSgyeA5BuR+Jc94EM6SQlOSvFz5vkz4 eYfqk5YJykgUaHYU133ipEK4wJ5+x417duM9YtwNXQueGiDWDoks8CX6iNYow+Bvf/i8 Xz5nEnmahYrtPpB7Eg7H+ZuxgNAroigE/ZhzY= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=KV+t4W499JrpKSuLBje4OVi0n5yosVKGv1E6Q222J21biF8yaEOAXKQjl4cRgAFpHa wdWG/ZpgL2lCsuKUTY5RtFcLJHrRpn1YXg4Z0d7Gi7LzX3UVmJUilsmoh2hZsqWktslV ZiZumUTEwCppxgItPlkwX6Vc/q/hWgAWLV5Vo= MIME-Version: 1.0 Received: by 10.227.156.21 with SMTP id u21mr3932599wbw.56.1279913255592; Fri, 23 Jul 2010 12:27:35 -0700 (PDT) Received: by 10.216.137.23 with HTTP; Fri, 23 Jul 2010 12:27:35 -0700 (PDT) In-Reply-To: <201007231753.o6NHresT072278@svn.freebsd.org> References: <201007231753.o6NHresT072278@svn.freebsd.org> Date: Fri, 23 Jul 2010 23:27:35 +0400 Message-ID: From: pluknet To: "George V. Neville-Neil" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org Subject: Re: svn commit: r210428 - head/sys/dev/e1000 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 23 Jul 2010 19:27:38 -0000 On 23 July 2010 21:53, George V. Neville-Neil wrote: > Author: gnn > Date: Fri Jul 23 17:53:39 2010 > New Revision: 210428 > URL: http://svn.freebsd.org/changeset/base/210428 > > Log: > =A0Fix a bug in the statistics code for tracking the head and > =A0tail pointers of the tx and rx queues. =A0 We needed a SYSCTL_PROC > =A0to correctly get the values at run time. > > =A0Submitted by: Andrew Boyer aboyer at averesystems.com > =A0MFC after: =A0 =A01 week > > Modified: > =A0head/sys/dev/e1000/if_igb.c > > Modified: head/sys/dev/e1000/if_igb.c > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > --- head/sys/dev/e1000/if_igb.c Fri Jul 23 17:44:01 2010 =A0 =A0 =A0 =A0(= r210427) > +++ head/sys/dev/e1000/if_igb.c Fri Jul 23 17:53:39 2010 =A0 =A0 =A0 =A0(= r210428) > @@ -4927,6 +4927,74 @@ igb_update_vf_stats_counters(struct adap > =A0} > > > +/** igb_sysctl_tdh_handler - Handler function > + * =A0Retrieves the TDH value from the hardware > + */ > +static int igb_sysctl_tdh_handler(SYSCTL_HANDLER_ARGS) > +{ ^^ This function definition (and three ones below) breaks style(9): " The function type should be on a line by itself preceding the functio= n." --=20 wbr, pluknet