summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJacob Keller <jacob.e.keller@intel.com>2017-05-03 20:28:54 +0300
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>2017-05-31 13:08:09 +0300
commit69077577af5054da8c8adfb6c1ebb565c2f1f158 (patch)
tree9a73ae4b874d81f2d325c6aa267bca2ffa82e6e2 /tools/perf/scripts/python/stackcollapse.py
parentbbc4e7d273b594debbcccdf588085b3521365c50 (diff)
downloadlinux-69077577af5054da8c8adfb6c1ebb565c2f1f158.tar.xz
i40e: avoid permanent lock of *_PTP_TX_IN_PROGRESS
The i40e driver uses a bit lock to indicate when a Tx timestamp is in progress to avoid attempting to timestamp multiple packets at once. This is required because hardware only has registers to handle one request at a time. There is a corner case where we failed to cleanup the bit lock after a failed transmit. This can potentially result in a state bit being locked forever. Add some cleanup code to i40e_xmit_frame_ring to check and make sure we cleanup incase of these failures. We also modify i40e_tx_map to return an error code indication DMA failure. Reported-by: Reported-by: David Mirabito <davidm@metamako.com> Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions