commit | d24d65eda97fe51f2996538148e85d309e2460e4 | [log] [tgz] |
---|---|---|
author | Ben Greear <greearb@candelatech.com> | Fri Feb 17 13:44:23 2012 +0000 |
committer | Jeff Kirsher <jeffrey.t.kirsher@intel.com> | Fri Mar 02 18:07:52 2012 -0800 |
tree | 997ee633a60a2c945c02f4c35dd831fa02356d54 | |
parent | b4017c5368f992fb8fb3a2545a0977082c6664e4 [diff] |
e100: Fix rx-over-length statistics. 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 <greearb@candelatech.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>