Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 2010 23:27:35 +0400
From:      pluknet <pluknet@gmail.com>
To:        "George V. Neville-Neil" <gnn@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r210428 - head/sys/dev/e1000
Message-ID:  <AANLkTikYRjLeC7z5fb34=DsAi2PvBZT5uM4xffVgL9Br@mail.gmail.com>
In-Reply-To: <201007231753.o6NHresT072278@svn.freebsd.org>
References:  <201007231753.o6NHresT072278@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

On 23 July 2010 21:53, George V. Neville-Neil <gnn@freebsd.org> wrote:
> Author: gnn
> Date: Fri Jul 23 17:53:39 2010
> New Revision: 210428
> URL: http://svn.freebsd.org/changeset/base/210428
>
> Log:
>  Fix a bug in the statistics code for tracking the head and
>  tail pointers of the tx and rx queues.   We needed a SYSCTL_PROC
>  to correctly get the values at run time.
>
>  Submitted by: Andrew Boyer aboyer at averesystems.com
>  MFC after:    1 week
>
> Modified:
>  head/sys/dev/e1000/if_igb.c
>
> Modified: head/sys/dev/e1000/if_igb.c
> ==============================================================================
> --- head/sys/dev/e1000/if_igb.c Fri Jul 23 17:44:01 2010        (r210427)
> +++ head/sys/dev/e1000/if_igb.c Fri Jul 23 17:53:39 2010        (r210428)
> @@ -4927,6 +4927,74 @@ igb_update_vf_stats_counters(struct adap
>  }
>
>
> +/** igb_sysctl_tdh_handler - Handler function
> + *  Retrieves 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 function."

-- 
wbr,
pluknet



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTikYRjLeC7z5fb34=DsAi2PvBZT5uM4xffVgL9Br>