[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Sat, 01 Jan 2011 14:02:35 -0800 (PST)
From: David Miller <davem@...emloft.net>
To: shemminger@...tta.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH net-next] sky2: implement 64 bit stats
From: Stephen Hemminger <shemminger@...tta.com>
Date: Fri, 31 Dec 2010 17:34:27 -0800
> This implements 64 bit statistics support and fixes races when reading
> counter values. The PHY counters can only be accessed 16 bits at a time,
> so they are subject to carry races.
>
> NB:
> * TX/RX counters are maintained in software because the the hardware packet count
> is only a 32 bit value.
>
> * Error counters are really only 32 bit.
>
> * Old 32 bit counter fields in dev->stats still used for some
> software counters
>
> Signed-off-by: Stephen Hemminger <shemminger@...tta.com>
Applied, thanks Stephen.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists