netdev.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Rick Jones <rick.jones2@hp.com>
To: Peter P Waskiewicz Jr <peter.p.waskiewicz.jr@intel.com>
Cc: Ben Greear <greearb@candelatech.com>, NetDev <netdev@vger.kernel.org>
Subject: Re: Getting physical packet counts with LRO enabled with ixgbe?
Date: Wed, 23 Sep 2009 12:03:01 -0700	[thread overview]
Message-ID: <4ABA70E5.9070404@hp.com> (raw)
In-Reply-To: <1253731834.2538.32.camel@localhost.localdomain>

>>Next time you guys re-compile your hardware, please consider adding byte counters :)
> 
> 
> On 10G adapters, byte counters can skyrocket quickly, so we'd need to
> read them often to avoid them wrapping. 

10G Ethernet is ~1.16 GB/s (GiB/s for purists I guess) for simplicity, call that 
2GB/s or 2^31 bytes per second.  If the counter is 64 bits, that would suggest 
wrap in 2^64/2^31 or 2^33 seconds right?  Or have I made some nasty math error? 
  I'm having quit a difficult time imagining that someone would have 32 bit 
counters in a 10G NIC.

rick jones

  parent reply	other threads:[~2009-09-23 19:02 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-23 16:40 Getting physical packet counts with LRO enabled with ixgbe? Ben Greear
2009-09-23 18:32 ` Peter P Waskiewicz Jr
2009-09-23 18:46   ` Ben Greear
2009-09-23 18:50     ` Peter P Waskiewicz Jr
2009-09-23 18:56       ` Ben Greear
2009-09-23 19:03       ` Rick Jones [this message]
2009-09-25 21:45       ` Herbert Xu
2009-09-25 21:50         ` Ben Greear
2009-09-25 21:59           ` David Miller
2009-09-25 22:01             ` Herbert Xu
2009-09-25 22:12               ` Ben Greear
2009-09-25 22:40                 ` Peter P Waskiewicz Jr
2009-09-25 22:09           ` Herbert Xu
2009-09-25 21:56         ` Peter P Waskiewicz Jr
2009-09-25 22:10           ` Herbert Xu
2009-09-23 21:37   ` Ben Greear
2009-09-23 21:56     ` Ben Greear

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=4ABA70E5.9070404@hp.com \
    --to=rick.jones2@hp.com \
    --cc=greearb@candelatech.com \
    --cc=netdev@vger.kernel.org \
    --cc=peter.p.waskiewicz.jr@intel.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).