diff options
author | Julian Wiedmann <jwi@linux.ibm.com> | 2019-08-23 11:48:49 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-08-24 16:39:18 -0700 |
commit | eeac0e20a173dd9407e7092b3ddb45917249d68d (patch) | |
tree | 2a139d635184a695d9dab34e440d36d578727280 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 313dc689b16c08b081939ee9b87dac3736c780e3 (diff) |
s390/qeth: collect accurate TX statistics
This consolidates the SW statistics code, and improves it to
(1) account for the header overhead of each segment on a TSO skb,
(2) count dangling packets as in-error (during eg. shutdown), and
(3) only count offloads when the skb was successfully transmitted.
We also count each segment of an TSO skb as one packet - except for
tx_dropped, to be consistent with dev->tx_dropped.
Signed-off-by: Julian Wiedmann <jwi@linux.ibm.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions