From: Ethan Weinstein <lists@stinkfoot.org>
To: "Feldman, Scott" <scott.feldman@intel.com>
Cc: Hans-Peter Jansen <hpj@urpla.net>, linux-kernel@vger.kernel.org
Subject: Re: minor e1000 bug
Date: Mon, 22 Dec 2003 14:52:45 -0500 [thread overview]
Message-ID: <3FE74B8D.8020006@stinkfoot.org> (raw)
In-Reply-To: <C6F5CF431189FA4CBAEC9E7DD5441E0102CBDD75@orsmsx402.jf.intel.com>
Feldman, Scott wrote:
>
> e100 and e1000 both query h/w for stats on a timer (2 seconds) and cache
> the results. A call into the driver's get_stats function just returns
> these cached values. With e100, there is a problem in that issuing the
> command to dump stats doesn't return right away, so rather than blocking
> in the driver by waiting for the command to complete, the driver just
> reads the results of the dump command 2 seconds prior, and then reissues
> a new dump command. So e100 stats are delayed by ~2 seconds.
>
> 3c59x (and others) query the h/w for stats in the driver's get_stats
> function directly. This gives up-to-date stats. We could do this with
> e1000, but it'll take a little bit of surgery because there is some
> other code in the driver that is dependent on stats collected over 2
> second period. Nothing that can't be fixed.
>
It'd be fantastic if we could get this implememted. I'm very pleased
with the quality of this driver save for this one small issue. I'd be
glad to help test code if necessary as I have multiple systems using
e1000's, and several are testboxes. It'd be nice to have some
semi-realtime stats from these cards.
-Ethan
next prev parent reply other threads:[~2003-12-22 19:53 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-22 19:30 minor e1000 bug Feldman, Scott
2003-12-22 19:52 ` Ethan Weinstein [this message]
[not found] <C6F5CF431189FA4CBAEC9E7DD5441E0103424209@orsmsx402.jf.intel.com>
2003-12-24 0:29 ` Feldman, Scott
2003-12-23 14:54 ` Ethan Weinstein
-- strict thread matches above, loose matches on Subject: below --
2003-12-22 5:26 Feldman, Scott
2003-12-22 10:26 ` Hans-Peter Jansen
2003-12-22 15:26 ` Ethan Weinstein
2003-12-19 20:40 Ethan Weinstein
2003-12-20 12:46 ` Hans-Peter Jansen
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=3FE74B8D.8020006@stinkfoot.org \
--to=lists@stinkfoot.org \
--cc=hpj@urpla.net \
--cc=linux-kernel@vger.kernel.org \
--cc=scott.feldman@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