Skip to contentSkip to conversation

net-timestamp: correct the use of SOF_TIMESTAMPING_RAW_HARDWARE

PATCH Superseded Jason Xing 2 participants 3 messages Sep 6, 2024

Subsystems (5)

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Jason Xing

author
#0 lore raw

PATCH 1/1 net-timestamp: correct the use of SOF_TIMESTAMPING_RAW_HARDWARE

From: Jason Xing <[email protected]>

SOF_TIMESTAMPING_RAW_HARDWARE is a report flag which passes the timestamps generated by either SOF_TIMESTAMPING_TX_HARDWARE or SOF_TIMESTAMPING_RX_HARDWARE to the userspace all the time.

So let us revise the doc here.

---
previous version

1. cook this as a stand-alone patch (Willem)
2. add Willem's reviewed-by tag since this patch doesn't change
3. move the reference link at the top of S-b tag

---
 Documentation/networking/timestamping.rst | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Documentation/networking/timestamping.rst +2 -1
index 5e93cd71f99f..9c7773271393 100644
@@ -158,7 +158,8 @@ SOF_TIMESTAMPING_SYS_HARDWARE:
 
 SOF_TIMESTAMPING_RAW_HARDWARE:
   Report hardware timestamps as generated by
-  SOF_TIMESTAMPING_TX_HARDWARE when available.
+  SOF_TIMESTAMPING_TX_HARDWARE or SOF_TIMESTAMPING_RX_HARDWARE
+  when available.
 
 
 1.3.3 Timestamp Options
Signature · 1 line
2.37.3
maintainer
#1 lore raw
Quoted 9 lines · Jason Xing

From: Jason Xing <[email protected]>

SOF_TIMESTAMPING_RAW_HARDWARE is a report flag which passes the timestamps generated by either SOF_TIMESTAMPING_TX_HARDWARE or SOF_TIMESTAMPING_RX_HARDWARE to the userspace all the time.

So let us revise the doc here.

nit: duplicate keyword

Quoted 2 lines

indeed

Quoted 1 line
author
#2 lore raw
Quoted 11 lines · Willem de Bruijn
Quoted 9 lines · Jason Xing

From: Jason Xing <[email protected]>

SOF_TIMESTAMPING_RAW_HARDWARE is a report flag which passes the timestamps generated by either SOF_TIMESTAMPING_TX_HARDWARE or SOF_TIMESTAMPING_RX_HARDWARE to the userspace all the time.

So let us revise the doc here.

Something seems wrong with my macbook... Really strange

Ah, sorry, I have to repost it...

Quoted 7 lines

nit: duplicate keyword

Quoted 2 lines

indeed

Thanks.