Re: [Linuxptp-devel] [PATCH RFC 0/7] Support for virtual clocks
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2022-01-20 11:49:54
|
On Thu, Jan 20, 2022 at 11:24:59AM +0000, Geva, Erez wrote: > Hi, > > When we would use multiple PHC per interface (or per bridge/switch). > How can we defer a real PHC from virtual PHC? I think you would need to iterate over all interfaces and find the one which has the vclock, and then get the index of its real PHC. > Would not it be easier to simply call then multiple PHC and use the index regardless if it is virtual or not. I'm not sure to what exactly you are referring to, but in the patches I sent we need to know whether it's a virtual clock in order to bind the sockets. > As for the PORT_PROPERTIES_NP. It is a port TLV not a clock TLV. With the jbod option each port can have a different PHC. > I think it is better to add a new TLV and not break backward compatible of PORT_PROPERTIES_NP. > A patch like that was rejected 2 month ago. Ok. Thanks, -- Miroslav Lichvar |