Hello,

I found the following conversations about PTP time sync in multiple time 
domains using vclocks.


https://sourceforge.net/p/linuxptp/mailman/linuxptp-users/thread/ZC5fs7FCI6qf3eLe%40localhost/#msg37800712

https://sourceforge.net/p/linuxptp/mailman/linuxptp-users/thread/20210806163702.GA15386%40hoboy.vegasvil.org/#msg37331851

In the second link it says,


"A virtual PHC is nothing more than a Linux kernel
timecounter/cyclecounter structure on top of a physical PHC which the
kernel keeps completely free-running. The timecounter/cyclecounter
structure provides 'virtual' time bases on top of the same physical
counter, i.e. when you adjust the frequency or the absolute time of the
virtual clock, only a software correction factor is modified, which is
applied to all raw clock values read from the physical PHC. So the
clock_gettime() returned by a virtual PHC is a simple "a * x + b"
translation of the clock_gettime() returned by the backing PHC. This is
also what allows you to have many virtual clocks on top of the same
physical one."


My understanding is each domain has a set of PTP messages associated with it.  
If we have two domains there would two sets of Sync, Follow Up and path delay 
messages on the network simultaneously.  Would the hardware stamping in the MAC 
timestamp frames/messages from both domains?  If the MAC does capture 
timestamps for the PTP frames in both domains, then does the PHC and vclocks 
process those timestamps?

Thank you,


[cid:image001.png@01DA0B5D.67D77B10]
Eric Decker
TORC Robotics, Inc.
405 Partnership Drive, Blacksburg, VA 24060
Email:     eric.dec...@torc.ai<mailto:eric.dec...@torc.ai>
Website:  https://torc.ai<https://torc.ai/>

[cid:image002.png@01DA0B5D.67D77B10]<https://www.facebook.com/torcrobotics/> 
[cid:image003.png@01DA0B5D.67D77B10] 
<https://www.linkedin.com/company/torc-technologies/about/?viewAsMember=true>  
[cid:image004.png@01DA0B5D.67D77B10] <https://twitter.com/torcrobotics>  
[cid:image005.png@01DA0B5D.67D77B10] 
<https://www.youtube.com/channel/UCGKXBpisBMTJtshrr3KkOTg?view_as=subscriber>  
[cid:image006.png@01DA0B5D.67D77B10] 
<https://www.instagram.com/torc_robotics/?hl=en>  
[cid:image007.jpg@01DA0B5D.67D77B10] 
<https://www.glassdoor.com/Overview/Working-at-TORC-Robotics-EI_IE1027022.11,24.htm>


Confidentiality Notice: This email message, including any attachments, is for 
the sole use of the intended recipient(s) and may contain confidential and 
privileged information. Any unauthorized review, use, disclosure or 
distribution is prohibited. If you are not the intended recipient, please 
contact the sender by reply email and destroy all copies of the original 
message.
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to