Thread (36 messages) 36 messages, 3 authors, 2024-08-12

Re: [Intel-wired-lan] [PATCH iwl-next v8 08/14] iavf: periodically cache PHC time

From: Alexander Lobakin <aleksander.lobakin@intel.com>
Date: 2024-07-30 13:49:54
Also in: intel-wired-lan

From: Mateusz Polchlopek <redacted>
Date: Tue, 30 Jul 2024 05:15:03 -0400
From: Jacob Keller <jacob.e.keller@intel.com>

The Rx timestamps reported by hardware may only have 32 bits of storage
for nanosecond time. These timestamps cannot be directly reported to the
Linux stack, as it expects 64bits of time.
[...]
+static void iavf_ptp_cache_phc_time(struct iavf_adapter *adapter)
+{
+	if (time_is_before_jiffies(adapter->ptp.cached_phc_updated + HZ)) {
+		/* The response from virtchnl will store the time into
+		 * cached_phc_time
Minor, but a period at the end of the sentence is needed.
+		 */
+		iavf_send_phc_read(adapter);
+	}
+}
Thanks,
Olek
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help