summaryrefslogtreecommitdiffstats
path: root/lib/uuid.c
diff options
context:
space:
mode:
authorJacob Keller2017-05-03 19:29:02 +0200
committerJeff Kirsher2017-05-31 12:12:06 +0200
commit0bc0706b46cd345537f9bd3cdf5d84c33f5484e4 (patch)
treece7994a8addd49429ad7bcfed1d35d8d4c6f36dd /lib/uuid.c
parenti40e: use pf data structure directly in i40e_ptp_rx_hang (diff)
downloadkernel-qcow2-linux-0bc0706b46cd345537f9bd3cdf5d84c33f5484e4.tar.gz
kernel-qcow2-linux-0bc0706b46cd345537f9bd3cdf5d84c33f5484e4.tar.xz
kernel-qcow2-linux-0bc0706b46cd345537f9bd3cdf5d84c33f5484e4.zip
i40e: check for Tx timestamp timeouts during watchdog
The i40e driver has logic to handle only one Tx timestamp at a time, using a state bit lock to avoid multiple requests at once. It may be possible, if incredibly unlikely, that a Tx timestamp event is requested but never completes. Since we use an interrupt scheme to determine when the Tx timestamp occurred we would never clear the state bit in this case. Add an i40e_ptp_tx_hang() function similar to the already existing i40e_ptp_rx_hang() function. This function runs in the watchdog routine and makes sure we eventually recover from this case instead of permanently disabling Tx timestamps. Note: there is no currently known way to cause this without hacking the driver code to force it. Signed-off-by: Jacob Keller <jacob.e.keller@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
Diffstat (limited to 'lib/uuid.c')
0 files changed, 0 insertions, 0 deletions