[Linuxptp-devel] [PATCH v1 0/5] Common Mean Link Delay -- proof of concept
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2023-11-30 07:57:35
|
This is how CMLD should be done, IMHO. Currently, because of the quirks of the UDS module, a program can be a PMC server or PMC client, but not both. Patches 1 and 2 address this issue, allowing ptp4l program to be both a UDS server and client. Still TODO: - replace hard coded 1-hour one shot subscription with renewal logic - man page update for new cmlds options Please review and test to shake out the bugs. Thanks, Richard Kishen Maloor (1): Implement the COMMON_P2P delay mechanism. Richard Cochran (4): interface: Add an optional remote address for use by the UDS transport. pmc/uds: Configure the remote server address using the interface API. Introduce the Common Mean Link Delay Information TLV. Add a push notification for the CMLDS TLV. clock.c | 5 +- config.c | 6 +- dm.h | 3 + fd.h | 1 + interface.c | 12 +++- interface.h | 10 ++- makefile | 4 +- notification.h | 1 + pmc.c | 21 ++++-- pmc_agent.c | 3 +- pmc_common.c | 23 ++++--- pmc_common.h | 6 +- port.c | 179 +++++++++++++++++++++++++++++++++++++++++++++++-- port.h | 2 + port_private.h | 3 + tlv.c | 14 ++++ tlv.h | 6 ++ tz2alt.c | 3 +- uds.c | 6 +- 19 files changed, 275 insertions(+), 33 deletions(-) -- 2.39.2 |