Dear linuxptp users and developers, I am happy to announce the release of Version 3.0 of linuxptp. This comes almost two years since the previous release, once again proving the patience is a virtue! I uploaded a tar ball to SF and pushed tag v3.0 to the various git mirrors.
Once again, this release was made possible by a healthy mix of first time and veteran contributors. Thank you to Anders, Christian, Cliff, David, Dimitrios, Erez, Erik, Georg, Hangbin, Hubert, Isaac, Miroslav, Petr, Vedang, Ville, Vincent, Vladimir, and Werner. The short log is appended, below. Share and Enjoy, Richard Anders Selhammer (7): Introduce the maxStepsRemoved attribute Add possibility to set clockIdentity port: correction of port name used port_open util: Added IPv6 support in help funtions addreq and str2addr sk: Added address family as inargument in sk_set_priority msg: Added const flag in msg_type tmv: Avoid overflow when byte shift in tmv_to_TimeInterval Christian Eggers (1): Fix printf if time_t is long long Cliff Spradlin via Linuxptp-devel (2): Use llabs() instead of fabs() for integers. Include missing headers. David Mirabito via Linuxptp-devel (1): Avoid fault when receiving zero length packets Dimitrios Katsaros (1): Added support for opening POSIX clock devices Erez Geva (1): config: Add hardware time stamp filter setting mode Erik Hons (1): clock: reset master/local rr when best clock id changes Georg Sauthoff (1): Eliminate isort Hangbin Liu (2): port: should check the new phc_index before switching rtnl: add team activebackup support Hubert Feurstein (1): clock: prepend port number to grandmaster notice Khor, Isaac Shi Yan (1): ptp4l: Add configuration option for socket priority Miroslav Lichvar (18): unicast: Process timeouts equal to current time. timemaster: Allow ptp4l-specific sections in [ptp4l.conf]. Fix building with new kernel headers. sysoff: Initialize data for ioctl(PTP_SYS_OFFSET). sysoff: Extend API for different sysoff methods. sysoff: Add support for PTP_SYS_OFFSET_PRECISE ioctl. sysoff: Add support for PTP_SYS_OFFSET_EXTENDED ioctl. phc2sys: Use reversed sysoff when synchronizing to system clock. phc2sys: Fix crash when trying to synchronize unadjustable clock. port: Prevent undefined shift operations in msg_current(). pmc: Don't leak memory when msg_tlv_append() fails. util: Fix addreq() to not read past addresses. Improve G.8275.[12] example configs. nsm: Add man page. pmc: Describe -f option in man page. port: Don't leak transport when unicast initialization fails. port: Avoid calling freed servo after switching PHC. unicast: Enable sharing master tables between ports. Petr Machata (7): sk: Recognize HWTSTAMP_FILTER_SOME port: Introduce per-port stats for received and transmitted messages pmc: Add a new TLV to obtain per-port statistics udp6: Make mc6_addr transport-local pmc.8: Mention PORT_STATS_NP util: Add a function to render timestamp type pmc: Support querying TLV_PORT_PROPERTIES_NP Richard Cochran (89): Allow ignoring source port identity in end to end mode. Add an acknowledgment in the readme for Moser Baer. Update the features listed in the readme file. Simplify the systems requirements section of the readme file. ptp4l: Remove bogus command line option. Update the unciast discovery options sections of the man page. Ignore signaling messages on target port mismatch. Keep configuration options in alphabetical order. phc2sys, phc_ctl: Re-factor common code. Correct the signature of the legacy system offset measurement method. phc2sys: Fix frequency estimation when synchronizing a PHC to the system clock. Accept external PHC devices from the command line. Group related objects together within the makefile. config: Constify the public interface. rtnl: Constify the public interface. utils: Constify the posix clock interface. Move the network interface into its own header file. interface: Introduce an access method for the name field. Convert call sites to the proper method for getting interface names. interface: Introduce an access method for the time stamping label. Convert call sites to the proper method for getting interface labels. interface: Introduce a method to get the time stamping information. Convert call sites to the proper method for getting time stamp information. interface: Introduce a method to initialize the time stamping label. Convert call sites to the proper method for initializing the time stamping label. interface: Introduce a method to set the name. Convert call sites to the proper method for setting the name. interface: Introduce a method to set the time stamping label. Convert call sites to the proper method for setting the time stamping label. interface: Introduce a method to get the PHC index. Convert call sites to the proper method for getting the PHC index. interface: Introduce a method to test the time stamping information validity. Convert call sites to the proper method for testing time stamp info validity. interface: Introduce a method to test supported time stamping modes. Convert call sites to the proper method for testing time stamping modes. interface: Introduce methods to create and destroy instances. clock: Use the proper create/destroy API for network interfaces. config: Use the proper create/destroy API for network interfaces. pmc: Use the proper create/destroy API for network interfaces. interface: Hide the implementation details. interface: Silence warning from gcc version 8. interface: Remove obsolete method. Revert "phc2sys: Notify kernel if clock is not in sync" clock: Safely remove event subscribers from list. Remove the unfinished SNMP code. Balance the posix clock open function with a close method. Add definitions for PTP pin ioctls for backwards kernel compatibility. Add PHC methods for querying and configuring the pin functionality. Provide a method to convert a tmv_t into a timespec. clock: Reply with correct payload length for SUBSCRIBE_EVENTS_NP queries. pmc: Move private macros back into their source files. pmc: Allow printing of the SUBSCRIBE_EVENTS_NP tlv. pmc: Subscribe to port state push notification events when requested. pmc: Allow multiple local subscribers. Introduce the ts2phc program. ts2phc: Support using a PHC as the master clock. Introduce a leap second table. ts2phc: Support using a GPS radio as the master clock. Add documentation for the ts2phc program. Add support for write phase mode. Implement the synchronization uncertain flag. pmc: Support getting and setting the local synchronization uncertain flag. Let the free running port state reflect the synchronization uncertain flag. transport: Correct grammar in the doxygen comments. udp: Convey transmit path errors to the caller. udp6: Convey transmit path errors to the caller. uds: Convey transmit path errors to the caller. raw: Convey transmit path errors to the caller. sk: Convey transmit path errors to the caller. port: Convey targeted forwarding errors to the caller. util: Mark port identity comparisons as const. port: Export the value of the wildcard port identity. port: Publish the method for creating signaling messages. Reject path trace TLVs with excessive elements. tlv: Update macro definitions. tlv: Encode and decode SLAVE_RX_SYNC_TIMING_DATA TLVs. Introduce a module for slave event monitoring. clock: Create a slave event monitor. port: Support slave event monitoring of Sync timing data. pmc: Show slave receive timing data TLVs attached to signaling messages. tlv: Encode and decode SLAVE_DELAY_TIMING_DATA_NP TLVs. monitor: Add support for slave delay timing data TLV. port: Support slave event monitoring of delay timing data. pmc: Show slave delay timing data TLVs attached to signaling messages. Catch unexpected socket polling errors. ts2phc: Use proper close method on the error path. ts2phc: Fix memory leak. ts2phc: Ignore pulses with invalid time stamps. Version 3.0 Vedang Patel (15): port: Add condition to check fc. clock: Add NULL check for best clock in clock_update_slave() port: Add configurable option to set asCapable. Add BMCA config option. Add inhibit_announce config option. Add ignore_source_id config option. Add example configuration for Automotive Profile. port: Fix for inhibit_announce. port: Make port_capable() accessible outside port.c port: Separate unicast specific code from port_signaling_construct() port: Add logPdelayReqInterval. port: implement message interval request processing clock: add APIs to access servo and servo_state port: Add interval update mechanism. port: Add inhibit_delay_req. Ville Heikkinen (1): phc2sys: Notify kernel if clock is not in sync Vincent Cheng (1): Decouple servo state from automotive profile. Vladimir Oltean (4): configs: default.cfg: Fix typo in inhibit_delay_req ptp4l: call recvmsg() with the MSG_DONTWAIT flag port: print sync/follow-up mismatch events phc2sys: provide missing kernel headers for sysoff functionality Werner Macho (1): fix small typo _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users