]> 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)
commit7938550830f38a0bff0bc81ad3f80cfd23f78a03
treec17a3b18bf9a9f6d4be5f3769ebfb74f8632c464
parent77113138b699fde0a88ad1055e32bb5da39026ba
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