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

Introduce the time status management message.

This non-portable, implementation specific message is designed to inform
external programs about...

6c54c31dca7c36eaa9ed6d737905955de1a7ec6e authored over 12 years ago by Richard Cochran <[email protected]>
trivial: fix a spelling error in a comment.

Signed-off-by: Richard Cochran <[email protected]>

f3b0ca69d3977f55968034c04cb0f0f063ac222a authored over 12 years ago by Richard Cochran <[email protected]>
Introduce a helper function to convert from tmv to nanoseconds.

Signed-off-by: Richard Cochran <[email protected]>

4e09ff8585f26fd0a6fa91a0c712a7d2e2f0ca3d authored over 12 years ago by Richard Cochran <[email protected]>
bugfix: use a sensible test to detect a new master.

The code to detect a new master used pointer equality using a stale
pointer within the clock ins...

d4e761138ec1016957199708e0fd0027300bedd2 authored over 12 years ago by Richard Cochran <[email protected]>
Use clock_adjtime from glibc if available.

Signed-off-by: Miroslav Lichvar <[email protected]>

9edd319f11c2ceb54905ac87d89e44d940250eb6 authored over 12 years ago by Miroslav Lichvar <[email protected]>
bugfix: correct wrong type for the cumulativeScaledRateOffset field.

Signed-off-by: Richard Cochran <[email protected]>

7a50ead1d001f6e1475b589be696f9472743071d authored over 12 years ago by Richard Cochran <[email protected]>
Guard against divide by zero.

If a buggy driver or hardware delivers bogus time stamps, then we might
crash with a divide by z...

8f5bd0edda294aa53db4fcf017062798bab17502 authored over 12 years ago by Richard Cochran <[email protected]>
Introduce a macro for the constant 2^41.

We are going to need this more than once for working with the
cumulativeScaledRateOffset fields....

35170cf6e41c39d3946a8032b711e77d667e4a2a authored over 12 years ago by Richard Cochran <[email protected]>
Add an implementation specific management code.

Signed-off-by: Richard Cochran <[email protected]>

8cc3433b8b146ec8dc6c5b61be345935a09b74bf authored over 12 years ago by Richard Cochran <[email protected]>
Be tolerant of wrong a OUI in the follow up information.

Certain AVB bridges send their own OUI instead of the offical one.

Signed-off-by: Richard Cochr...

5ca99377b67b085359b34c3e78a7b11d2d901077 authored over 12 years ago by Richard Cochran <[email protected]>
Remove unnecessary wait state from frequency estimator.

Signed-off-by: Richard Cochran <[email protected]>

8a4b2ab9b82129207bb9a45b2548daecc1857cae authored over 12 years ago by Richard Cochran <[email protected]>
Calculate the master/local rate ratio in two ways.

Signed-off-by: Richard Cochran <[email protected]>

843661dfa2e04e9afe5065592f2c3ab8e6d8da2b authored over 12 years ago by Richard Cochran <[email protected]>
Provide the clock with the estimated neighbor rate ratio.

Signed-off-by: Richard Cochran <[email protected]>

f38338827b2130a681c56ab2c70105c620de2d56 authored over 12 years ago by Richard Cochran <[email protected]>
Give the frequency estimation interval to the port as well.

Signed-off-by: Richard Cochran <[email protected]>

f86997185e86a40c6a62ac5b635ee66c85daaaaa authored over 12 years ago by Richard Cochran <[email protected]>
Add a clock method to receive the follow up information TLV.

Signed-off-by: Richard Cochran <[email protected]>

94dd186cdf4f16e54254c823e8b7aa7b49451555 authored over 12 years ago by Richard Cochran <[email protected]>
Extract the follow up info and pass it to the clock.

Signed-off-by: Richard Cochran <[email protected]>

e5edeacb9a2e7419979bb54930339e7b8e049512 authored over 12 years ago by Richard Cochran <[email protected]>
Differentiate between the E2E and P2P delay timeout intervals.

