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
Previouly the peer delay was not taking into account the
frequency offset between the local cloc...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 54c9effeba6bf7aaf9948a7cc2643f269f63100c authored almost 11 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
github.com/nwtime/linuxptp - 9190959693cf94ab030d872c8e2548a37b137447 authored almost 11 years agoThis allows gcc to check format strings used in pr_* calls.
Signed-off-by: Miroslav Lichvar <ml...
github.com/nwtime/linuxptp - 1fa57ac411cecc2fd877c207913c305aaf333ede authored almost 11 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
github.com/nwtime/linuxptp - 661639420ccd459216cb7154101492eedeeb8142 authored almost 11 years ago
This allows the compiler to check if someone writes into string
literals.
Signed-off-by: Stepha...
github.com/nwtime/linuxptp - 110849d42247943b54672d1b5301ee2d2d1d6164 authored almost 11 years agoThey aren't used outside udp.c
Signed-off-by: Stephan Gatzka <[email protected]>
github.com/nwtime/linuxptp - 886112e202000a0683f94eb3e496c031e7f660bf authored almost 11 years ago
Define new PORT_DATA_SET_NP TLV
neighborPropDelayThresh can also be set using the same TLV
Sign...
github.com/nwtime/linuxptp - 29063a822767617d87d3e7f9b3ac16fb30f160cf authored almost 11 years ago
Commit e425da2f inadvertently enabled the announce timer on the UDS port,
causing it to continua...
The 'struct interface' for the UDS port is allocated on the stack, and
when this gets passed to ...
Signed-off-by: Miroslav Lichvar <[email protected]>
github.com/nwtime/linuxptp - 5dd5af5565880553b5a6736b517fe2a6759ddcd1 authored about 11 years ago
Negative path delay measurements are expected with E2E, the user doesn't
need to know when that ...
Signed-off-by: Miroslav Lichvar <[email protected]>
github.com/nwtime/linuxptp - 647bce1c0c16563490bc53d852c9ac9b94f50233 authored about 11 years ago
Store the current frequency and return it when the servo is in unlocked
state instead of zero. T...
When the drift value is adjusted by the newly measured frequency offset,
multiply the frequencie...
This increases the maximum frequency adjustment of the system clock
from 500 ppm to 10%.
Signed...
github.com/nwtime/linuxptp - e63a6ea89b8fac5ee6ef12a18b6fdbd81ed76dd6 authored about 11 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - eb9b0bd2757b0fb8a57a122888ca82d635eb6ccf authored about 11 years ago
Although it does not need to, the UDS port tries to allocate a filter,
just as any normal port w...
This patch lets the clock release allocated memory when shutting down. The
main benefit is just ...
Conflicts:
makefile
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 101e9dcc0eb49b42e0bfc32de2d1499582b7b26e authored about 11 years ago
According to 802.1AS, ports are always expected to transmit announce
messages, even if they neve...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - bdbda10c73fe3c315f785325ce0739cb5ef6b308 authored about 11 years ago
[ RC: the point is that a port may not be considered capable until
enough messages to compute ...
Sync rx timeout should be set only after receiving the first sync, see
section 10.2.7, figure 10...
Median filter has an advantage over moving average that it is much less
sensitive to outliers.
...
github.com/nwtime/linuxptp - ed9e0fa975ce0e38d3240d05979bc4104a0b0cdf authored over 11 years ago
Add new options delay_filter and delay_filter_length to select the
filter and its length. They s...
Similarly to the servo interface, allow multiple filters to be
used for delay filtering. Convert...
This patch cleans up the error message for the Tx timestamp polling, and adds a
line which indic...
Include also nanoseconds from the current time in the srandom() call.
This should significantly ...
Instead of maintaining a table of precalculated values, use the
newly added set_tmo_random() fun...
According to 9.2.6.11 of the spec the ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
timeout in addition to an...
Check the sanity of the synchronized clock by comparing its uncorrected
frequency with the syste...
This will be used with clock sanity checking.
Signed-off-by: Miroslav Lichvar <mlichvar@redhat....
github.com/nwtime/linuxptp - cc7be3fc67366900842ea85f4dba179c1015c327 authored over 11 years agogithub.com/nwtime/linuxptp - 25cf96d4ca1cd6d05314713aeda334a4dfb37a9b 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]>
github.com/nwtime/linuxptp - 4f6f1e1cbafa3b42cec3a70eda8af4dce0ecec68 authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - b7ebfab0cc2ccdf515db67e2feca9073c0b2ec19 authored over 11 years ago
Because of packet reordering that can occur in the network, in the
hardware, or in the networkin...
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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 lets a port send the first announce message one millisecond
after the port state tran...
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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 011ba7b455b844d86672d03cd575d2c06b8ad076 authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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...
github.com/nwtime/linuxptp - 7789f0c313733621327ab7ed4b3e213a328883ae authored over 11 years agoThe code was checking the wrong interface's capabilities.
Signed-off-by: Andy Lutomirski <luto@...
github.com/nwtime/linuxptp - f6536fe36a0e6c4291a2732606bd61954cd7e48d authored over 11 years agoThis makes valgrind happier by freeing any cached message buffers.
Signed-off-by: Richard Cochr...
github.com/nwtime/linuxptp - 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...
github.com/nwtime/linuxptp - 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...
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 12ab15818ce8a8f37ac69ac63adca737d7dac6ac authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 4782d669c2511a986325a31c7a57b7330d219208 authored over 11 years agoSigned-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - f89e20320913b4181f39c86e55275526430610a8 authored over 11 years ago
When running as grand master, the attributes of the local clock are not
known by the ptp4l progr...
github.com/nwtime/linuxptp - 5be0770dfce113f6afa270aac0435c4770f1a8fe authored over 11 years ago
Signed-off-by: Richard Cochran <[email protected]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - 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]>
github.com/nwtime/linuxptp - f657e47c262b66760df51f9c469056995dfdc70c authored over 11 years agoSigned-off-by: Miroslav Lichvar <[email protected]>
github.com/nwtime/linuxptp - b796d90e80817d654d219708b47650f3cc9fa570 authored over 11 years agoRemoved duplicate calls to usage() by providing common exit point for the case.
Signed-off-by: ...
github.com/nwtime/linuxptp - daca2773ded610633ba524179a64d6e1946681aa authored over 11 years ago
Options without parameters are now grouped together at the beginning of line
for better legibili...