Re: [PATCH] catch up device stats when multicast > total frames

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ronciak, John <john.ronciak@...>
Cc: Ben Hutchings <bhutchings@...>, netdev@vger.kernel.org <netdev@...>, e1000-devel@lists.sourceforge.net <e1000-devel@...>, Kirsher, Jeffrey T <jeffrey.t.kirsher@...>, Brandeburg, Jesse <jesse.brandeburg@...>, Allan, Bruce W <bruce.w.allan@...>
Date: Tuesday, August 5, 2008 - 2:03 pm

On Tue, Aug 05, 2008 at 09:52:28AM -0700, Ronciak, John wrote:
Yuk.  I can't imagine why anyone would want that, but if thats what were stuck
with...


Thats the consensus that we came to in the bz, yes.

We went back and forth on this point several times in the bugzilla, please re-read
(specifically see comment #93).  I have no problem
with e1000 recording total frame recieved count from hardware directly.  In fact
it seems to make much more sense to me to do just that.  However, e1000 doesn't
do that currently, opting instead to use this software counter.  Why that is I
don't know, but I was hoping that one of you might.  I'm working under the
assumption that some subset of hardware driven by e1000 doesn't have a total
packets counter, or has some other issue which necessitates a software based
total_rx_packets counter.  I don't really know though, and you never were able
to confirm that there was some alternate reason this software counter was
needed.  If the consensus is though, that the software counter can be removed
and the hardware counter read directly, then I'm happy to recind this patch, and
submit one that only uses the hardware counter.
 
 
Because we'd had some discussion in the bz about the topic above, but were never
able to conclude if using the hardware counter was a universally safe/reasonable
thing to do.  I'd asked you in comment #111 a month ago if you had any further
comment on the subject, when test results started comming back, indicating this
patch fixed the problem, but I never heard from you.  I wanted to get some more
commentary on this (and make sure it was upstream before it went into RHEL), so
I posted here.

Regards
Neil


-- 
/****************************************************
 * Neil Horman <nhorman@tuxdriver.com>
 * Software Engineer, Red Hat
 ****************************************************/
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH] catch up device stats when multicast > total ..., Neil Horman, (Tue Aug 5, 2:03 pm)
RE: [E1000-devel] [PATCH] catch up device stats when multica..., Brandeburg, Jesse, (Tue Aug 5, 12:43 pm)