Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
Network Time Foundation
Collective -
Host: opensource -
https://opencollective.com/network-time-foundation
- Website: https://www.nwtime.org
- Code: https://github.com/nwtime
If the pmc pointer is not set, then there is no need to read the time only
to later discard the ...
The main method that causes the PMC agent to update its status takes a flag
that results in diff...
This patch renames the function to have the module prefix and corrects the
return code semantics...
The run_pmc function is used by several of the PMC agent methods, but it
breaks the pattern of r...
Signed-off-by: Richard Cochran <[email protected]>
Suggested-by: Vladimir Oltean <olteanv...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - d95bb9f9d62f4f372934905e97e052aa68dcfc58 authored over 4 years ago
The PMC agent's implementation should not be exposed to its users. This
patch hides the details...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 5dd47c873cae8e0a2815b43c1ef3a86b9aca9dac authored over 4 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - bb6865cdf59572fcb09c11d549828269281c6841 authored over 4 years ago
The logic for placing PTP management queries migrated out of phc2sys into
pmc_common in order to...
The code through which phc2sys sends various PTP management messages to
ptp4l via pmc can be reu...
In preparation of moving these functions to pmc_common.c, break the
lines to a maximum of 80 cha...
This creates a smaller structure within phc2sys_private, which embeds
all properties related to ...
In preparation of a trivial movement of code to pmc_common.c, remove the
"static" keyword from t...
Instead of unconditionally creating a servo for each clock in their
initialization, add the serv...
Remove duplicated code specific to the ntpshm servo configuration.
Signed-off-by: Miroslav Lich...
github.com/nwtime/linuxptp - 96b5fd2b7e4b52cb3abfbb8202452928c55ecec4 authored over 4 years ago
Due to uclic-ng supports clock_nanosleep without enabled threads we do
not need to provide clock...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 38ad3264f8726691c3fd0c97d0b34c8eee80c11b authored over 4 years ago
The nmea code estimates the device's current time by adding the duration
from the last reading a...
Bring the built in leap second table up to date through IERS Bulletin C59.
No new leap seconds h...
If a leap seconds file is configured, the software will read the file once
on start up. However...
The error path does not clean up properly when allocations fail. This
patch fixes the memory le...
The PTP time scale is TAI, and a PTP GM needs to provide it. However, most
GPS devices only pro...
If there is no valid fix reported by the RMC message, then calculation
of the PPS time stamp is ...
If a leap second lookup fails, the likely reason is that the table is out
of date. After all, t...
The time value passed into the leap second lookup table should be in
seconds, but the calling co...
We will be reusing some PMC code between phc2sys and ts2phc. In
preparation of that, we would li...
Interestingly, although tmv_t is a wrapper over nanoseconds, there is no
initializer from a raw ...
Currently the PHC index is retrieved only through an ethtool ioctl if
the PHC is specified as an...
This is useful when dealing with timestamps returned by various
ancillary PHC ioctl kernel APIs,...
The capability command for phc_ctl does not display the number of pins
or the cross timestamping...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 3da961bb112b4d0e823ff125901b5674e7b57c0e authored over 4 years ago
The API to obtain the time stamp of a PPS source indicates the validity of
the returned value. ...
Each slave creates an instance of a servo. However, when cleaning up, the
code neglected to fre...
When creating a ts2phc slave, a clock is obtained by invoking the
posix_clock_open() method. Ho...
Currently it is very finicky to deploy linuxptp in an automated build
system and make KBUILD_OUT...
The poll(2) system call may set POLLERR in the returned events. Normally
no errors are returned...
The application's main event loop (clock_poll) is woken up by poll() and
dispatches the socket r...
This saves a few bytes of static storage and less instructions are
executed when looking for the...
ptp4l is too silent when receiving, for whatever reason, out of order
messages. If the reorderin...
Signed-off-by: Werner Macho <[email protected]>
github.com/nwtime/linuxptp - 7c49882e348ef05dfd6a1d10f86a837615527500 authored over 4 years ago
On some platforms, time_t has recently switched from "long" to "long
long" [1]. For these platfo...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - ef9d51a47d470e045c4ec4cbc51e4cd7911953a9 authored over 4 years ago
The slave delay timing data TLV provides the delay time stamps along with
the associated correct...
After a successful message exchange, the delay measurement values are
processed by the port code...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 6eb9898f61472dc15bae3cd2a47a774d53fa1080 authored over 4 years ago
This patch adds a new module for slave event monitoring with its own
configuration option, a UDS...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 6f95c2e92cf9d33a6813bfefa06e52c7f0810f72 authored over 4 years ago
The monitoring module accepts Sync timing events. This patch hooks up the
port receive path to ...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 2d2637989c4b57f709406ac345514ecc69a0da9d authored over 4 years ago
The 2019 version of 1588 known as v2.1 introduces new TLV type and
management IDs. This patch a...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - d0aa29b932bdfb5c8bad2ebb76a8cf8934b948ff authored over 4 years ago
The utility function to compare port IDs takes pointers, but it only needs
to read the reference...
Code in other modules will need this special port ID value. This patch
makes it available throu...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 306ac674608e5a8d1affbdc2e459f8f011eca115 authored over 4 years ago
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The port_forward_to() method clobbers the specific error code returned
by the transport layer wi...
The transport layer's functional interface foresees having error codes
percolate back up to the ...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 8f523e4d629e671598ed73a408c88dbbe2c6d490 authored over 4 years ago
The transport layer's functional interface foresees having error codes
percolate back up to the ...
The current code truncates the size of path trace TLVs which exceed the
expected maximum based o...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 6c5b61a64c4bd31090703f1e24f89e140dc490d7 authored over 4 years ago
When using the "free running" option, a slaved port remains in the
UNCALIBRATED state. If the a...
IEEE 1588 v2.1 and ITU G.8275.1/2 call for an optional "synchronization
uncertain" flag passed i...
Recently the Linux kernel's PTP Hardware Clock interface was expanded
to include a "write phase"...
The logic for the Automotive Profile added a message interval update
mechanism that triggers whe...
Many GPS radios provide both a 1-PPS and time of day information via
NMEA sentences. This patch...
This patch introduces a new ts2phc source using a PHC device. There
are multiple use cases for ...
There are several issues surrounding leap seconds that emerge when a clock
takes on the Grand Ma...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - acd142964586b5c562bf139700378bf3be05a98a authored almost 5 years ago
Some PTP Hardware Clocks have input pins that can generate time stamps
on the edges of external ...
If more than one local UDS client subscribes to push notifications,
only the last one receives d...
Allow interactive input like
set SUBSCRIBE_EVENTS_NP duration 60 NOTIFY_PORT_STATE on
to r...
github.com/nwtime/linuxptp - 1044268e85642253713c035aeef026a847793cf6 authored almost 5 years ago
While we are at it, reformat the pmc_show() function into reverse
Christmas tree order.
Signed-...
github.com/nwtime/linuxptp - e6d52c54e968f46e35d7c2e53b03f913eedc0ba5 authored almost 5 years ago
The header file, pmc_common.h, makes some private macros public. The
intent was to use those ma...
The clock layer indeed replies to management GET actions for this item,
but it sends an empty ma...
In anticipation of support for external time stamping in PHC devices, this
patch adds wrapper fu...
Currently there is a method to convert a timespec into a tmv_t, but
not the other way round. Th...
Upcoming functionality will need to configure the input and output pins of
PHC devices. However...
The one user of the function, posix_clock_open(), simply open codes
the closing call to phc_clos...
Unfortunately the SNMP code still has issues like not passing the
valgrind test, and no one is a...
When updating and potentially removing event subscribers, the code uses
the simple list traversa...
This novel use of the STA_UNSYNC flag breaks with the established,
traditional meaning of that f...
In case there is no connection to the server, notify the kernel
that the clock is currently unsy...
Now that all call sites have been converted to interface_create(), there
is no longer any needed...
Now that a complete functional API is in place, there is no need to expose
the inner workings of...
When compiling with gcc8 and -O2, the clever compiler complains:
interface.c: In function ‘i...
github.com/nwtime/linuxptp - b878dd99fab24112bfbfb1383d6e7abbb116e529 authored almost 5 years ago
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
In order to eventually hide the implementation details of the interface,
users will need to be a...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.kel...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - e43a76cbe6c7dc47c80e57bcabee44fe258aecb1 authored almost 5 years ago