summaryrefslogtreecommitdiff
path: root/drivers/ide
diff options
context:
space:
mode:
authorVinicius Costa Gomes <vinicius.gomes@intel.com>2020-08-20 16:02:17 -0700
committerTony Nguyen <anthony.l.nguyen@intel.com>2020-09-28 14:42:46 -0700
commitb03c49cde61f9e5a68cb0b1f3540fcb20b27b6fa (patch)
tree3147c15f3e2c0d268e5bf9db65ee46e960ff1bc0 /drivers/ide
parente5f020ad610b11827914245048ec55a7bb030944 (diff)
igc: Save PTP time before a reset
Many TSN features depend on the internal PTP clock, so the internal PTP jumping when the adapter is reset can cause problems, usually in the form of "TX Hangs" warnings in the driver. The solution is to save the PTP time before a reset and restore it after the reset is done. The value of the PTP time is saved before a reset and we use the difference from CLOCK_MONOTONIC from reset time to now, to correct what's going to be the new PTP time. This is heavily inspired by commit bf4bf09bdd91 ("i40e: save PTP time before a device reset"). Signed-off-by: Vinicius Costa Gomes <vinicius.gomes@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Tony Nguyen <anthony.l.nguyen@intel.com>
Diffstat (limited to 'drivers/ide')
0 files changed, 0 insertions, 0 deletions