From: Ingo Oeser <netdev@axxeo.de>
To: Neil Horman <nhorman@tuxdriver.com>
Cc: e1000-devel@lists.sourceforge.net, netdev@vger.kernel.org,
"Allan, Bruce W" <bruce.w.allan@intel.com>,
"Brandeburg, Jesse" <jesse.brandeburg@intel.com>,
"Ronciak, John" <john.ronciak@intel.com>,
"Kirsher, Jeffrey T" <jeffrey.t.kirsher@intel.com>,
Ben Hutchings <bhutchings@solarflare.com>
Subject: Re: [PATCH] catch up device stats when multicast >total frames
Date: Tue, 5 Aug 2008 19:12:01 +0200 [thread overview]
Message-ID: <200808051912.02053.netdev@axxeo.de> (raw)
In-Reply-To: <20080805165323.GD22123@hmsreliant.think-freely.org>
Hi all,
Neil Horman schrieb:
> Agreed, theres no great solution here.
There maybe:
1. store software counters counted in software in stat_soft_last
2. store software counters counted in hardware in stat_hard_last
3. diff them after getting the fresh counters from hardware and software
4. wait for any "get statistic" request as done with hardware counters today
5. store the combination, taking "unseen packets" into account,
as the real netstat
6. goto 1.
What do you think?
Best Regards
Ingo Oeser
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
next prev parent reply other threads:[~2008-08-05 17:12 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-08-05 11:50 [PATCH] catch up device stats when multicast > total frames Neil Horman
2008-08-05 12:15 ` Ben Hutchings
2008-08-05 13:16 ` Neil Horman
2008-08-05 16:43 ` [E1000-devel] [PATCH] catch up device stats when multicast >total frames Brandeburg, Jesse
2008-08-05 16:53 ` Neil Horman
2008-08-05 17:12 ` Ingo Oeser [this message]
2008-08-05 16:52 ` [PATCH] catch up device stats when multicast > total frames Ronciak, John
2008-08-05 18:03 ` Neil Horman
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=200808051912.02053.netdev@axxeo.de \
--to=netdev@axxeo.de \
--cc=bhutchings@solarflare.com \
--cc=bruce.w.allan@intel.com \
--cc=e1000-devel@lists.sourceforge.net \
--cc=jeffrey.t.kirsher@intel.com \
--cc=jesse.brandeburg@intel.com \
--cc=john.ronciak@intel.com \
--cc=netdev@vger.kernel.org \
--cc=nhorman@tuxdriver.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).