aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorAlex Elder <[email protected]>2022-06-13 12:17:57 -0500
committerDavid S. Miller <[email protected]>2022-06-15 09:07:58 +0100
commit65d39497fab609f9b454d76b744fd463a441fecf (patch)
treea3ce7db8a414bbbe0ad7bf9cf16a1ea10380c412 /tools/perf/scripts/python
parent4e0f28e9ee4b6d690ba6d617e5d0524327d0d610 (diff)
net: ipa: simplify TX completion statistics
When a TX request is issued, its channel's accumulated byte and transaction counts are recorded. This currently does *not* take into account the transaction being committed. Later, when the transaction completes, the number of bytes and transactions that have completed since the transaction was committed are reported to the network stack. The transaction and its byte count are accounted for at that time. Instead, record the transaction and its bytes in the counts recorded at commit time. This avoids the need to do so when the transaction completes, and provides a (small) simplification of that code. Signed-off-by: Alex Elder <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions