]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
ixgbe: reduce PTP Tx timestamp timeout to 1 second
authorJacob Keller <jacob.e.keller@intel.com>
Mon, 8 Apr 2019 23:51:58 +0000 (16:51 -0700)
committerJeff Kirsher <jeffrey.t.kirsher@intel.com>
Wed, 5 Jun 2019 20:04:29 +0000 (13:04 -0700)
commit8fd70994028025b64888ee0e6ee4762cac72f11a
treec17a3b18bf9a9f6d4be5f3769ebfb74f8632c464
parent1bc1ffb04070d2791d8bc384635094aab7138e98
ixgbe: reduce PTP Tx timestamp timeout to 1 second

Previously we waited for a whole 15 seconds before we cleared the Tx
timestamp state. This is astronomically long compared to the worst case
timings expected by our devices. In addition, this is longer than the
wait in ptp4l when it detects a fault (caused by missing Tx timestamps).
Thus, reduce the timer to only 1 second, which is well after the maximum
expected delay. This should reduce user frustration when a timestamp
does get dropped for some reason.

Signed-off-by: Jacob Keller <jacob.e.keller@intel.com>
Tested-by: Andrew Bowers <andrewx.bowers@intel.com>
Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
drivers/net/ethernet/intel/ixgbe/ixgbe_ptp.c