]> git.baikalelectronics.ru Git - kernel.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)
commitac92d895b36947414457f594a27f1c1f53f84140
treec17a3b18bf9a9f6d4be5f3769ebfb74f8632c464
parente8d00ddf2c034b46e5726779a168cc3e8bc495dd
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