We have one timer used for both delay request mechanisms, and we ought
to set the message interv...

c06f3adc840ab257cc264074646fad3a2f6a3d9b authored over 12 years ago by Richard Cochran <[email protected]>
Estimate the neighbor rate ratio from a slaved port.

Signed-off-by: Richard Cochran <[email protected]>

5e40b5ec01f35ce1d7c557a046cee6a185c38c9c authored over 12 years ago by Richard Cochran <[email protected]>
Adjust the peer delay request message interval field.

IEEE 802.1AS-2011 specifies using the current logMinPdelayReqInterval
for this field.

Signed-of...

ace0d71a8030460c6d8fb036b024f94a4ee7ec3d authored over 12 years ago by Richard Cochran <[email protected]>
Reset the master/local frequency estimator when changing masters.

Signed-off-by: Richard Cochran <[email protected]>

db36fb52caa65784b2130e102fe43d3bcecc5827 authored over 12 years ago by Richard Cochran <[email protected]>
Correct a comment about the frequency ratio estimation.

Signed-off-by: Richard Cochran <[email protected]>

845e947bcb1ee99afbea5e95314c3b325e15b0ab authored over 12 years ago by Richard Cochran <[email protected]>
Invert the frequency ratio estimation.

In 802.1AS-2011 the ratio is defined as master/local, so we should follow
suit.

Signed-off-by: ...

1bb8ebbdc5e8a9ee24e956ae86209fa3189f144d authored over 12 years ago by Richard Cochran <[email protected]>
Provide a conversion function from tmv to double.

Signed-off-by: Richard Cochran <[email protected]>

95598b4fded12e6a5b5f61b13608027466e4076f authored over 12 years ago by Richard Cochran <[email protected]>
Rework the frequency ratio estimator to use the tmv functions.

Signed-off-by: Richard Cochran <[email protected]>

829c785414a0eff415026789adeb564812abb1ac authored over 12 years ago by Richard Cochran <[email protected]>
Fix copy-pasto in config file parsing of the logging level.

Signed-off-by: Richard Cochran <[email protected]>

1925f07b3fc75d8ef1d15d23e4c3754fb745df09 authored over 12 years ago by Richard Cochran <[email protected]>
phc2sys: add options for number of PHC readings and update rate

633076453821e7f6990db40d36547a3f63d9baa8 authored over 12 years ago by Miroslav Lichvar <[email protected]>
phc2sys: improve servo start up

bf21c7c6a9f7baf91d6c73198b99d48622840ccb authored over 12 years ago by Miroslav Lichvar <[email protected]>
Add an acknowledgment in the readme of the hardware donors.

Signed-off-by: Richard Cochran <[email protected]>

41ffd8dfb8df726da2995ad25185ed49046fada1 authored over 12 years ago by Richard Cochran <[email protected]>
Bring the readme up to date.

- all of the original goals have been implemented
- add gPTP to the list of supported features

...

28ac1cb1b13c07b5e84c7e30b1444ac4e5f23357 authored over 12 years ago by Richard Cochran <[email protected]>
Improve stability of PHC reading in phc2sys.

Make five PHC readings in sequence and pick the quickest one.

Signed-off-by: Miroslav Lichvar <...

d42914c335fd6031e43309a32d6f4b5b0238fb7c authored over 12 years ago by Miroslav Lichvar <[email protected]>
Add non-PPS mode to phc2sys.

As some PHC hardware/drivers don't provide PPS, it may be useful to keep the
system clock synchr...

2fcf5cbb4f45d1f48a0010d5bbe1dd3570e87e36 authored over 12 years ago by Miroslav Lichvar <[email protected]>
Revert "Add non-PPS mode to phc2sys."

This reverts commit 998093b6f7dbf1fa633ecd61c757da8b52a7ffae.
Will apply this patch again, with ...

be87b05f523f9d4e293b27580a863827b58f3d1f authored over 12 years ago by Richard Cochran <[email protected]>
Revert "Improve stability of PHC reading in phc2sys."

This reverts commit f08d264e1d23d83554352e097ec17535d06f7725.
Will apply this patch again, with ...

0a5caa847606e8ab61d1fcabb7cfe1c3467063f9 authored over 12 years ago by Richard Cochran <[email protected]>
Improve stability of PHC reading in phc2sys.

Make five PHC readings in sequence and pick the quickest one.

Signed-off-by: Miroslav Lichvar <...

f08d264e1d23d83554352e097ec17535d06f7725 authored over 12 years ago by Richard Cochran <[email protected]>
Add non-PPS mode to phc2sys.

As some PHC hardware/drivers don't provide PPS, it may be useful to keep the
system clock synchr...

998093b6f7dbf1fa633ecd61c757da8b52a7ffae authored over 12 years ago by Richard Cochran <[email protected]>
pmc: add a simple interactive help command.

Signed-off-by: Richard Cochran <[email protected]>

afd2a50b5bb3b56c6387fe3a2fd0174a890c0f09 authored over 12 years ago by Richard Cochran <[email protected]>
Always set the clock class to 255 when slave only mode is configured.

Signed-off-by: Richard Cochran <[email protected]>

81648e81ed6b2a4a08e564cec74d5327daaef2d1 authored over 12 years ago by Richard Cochran <[email protected]>
Drop the reference to best when freeing the foreign masters.

This fixes the following issue reported by valgrind, which occurs
after a port disable/initializ...

852d587fd3ad305a05e2b0bfcd6aaf29e6d5247f authored over 12 years ago by Richard Cochran <[email protected]>
Configure logging facility sooner.

Error messages from initialization were missing.

Signed-off-by: Miroslav Lichvar <mlichvar@redh...

2040933d74ff9a3a78e1139b80c58f565d4067c8 authored over 12 years ago by Miroslav Lichvar <[email protected]>
Release all resources when quitting the main loop.

This will allow running under valgrind to detect memory leaks
and the like.

Signed-off-by: Rich...

afbec38d6e953eb338055c4590ce0d94cf933640 authored over 12 years ago by Richard Cochran <[email protected]>
Make the clock release method a public function.

Signed-off-by: Richard Cochran <[email protected]>

40dc2e13ef675cc0f57ec47d536777b2e336ef0c authored over 12 years ago by Richard Cochran <[email protected]>
Provide a method to release the message cache.

Signed-off-by: Richard Cochran <[email protected]>

577d34facf2254edb492ae502c4ef6fdddbc9373 authored over 12 years ago by Richard Cochran <[email protected]>
Break out of the main loop on Control-C.

Signed-off-by: Richard Cochran <[email protected]>

889c707ba1a0c8b66b239df703c7228fd517d994 authored over 12 years ago by Richard Cochran <[email protected]>
uds: fix bug in file descriptor array opening.

By not touching the event descriptor, uds is leaving the value as zero,
resulting in polling on ...

2b819b6b76eb89fdf1735b42d30399368f13c0c8 authored over 12 years ago by Richard Cochran <[email protected]>
Correct the TAI-UTC offset when it is reasonable to do so.

Signed-off-by: Richard Cochran <[email protected]>

39363164683ca966c5dbaab443c6517e45963382 authored over 12 years ago by Richard Cochran <[email protected]>
Warn if the master's time properties are suspicious.

Signed-off-by: Richard Cochran <[email protected]>

1bfb6fd2178c35d163f839b57388a8595144954e authored over 12 years ago by Richard Cochran <[email protected]>
Update the hard coded TAI-UTC offset.

Signed-off-by: Richard Cochran <[email protected]>

d377229ab4dad43afb1d907cd0cb64b73145e75c authored over 12 years ago by Richard Cochran <[email protected]>
Use zero for the UDS port number.

Using 0xffff looks dumb in the log and in the pmc output.

Signed-off-by: Richard Cochran <richa...

ce745572b4f306d91c9a1f2b6ac677a130b8e2ab authored over 12 years ago by Richard Cochran <[email protected]>
pmc: add command line options to control messaging.

Signed-off-by: Richard Cochran <[email protected]>

9b2a6d543cc61817395d3c7ac00438fc0d8384e2 authored over 12 years ago by Richard Cochran <[email protected]>
Move shared layer 2 global declarations into an appropriate header file.

Signed-off-by: Richard Cochran <[email protected]>

529206112ddc5c8f0d177559d1ded853d58f228c authored over 12 years ago by Richard Cochran <[email protected]>
pmc: look for POLLHUP in order to work with piped input and redirection.

Signed-off-by: Richard Cochran <[email protected]>

8f6d2549b167758ade8dee563b61f05a9935c29b authored over 12 years ago by Richard Cochran <[email protected]>
Use the ingress port identity for clock management replies.

Signed-off-by: Richard Cochran <[email protected]>

420d48ce0274b14c18ece3343571253e72e0145b authored over 12 years ago by Richard Cochran <[email protected]>
Clean up the tlv and pmc include directives.

Signed-off-by: Richard Cochran <[email protected]>

b9c4fbc11db3f1631ce94edb3c5fb130cc8e7f88 authored over 12 years ago by Richard Cochran <[email protected]>
Provide a method to obtain a port's identity.

Signed-off-by: Richard Cochran <[email protected]>

9da511d6f6b2936a18323c4477bd7729a1afcfde authored over 12 years ago by Richard Cochran <[email protected]>
Move shared PI global variable into the proper module.

Signed-off-by: Richard Cochran <[email protected]>

e1f77422ec8bfbcf89031d1b1e1d007c2c99f865 authored over 12 years ago by Richard Cochran <[email protected]>
pmc: provide a reasonable default path when using UDS.

Signed-off-by: Richard Cochran <[email protected]>

9fc5f31c8b23bd5d9de353a45c5a85d87021cd02 authored over 12 years ago by Richard Cochran <[email protected]>
Create one special UDS port per clock.

This port is handled a bit differently than the others. Its only purpose
is to accept management...

a25c5484d1a58bf92b4a53d07e6858fcb10b7cf3 authored over 12 years ago by Richard Cochran <[email protected]>
pmc: optionally use the UDS transport.

Signed-off-by: Richard Cochran <[email protected]>

dac6372091dc4c25872c93708219df4421a4c6d4 authored over 12 years ago by Richard Cochran <[email protected]>
Introduce transport over UNIX domain sockets.

Signed-off-by: Richard Cochran <[email protected]>

18cac67b337abb279a63bf4fcc4180662fbc8579 authored over 12 years ago by Richard Cochran <[email protected]>
pmc: show the fields of the current data set responses.

Signed-off-by: Richard Cochran <[email protected]>

97df9b66b263f9e8232706d896b685d8f9810aff authored over 12 years ago by Richard Cochran <[email protected]>
Respond to the current data set management query.

Signed-off-by: Richard Cochran <[email protected]>

8c0393321ef0f4589df640779961b4d3258e1a50 authored over 12 years ago by Richard Cochran <[email protected]>
Convert the current data set TLV to and from host byte order.

Signed-off-by: Richard Cochran <[email protected]>

7da00ec0894048070cc2f437fcbe1aebde01ff70 authored over 12 years ago by Richard Cochran <[email protected]>
Maintain the current data set.

Signed-off-by: Richard Cochran <[email protected]>

92c6c9149d3f57979e98b08cbc622b0facd14f81 authored over 12 years ago by Richard Cochran <[email protected]>
pmc: support getting the current data set.

Signed-off-by: Richard Cochran <[email protected]>

b2e8555ffd5faaa1530c02b10d38c6f66907c4c3 authored over 12 years ago by Richard Cochran <[email protected]>
pmc: make the interactive output a bit clearer.

Signed-off-by: Richard Cochran <[email protected]>

42402036556b15982cb855932dbd6629cf54e1ce authored over 12 years ago by Richard Cochran <[email protected]>
Drop stale delay requests after the clock jumps in time.

Signed-off-by: Richard Cochran <[email protected]>

f9953c6ef35d96a6e3f99c4b6c185bc45788416d authored over 12 years ago by Richard Cochran <[email protected]>
Throw an error if SIOCETHTOOL returns a bad PHC index.

If the kernel supports the ioctl, but the driver does not (like igb in
kernel version 3.5), then...

ba4727ccaf4a3e5cd590b1d8eb602ca2faf61863 authored over 12 years ago by Richard Cochran <[email protected]>
Provide a method to report the sync interval to the clock.

Signed-off-by: Richard Cochran <[email protected]>

83be79df135e5644562963472de63b48959a938b authored over 12 years ago by Richard Cochran <[email protected]>
Let a slaved port report the sync interval.

Signed-off-by: Richard Cochran <[email protected]>

83bd97be800a3678d75f7fcfc13fcce8f606ca74 authored over 12 years ago by Richard Cochran <[email protected]>
Estimate the local/master frequency ratio when free running.

Signed-off-by: Richard Cochran <[email protected]>

cd8996ecb9f1e27e9882897d76a23c4698633bb5 authored over 12 years ago by Richard Cochran <[email protected]>
Add an option to dial the frequency estimation interval.

Signed-off-by: Richard Cochran <[email protected]>

75cdd1fe15a57bcfa4f0c6f187284ba6619df0d7 authored over 12 years ago by Richard Cochran <[email protected]>
Remove obsolete text from command line usage.

Now the command line options are always global and not per-interface.

Signed-off-by: Richard Co...

20c3dc5ed14ed7dd677599cc52a0b186533fa0c5 authored over 12 years ago by Richard Cochran <[email protected]>
Add an option to configure a free running local clock.

Signed-off-by: Richard Cochran <[email protected]>

1bb4ef4e348dafa5f0977db5d4cfc11050bb8f9a authored over 12 years ago by Richard Cochran <[email protected]>
Restore reading of the configuration file on stdin.

This feature is was dropped by accident in commit e1d3dc56.

Signed-off-by: Richard Cochran <ric...

07b016cd444a247a2977a8227eb9a36258dc0404 authored over 12 years ago by Richard Cochran <[email protected]>
Free the clock's servo and moving average on destroy.

The destroy method is supposed to undo everything that the create does.

Signed-off-by: Richard ...

e4c3fb2432647aaf762c6c30ea4985a811ba59b4 authored over 12 years ago by Richard Cochran <[email protected]>
raw: accept VLAN tagged packets.

The power profile requires using VLAN priority tagged packets. The tags
may or may not reach the...

08bee20be29dc46094bd507d3e99116d86da5fce authored over 12 years ago by Richard Cochran <[email protected]>
ptp4l: update the configuration files with the new defaults and sections

Update the configuration files for gPTP and default so that they show more of
the options as wel...

86123d28e7a9785219027c9afb554fd18b7fba6a authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: create [global] INI style config header

This patch creates a global heading for an INI style configuration file. The
parser allows the d...

e1d3dc560b92adb4b9ff11ec19d1ac0a4e0e8198 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: per-port configure settings

this patch enables the configuration file to define per-port specific
configuration options via ...

06756e29d2c47ae7bde969ef59037cf86454e019 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: build the interfaces from cmdline after parsing options

this patch causes interfaces to be built after the options have finished
scanning rather than du...

490c3e22a725c9e5f31cb12ff488b01241f6727c authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: add pod parser to separate logic from scan_line

this patch extracts the pod parser from the scan_line function in order to
simplify the code for...

6157db9ac437e74fe3a630faa8c4275d3d7ad799 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: read configuration file immediately after scanning options

This patch moves the call to read the configuration file until just after
the options have finis...

a7db3a1c2b98d5ffdb2473b491d28e70c428cc46 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: Allow per-port customized port defaults

this patch allows each port to maintain its own pod structure since it is only
used in ports. Th...

7a69db2379616a0552294f4788e90c972406a1f0 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: add missing options to config file

This patch adds support to the configuration file for all of the options
specified on the comman...

fcdc675f996d84f9bec33563ba505e6883c6320d authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: add override flag in cfg_settings to apply cmdline options

This patch adds a flag field for setting overflag flags so that command line
options override an...

11a334b93e4a464cf31769a25698ba62dab2ced4 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: new config_create_interface function

this patch adds a support function that creates a new port based on the
current default settings...

733d4ccf9eb12c84403ff0ede548016d00ac2caf authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: change interface name into static array

In order to support future settings which allow for the configuration of
per-port data, this pat...

31865b25890ac23d9de9af628de6c5e9ef13c3c6 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: move port default values into cfg_settings

move the dm, timestamping, and transport settings into the cfg_settings, and
treat them as defau...

5a0b6c3cd3f1179aec5a679ce0f6eaa3535f6698 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: remove timestamping as a per-port configuration option

The current code for the timestamping mode does not allow interfaces to have
separate timestampi...

0499513f1ec6c828d1bf654f3d3eacf656d5d574 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: correct print global set functions

this patch updates the global set functions to allow the user to set the
proper value instead of...

7c501032b212f2229e72e6c50f520fe1ca47070c authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: pull iface into the configure settings

this patch modifies the ptp4l.c and config settings so that the iface list is
inside the cfg_set...

08a6a14e6ca09275424af5902f52069a81fd658a authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: pass struct interface directly instead of passing it's sub arguments

the port_open function takes a large number of command options, a few of which
are actually all ...

64dcf257e33dc7f52e523ea2c80c1d9c6cb9a2af authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: make ds and pod part of cfg_settings

make ds and pod static inside cfg_settings instead of created via pointers.
Also statically init...

8250e805816a6320cf51b97b4000fbdb5ad46897 authored over 12 years ago by Jacob Keller <[email protected]>
ptp4l: Change command line options to better match meaning

modify the command line options to make better sense of what each one does.
Ignore previous rest...

df5c07159936b0072e163bb3b569bed9af281791 authored over 12 years ago by Jacob Keller <[email protected]>
Add a configuration option to control the follow up info TLV.

Signed-off-by: Richard Cochran <[email protected]>

00b232477d862202c0ff5ac00f5021097bf6bec7 authored over 12 years ago by Richard Cochran <[email protected]>
Append the path trace list to announce messages when enabled.

Signed-off-by: Richard Cochran <[email protected]>

9f72080260950dbdef9318eb80c0f8cbc665d1f2 authored over 12 years ago by Richard Cochran <[email protected]>
Keep the path trace list up to date.

Signed-off-by: Richard Cochran <[email protected]>

e1c202726677595cda980ee5bc42943ac614e51b authored over 12 years ago by Richard Cochran <[email protected]>
Append the follow up information TLV when enabled.

Signed-off-by: Richard Cochran <[email protected]>

d04deb8ba61cb3abbd4e743a2e7da485a5a8e831 authored over 12 years ago by Richard Cochran <[email protected]>
Convert the follow up info tlv to and from network byte order.

Signed-off-by: Richard Cochran <[email protected]>

226bd355af222dbbbf8aa14fb282abddf2297716 authored over 12 years ago by Richard Cochran <[email protected]>
Filter incoming announce messages according to the path trace rule.

Signed-off-by: Richard Cochran <[email protected]>

316fb6345302224a1405316262cb8c7f02071425 authored over 12 years ago by Richard Cochran <[email protected]>