On Mon, May 15, 2023 at 06:26:07PM -0400, Kishen Maloor wrote: > For ports that are configured with "run_cmlds=1", i.e. CMLDS Link > Ports, this change updates port_pdelay_request(), process_pdelay_req() and > port_peer_delay() to utilize the CMLDS sdoid/domainNumber/portId > along code paths where necessary. It also ensures that > neighborRateRatio is calculated on CMLDS Link Ports and is available > to users of MID_CMLDS_INFO_NP. Further, process_pdelay_request() > enforces two-step Pdelay when responding as CMLDS. > These changes are in accordance to the requirements outlined in > IEEE 1588, clause 16.6.3. > > In addition, CMLDS Link Ports respond with instance-specific peer delay > messages to PdelayReqs with an sdoid/domainNumber that match their ptp4l > instance configuration. This aims to address the requirement outlined > above NOTE 3 in IEEE 802.1AS-2020, clause 11.2.17.1. > > Note that all these changes take effect only in ports with a > "run_cmlds=1" setting. Default behavior applies otherwise.
This patch can be dropped. The text of 1588 strongly suggests that the CMLDS service be stand alone daemon. However, we can provide the same functionality without the extra complexity, by simply letting ptp4l serve the measured peer delay to any local client. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel