From: David Miller <davem@davemloft.net>
To: shemminger@vyatta.com
Cc: netdev@vger.kernel.org
Subject: Re: [PATCH net-next] sky2: implement 64 bit stats
Date: Sat, 01 Jan 2011 14:02:35 -0800 (PST) [thread overview]
Message-ID: <20110101.140235.71111544.davem@davemloft.net> (raw)
In-Reply-To: <20101231173427.17f07ad3@nehalam>
From: Stephen Hemminger <shemminger@vyatta.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@vyatta.com>
Applied, thanks Stephen.
prev parent reply other threads:[~2011-01-01 22:02 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-01 1:34 [PATCH net-next] sky2: implement 64 bit stats Stephen Hemminger
2011-01-01 22:02 ` David Miller [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20110101.140235.71111544.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=netdev@vger.kernel.org \
--cc=shemminger@vyatta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).