Thread (25 messages) 25 messages, 5 authors, 2022-03-26

Re: [PATCH net-next v1 2/6] ptp: Request cycles for TX timestamp

From: Miroslav Lichvar <hidden>
Date: 2022-03-24 13:55:22

On Thu, Mar 24, 2022 at 06:49:34AM -0700, Richard Cochran wrote:
On Tue, Mar 22, 2022 at 10:07:18PM +0100, Gerhard Engleder wrote:
quoted
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -578,6 +578,9 @@ enum {
 	/* device driver is going to provide hardware time stamp */
 	SKBTX_IN_PROGRESS = 1 << 2,
 
+	/* generate hardware time stamp based on cycles if supported */
+	SKBTX_HW_TSTAMP_USE_CYCLES = 1 << 3,
Bit 4 used, but 3 was unused... interesting!
It seems the bit 3 and 5 were removed in commit 06b4feb37e64
("net: group skb_shinfo zerocopy related bits together.").

-- 
Miroslav Lichvar
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help