aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorBrett Creeley <[email protected]>2018-10-26 17:40:59 +0000
committerJeff Kirsher <[email protected]>2018-11-06 20:46:47 +0000
commitd944b46992f8e99b6bdc721e44b02e5ca294fa2b (patch)
tree891167ff96bcf56c911bf802576de2d4c5df3301 /tools/perf/scripts/python
parentice: Fix tx_timeout in PF driver (diff)
downloadkernel-d944b46992f8e99b6bdc721e44b02e5ca294fa2b.tar.gz
kernel-d944b46992f8e99b6bdc721e44b02e5ca294fa2b.zip
ice: Fix the bytecount sent to netdev_tx_sent_queue
Currently if the driver does a TSO offload the bytecount sent to netdev_tx_sent_queue will be incorrect. This is because in ice_tso we overwrite the initial value that we set in ice_tx_map. This creates a mismatch between the Tx and Tx clean flow. In the Tx clean flow we calculate the bytecount (called total_bytes) as we clean the descriptors so the value used in the Tx clean path is correct. Fix this by using += in ice_tso instead of =. This fixes the mismatch in bytecount mentioned above. Signed-off-by: Brett Creeley <[email protected]> Signed-off-by: Anirudh Venkataramanan <[email protected]> Tested-by: Andrew Bowers <[email protected]> Signed-off-by: Jeff Kirsher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions