diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2020-08-01 11:43:40 +0100 |
---|---|---|
committer | Russell King (Oracle) <rmk+kernel@armlinux.org.uk> | 2025-04-04 14:39:54 +0100 |
commit | 7ac2d25f3152509a5ce231025b9cc2b00aa8917d (patch) | |
tree | 1b54085526c8e477d6ce15dd01a5ddcbb9a77c3e /rust/helpers/helpers.c | |
parent | 8926cccd5024f42be8b77c8813e202870c7fd841 (diff) |
net: mvpp2: tai: warn once if we fail to update our timestamp
The hardware timestamps for packets contain a truncated seconds field,
only containing two bits of seconds. In order to provide the full
number of seconds, we need to keep track of the full hardware clock by
reading it every two seconds.
However, if we fail to read the clock, we silently ignore the error.
Print a warning indicating that the PP2 TAI clock timestamps have
become unreliable.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions