diff options
| author | Eric Dumazet <[email protected]> | 2010-10-15 17:27:10 +0000 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2010-10-18 07:54:29 -0700 |
| commit | 12dcd86b75d571772512676ab301279952efc0b0 (patch) | |
| tree | 8214cabf20bfcba9fb58c642f5d1d2b544f4966e /tools/perf/scripts/python | |
| parent | dce87b960cf4794141f067d8c8180ccc6716513f (diff) | |
igb: fix stats handling
There are currently some problems with igb.
- On 32bit arches, maintaining 64bit counters without proper
synchronization between writers and readers.
- Stats updated every two seconds, as reported by Jesper.
(Jesper provided a patch for this)
- Potential problem between worker thread and ethtool -S
This patch uses u64_stats_sync, and convert everything to be 64bit safe,
SMP safe, even on 32bit arches. It integrates Jesper idea of providing
accurate stats at the time user reads them.
Signed-off-by: Eric Dumazet <[email protected]>
Tested-by: Emil Tantilov <[email protected]>
Signed-off-by: Jeff Kirsher <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions