Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/nwtime/linuxptp
Linux PTP Project
https://github.com/nwtime/linuxptp
This will be used with clock sanity checking.
Signed-off-by: Miroslav Lichvar <mlichvar@redhat....
cc7be3fc67366900842ea85f4dba179c1015c327 authored over 11 years ago25cf96d4ca1cd6d05314713aeda334a4dfb37a9b authored over 11 years ago
When a new master is selected, drop the old sync time stamp to prevent
calculating invalid delay...
When a new master appears, it will start to respond to our delay_req
messages. Make sure we proc...
Signed-off-by: Richard Cochran <[email protected]>
4f6f1e1cbafa3b42cec3a70eda8af4dce0ecec68 authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
289699e3c9eeac98b9961fb0bda2d243214cf577 authored over 11 years ago
This patch increases the maximum length of an interface name to
accommodate a UNIX domain socket...
Signed-off-by: Richard Cochran <[email protected]>
9fe2ffd2efbbc35dcb185af6a0f21be9261da0e4 authored over 11 years ago
This patch changes the macro for the server socket address into a global
variable so that a subs...
This patch introduces a shell script to figure out the proper definitions
for the HAVE_CLOCK_ADJ...
When the socket couldn't be opened (e.g. in clknetsim), the file
descriptor is invalid and shoul...
When ptp4l was configured to use the auto delay mechanism and the first
pdelay request was not r...
Signed-off-by: Richard Cochran <[email protected]>
bf659ae09d43b64abad62e2196fc587f5adaad9a authored over 11 years ago
This patch adds a semicolon forgotten in commit
5bf265e "missing: add onestep sync to missing.h"...
Following command produces unexpected update rate.
# phc2sys -s eth0 -q -m -O0 -R1.084202172485...
this patch uses grep to test whether the net_tstamp.h header has
HWTSTAMP_TX_ONESTEP_SYNC flag d...
Signed-off-by: Richard Cochran <[email protected]>
b7ebfab0cc2ccdf515db67e2feca9073c0b2ec19 authored over 11 years ago
Because of packet reordering that can occur in the network, in the
hardware, or in the networkin...
This patch lets a port send the first announce message one millisecond
after the port state tran...
Signed-off-by: Richard Cochran <[email protected]>
c6e046e2a2f690d73b46a736f4c9a6347440b85b authored over 11 years ago
This patch adds a new timer for use in 802.1AS-2011 applications. When
running as a slave in gPT...
This patch renames the per-port timer in order to make room in the
namespace for a timer that de...
Signed-off-by: Richard Cochran <[email protected]>
7e69672a8846fe10f71c75c7d9fefb38f5e4be9c authored over 11 years ago
The closing and reopening of the transport when in slave only mode is not
necessary if the port ...
See IEEE1588-2008 section 9.3.2.5 (d)
Signed-off-by: Delio Brignoli <[email protected]>
b268cf048b8f07c269d357623651f949903ed2bb authored over 11 years ago
Add 1 to port numbers printed in the log messages to make them
consistent with messages from por...
Signed-off-by: Miroslav Lichvar <[email protected]>
011ba7b455b844d86672d03cd575d2c06b8ad076 authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
6bcda22752d5ea946d6104ff719acaffdf2ba49b authored over 11 years ago
Ken Ichikawa has identified a situation in which a sync message can be
wrongly associated with a...
This patch adds checks to prevent buffer overruns in the TLV parsing code.
Signed-off-by: Richa...
7789f0c313733621327ab7ed4b3e213a328883ae authored over 11 years agoThe code was checking the wrong interface's capabilities.
Signed-off-by: Andy Lutomirski <luto@...
f6536fe36a0e6c4291a2732606bd61954cd7e48d authored over 11 years agoThis makes valgrind happier by freeing any cached message buffers.
Signed-off-by: Richard Cochr...
b74e46724edd1b62177bbc06961418b538352f43 authored over 11 years ago
This commit makes the GET messages have data bodies, just like the erratum
says to. It really do...
This patch adds a new pmc command called "target" that lets the user
address a particular clock ...
This patch replaces the hard coded wild card target port identity with
a variable initially set ...
This patch makes the original behavior of sending the
TLV values for GET actions with a length o...
This patch lets the TLV length field of GET messages come from a
function. For now, the function...
This patch adds proper byte order processing for the target port
identity field of management me...
This patch fixes a bug with time mysteriously jumping back and forth:
ptp4l[930.687]: port 1: U...
48f4dcbeb294f1241714c7a3709666f5edd6dc13 authored over 11 years ago
This patch cleans up the BMC logic to allow assuming the GM role when no
other clocks are found ...
[RC: merged servo_sync_interval signature change with earlier patch]
Signed-off-by: Miroslav Li...
639ebbca13a3633e0ac9caf7f9a034cb720c8632 authored over 11 years ago
A slow servo (with smaller constants and lower sync rate) needs a
longer, better frequency estim...
Instead of using fixed constants, set them by the following formula from
the current sync to all...
Signed-off-by: Richard Cochran <[email protected]>
617a9056436c149c2acaa93bf8c56611b35030c9 authored over 11 years ago
This patch adds a new servo method to let the algorithm know about the
master clock's reported s...
Signed-off-by: Richard Cochran <[email protected]>
6a1a16ac667e6a76363952501160ed0adf738a4f authored over 11 years ago
Management messages can cause a change in the clock quality. If this
happens, then it is time to...
Signed-off-by: Richard Cochran <[email protected]>
12ab15818ce8a8f37ac69ac63adca737d7dac6ac authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
661d7a77162bcc5e03675827cea5239aaeaf81b6 authored over 11 years ago
This patch also replaces the hard coded logic for the UTC offset and the
time property flags wit...
Signed-off-by: Richard Cochran <[email protected]>
4782d669c2511a986325a31c7a57b7330d219208 authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
f89e20320913b4181f39c86e55275526430610a8 authored over 11 years ago
When running as grand master, the attributes of the local clock are not
known by the ptp4l progr...
5be0770dfce113f6afa270aac0435c4770f1a8fe authored over 11 years ago
Signed-off-by: Richard Cochran <[email protected]>
4b214008698d82467dd4373d48662798384facd2 authored over 11 years ago
While the userDescription field is implemented in the code, the same
option is not present in th...
This patch removes a redundant initialization of the kernel_leap clock
variable. The field is al...
Whenever a port enters the passive state, it should act like a slaved
port in one respect. Incom...
Signed-off-by: Richard Cochran <[email protected]>
93c609eee90d8e8ded77e3d1eba40d62352512db authored over 11 years ago
You'd probably expect the body of GET messages to be empty, but
interpretation #29 in
http://sta...
Signed-off-by: Dale P. Smith <[email protected]>
6dedf8bc247cd547f536ac4f3e8409ea6d879fdd authored over 11 years ago
This patch adds support for using the configured_pi_f_offset servo option to ptp4l.
If "pi_f_off...
Current pi servo steps clock without any condition on start.
This patch adds a new servo option ...
Signed-off-by: Miroslav Lichvar <[email protected]>
f657e47c262b66760df51f9c469056995dfdc70c authored over 11 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
b796d90e80817d654d219708b47650f3cc9fa570 authored over 11 years agoRemoved duplicate calls to usage() by providing common exit point for the case.
Signed-off-by: ...
daca2773ded610633ba524179a64d6e1946681aa authored over 11 years ago
Options without parameters are now grouped together at the beginning of line
for better legibili...
Signed-off-by: Richard Cochran <[email protected]>
f394e1796d23c2f05b11d9a6ed02f4ec32ee479d authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
d6d6a9ba641134555850e95ae921b23a7e807b48 authored over 11 years ago
The get_ranged_ and get_arg_ declarations and definitions are just a wee
bit much too long. This...
Ever since upgrading to Debian 7.0, building linuxptp results in an
annoying error message. This...
Signed-off-by: Ken ICHIKAWA <[email protected]>
0513c3b15b8a4ea5e61f7b82d4251b9f07d57bc3 authored over 11 years ago
phc_open() can open any device and return clkid even if the device is not phc
for example /dev/k...
Signed-off-by: Ken ICHIKAWA <[email protected]>
74e703727ec9b1c334c7bfbba9be1cabf4b7b461 authored over 11 years agoSigned-off-by: Ken ICHIKAWA <[email protected]>
42cb449eaaa2129e23cf2693dd5cda7fd42c1252 authored over 11 years agoSigned-off-by: Ken ICHIKAWA <[email protected]>
a92f42de389a10477dbec8ddbf239b5939c241ec authored over 11 years ago
This patch adds functions to get int, uint, double value from string
with error checking and ran...
The default zero offset can lead to misalignment between system clocks or wrong
time to be broad...
Signed-off-by: Libor Pechacek <[email protected]>
6e4734316f26ee715f389407ffd37bc97449c8a1 authored over 11 years agoSigned-off-by: Delio Brignoli <[email protected]>
3f8471ea6878cccaecae20ad0f4190db155f5ce1 authored over 11 years ago
When a new master is selected, drop the old path delay and don't
calculate the offset until the ...
This patch modifies phc2sys to enable the use of interface names in clock_open
rather than havin...
This patch updates phc2sys usage reporting to give a slightly better indication
of why the progr...
[RC: use CLOCK_MONOTONIC as suggested on the list.]
Signed-off-by: Miroslav Lichvar <mlichvar@r...
3ae0ff1f4490aa1e453107ebaaead56e3d3e6df6 authored over 11 years ago
Fix the check for supported timestamping modes. The device needs
to support all the required mod...
If poll() times out, don't print a misleading errno, say that a timeout
occured.
Signed-off-by:...
7b02a5e9bdee5304fa1fef9cb73ce576335834e6 authored over 11 years agoThis allows update intervals longer than 1 second.
Signed-off-by: Miroslav Lichvar <mlichvar@re...
9c83fcb3c9d1e3468e5c1e958379e537cbcc14b7 authored over 11 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
3414d99609f7119c2dc32768e0005ea28ae0f306 authored over 11 years ago
With sub-second sync intervals, it may be useful to set P and I to
values over 1.0.
Signed-off-...
4a3e5857b1c36872ade7352da3a1d704001ef89c authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
776c88a13c2005bff3d6364cb92ef36b849d13de authored almost 12 years ago
PPS output from a PHC has to be enabled by PTP_ENABLE_PPS ioctl. Call
the ioctl when both PHC de...
This patch simplifies some expressions which validate that configuration
variables are within th...
The option sets an additional limit to the hardware limit. It's disabled
if set to zero. The def...
Signed-off-by: Miroslav Lichvar <[email protected]>
5bc98f3130923e9fc8de1da80fac18140238bf77 authored almost 12 years ago
Reset the STA_UNSYNC flag and maxerror value with every frequency update
to let the kernel synch...
Signed-off-by: Miroslav Lichvar <[email protected]>
7b162c4821045882e33910bddf5c4325e261707d authored almost 12 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
d5cf47f7f6ad67833b6e731ed858732576f2079e authored almost 12 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
5835effd2a355a96d1264a465299e4cf1fb792d8 authored almost 12 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
e3f57d15793ff377546636396bf5ccc968ba3c43 authored almost 12 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
24c4e851fc9a57877e5b7bba79fa541c5c04e892 authored almost 12 years ago