Thread (2 messages) flat view 2 messages, 2 authors, 2012-02-17

Re: [PATCH] e100: Fix rx-over-length statistics.

From: Jeff Kirsher <hidden>
Date: 2012-02-17 00:08:49

On Thu, 2012-02-16 at 10:55 -0800, greearb@candelatech.com wrote:
From: Ben Greear <redacted>

The old code would += the total errors every time
stats were gathered.  Instead, keep a count of short-pkt
and long-pkt counters and then simply add them together
for the rx-over-length stat.

Signed-off-by: Ben Greear <redacted>
---
:100644 100644 4d8a616... db20a36...
M  drivers/net/ethernet/intel/e100.c
 drivers/net/ethernet/intel/e100.c |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-) 
Thanks Ben, it has been added to my queue.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help