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
Problem
=======
Unselected master port may unintentionally continue to request
announce/sync/del...
When master and slave instance interacting with each other operating
at different interface spee...
Delay asymmetry calculation based on the PTP port interface speed of
master obtained from TLV an...
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to
enable master to communicate P...
Get the interface speed related information using ethtool and
convert interface speed to bit rat...
When a unicast master is no longer the best master, an UC_EV_UNSELECTED
event occurs for that un...
Signed-off-by: Vincent Cheng <[email protected]>
3b9b852bf89361452a5b0c538c3e81bb7e4b89a4 authored almost 2 years ago by Vincent Cheng <[email protected]>
On termination of a ptp4l unicast session, ptp4l sends
CANCEL_UNICAST_TRANSMISSION for announce,...
Set the timer only when an event causes the port to transition to the
FAULTY state, rather than ...
After commit afeabf3c90ed ("ptp4l: add VLAN over bond support") the
TS_LABEL_CHANGED flag was se...
Refer [1],from make 4.4, all variables that are marked as export will
also be passed to the shel...
The interface to the Linux kernel for adjusting clock frequencies is
specified in scaled parts p...
The current implementation compares the entire PortId, consisting of ClockId and PortNumber, usi...
02bc393179f27bac21ec5e9fa3887532237c206c authored about 2 years ago by Luigi Mantellini <[email protected]>
Check the snprintf() return value in order to avoid the following
warnings from gcc:
config.c: ...
57d5c6a81f6fa810b663f174985f03dfded4095f authored about 2 years ago by Miroslav Lichvar <[email protected]>
Cancel messages don't trigger BMCA leaving best GM select for the port.
In case when new Announc...
Signed-off-by: Izunna Otiji <[email protected]>
1af983d0d691c5fcf4598a019c4cbf7df686e755 authored about 2 years ago by Izunna Otiji <[email protected]>
The freq_est_interval value is documented as the time interval over which
to estimate the ratio ...
Signed-off-by: Amar Subramanyam <[email protected]>
3c2840f2e0af4e49bfd94732d4b7e5b1cc9167e4 authored about 2 years ago by Amar Subramanyam <[email protected]>
Clocks specified by the -c option, or the default CLOCK_REALTIME, were
added before the default ...
Exit if an error is returned from the clock_adjtime() call in
clockadj_get_freq(). No recoverabl...
Before setting the new frequency offset on a clock update, compare the
current frequency returne...
Kernels before 3.10 had a bug in reading of the system clock frequency,
which was worked around ...
If no other Time of Day source is specified use the system timer
by default.
Signed-off-by: Mac...
539939c5c67d15d4a1a75b26c1bee6aaea7a053b authored about 2 years ago by Maciej Machnikowski <[email protected]>
Current implementation requires specifying the -s argument for PPS
sources that don't provide To...
Rename pps_sink to tod_sink, as it stores the source
of the time of day
Signed-off-by: Maciej M...
dbc56425f64fd131870b176dce84bbbdb2c79393 authored about 2 years ago by Maciej Machnikowski <[email protected]>
When ptp4l detects a fault, the application stops for a short time until
the fault_reset_interva...
If ptp4l received a signal in poll() waiting for a transmit timestamp,
multiple (possibly confus...
Update leap second table expiry date to 28 June 2023 based on
the latest leap-seconds.list from ...
To avoid confusion - update offset in the man page to current value.
Signed-off-by: Maciek Mach...
10d42e3a466f1c8dac1dcc7f7a2b51e6ad4d2aa1 authored about 2 years ago by Maciek Machnikowski <[email protected]>
Strip the IEC62439-3 PRP trailer if it is present
to support PTP over PRP.
The implementation is...
This API was introduced for 2 reasons:
1. Some hardware can emit PPS signals but not starting f...
4abd3e91c89565baae5ae66f128f78fd4e4db7ae authored over 2 years ago by Vladimir Oltean <[email protected]>
Monitor the port state change events from ptp4l, and use that
information to determine the "refe...
This introduces the '-a' option in ts2phc, an option inspired from
phc2sys that puts the clocks ...
Previous changes/clarifications to ts2phc have established that:
- a PPS sink deals with extts ...
457ca967ebe3356705a3f0814715dfb57b154412 authored over 2 years ago by Vladimir Oltean <[email protected]>
Now that we are registering a clock even for the PPS source when it
supports that (i.e. when it ...
This propagates the use of "struct ts2phc_private" all the way into the
PPS source API, in prepa...
PMC agents such as phc2sys tend to suppress uninteresting port state
transitions, to avoid runni...
Currently in ts2phc, PPS sinks are also the only candidates for the
clocks that get synchronized...
Eliminate the ad-hoc use of global variables in the ts2phc program by
introducing one data struc...
Make this information more visible by default, since it is the key
output of this program.
Sign...
9684508c84f10f79b1288f4cbef04f5d38e45fda authored over 2 years ago by Vladimir Oltean <[email protected]>
Add support for the free-running mode that will not adjust the sink
clock when enabled.
V2: cha...
6c42e5c14362a359e7a3aa8f1a01488f8fedaf3d authored over 2 years ago by Maciek Machnikowski <[email protected]>
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this
case port does not implement...
With a virtual PHC, don't try to switch to the physical PHC after a
link-state change. JBOD and ...
After first timeout of Announce message ptp4l will send Announce
requests messages to all of con...
Currently, if the -c parameter is used multiple times only the last
clock will be synchronized a...
Add new adjust phase support flag to the phc control tool.
[RC: Trivial grammar correction ]
S...
e197a7bae61bd4067a206d3654db12aff7c24ceb authored over 2 years ago by Erez Geva <[email protected]>
As far as I can tell, three new management TLVs were added recently
without updating the pmc.8 m...
It's redundant to ensure tslabel if we could get ts_info directly from
the interface. By init if...
Latest Linux kernel has supported getting active port's PHC from bond
directly. This would help ...
Split port_change_phc() logic form port_link_status() to improve the
readability of the code
Si...
6070f8c7e4086de3c2a8657d152ab15a17b2cf3d authored over 2 years ago by Hangbin Liu <[email protected]>
Return -errno from failed ioctl instead of the SYSOFF_* enum from the
measurement functions to a...
Return -errno from the failed clock_gettime() to allow the callers to
check for specific errors....
Handle EBUSY when probing support for a PTP_SYS_OFFSET ioctl. Try each
ioctl up to three times b...
Change the log level of ioctl error messages to the error level to make
them visible in default ...
Reading of the PHC can occasionally fail with some drivers, e.g. the ice
driver returns EBUSY wh...
The ts2phc program will introduce clock synchronization which is
orthogonal to the direction in ...
The ts2phc program will introduce clock synchronization which is
orthogonal to the direction in ...
At the moment, a clock which emits PPS is not synchronizable, and
therefore called "master", and...
Enforce type correctness and make all callers of pmc_agent_query_port_properties
pass an enum po...
[ RC: adjusted max file mode value ]
Signed-off-by: Martin Pecka <[email protected]>
Signed-...
[ RC: adjusted max file mode value ]
Signed-off-by: Martin Pecka <[email protected]>
Signed-...
Use proper management TLV name in print.
Use a simple 16 unsigned bits format.
Signed-off-by: E...
f55f771b4a8e382c2ff555be3999d3cbe2b09d22 authored over 2 years ago by Erez Geva <[email protected]>
Add missing managements TLVs to pmc_tlv_datalen.
Ensure alignment to 16 bits.
Signed-off-by: Er...
d7f79b9c15384ce6bd2c6927d57ff148361e82e3 authored over 2 years ago by Erez Geva <[email protected]>Signed-off-by: Vincent Cheng <[email protected]>
v1->v2: new
v2->v3: unicast_client_...
Signed-off-by: Vincent Cheng <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.k...
Signed-off-by: Vincent Cheng <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.k...
Signed-off-by: Vincent Cheng <[email protected]>
Reviewed-by: Jacob Keller <jacob.e.k...
Add reserved octet to the new port hardware clock structure.
Signed-off-by: Erez Geva <erez.gev...
1a3c9716faefec8817e013b1ec7af4e505b16b27 authored over 2 years ago by Erez Geva <[email protected]>
The descriptions of "G.8275.portDS.localPriority" and
"G.8275.defaultDS.localPriority" in ptp4l ...
When running in the automatic mode, get the PHC index of the port
from PORT_HWCLOCK_NP instead o...
If the PHC specified with the phc_index or -p option is a virtual clock
of the interface, bind s...
Add "use_vclocks" option to enable synchronization with virtual clocks.
This enables multiple pt...
Allow the PHC index to be configured for each port. The default value is
-1, which enables the o...
With the latest kernels it is possible to create virtual PHCs on top of
a free-running physical ...
Add a function using ethtool netlink to check whether a PHC is a virtual
clock of an interface.
...
Add a new command to get the PHC index associated with the port. This
will be needed for phc2sys...
Initialize the whole array passed to rtnl_rtattr_parse() and don't
ignore the last attribute wit...
The phc_ctl program includes an implementation for comparing the PHC
with CLOCK_REALTIME when PT...
The read_phc function implemented in phc2sys.c is used to perform clock
comparison between two a...
This change adds new UNICAST_MASTER_TABLE_NP management TLV that
exposes table with details of e...
[ RC - put extern and inline key words on same line as identifier.
- fix commit message ]
...
f885fd8f69c714a72410bf707b8495d919743a7d authored almost 3 years ago by Kosta Demirev <[email protected]>
The management_tlv_datum used in some SET commands is allocated
on stack, but nothing initialize...
We'd like to monitor the service quality of unicast PTPv2 in the DCs.
This change adds counters ...
When we determine that the "device" argument represents a path to a char
device, we call phc_ope...
Ed uses the ptp_kvm driver with phc2sys, and Debian 10 has an udev rule
which creates a symlink ...
According to IEEE 1588, each destination should have its own, unique
message sequence with respe...
According to IEEE 1588, each destination should have its own, unique
message sequence with respe...
Add a separate function for the update of the grandmaster's state after
a leap second to avoid m...
This code changes brings in the ability to program delay response timeout
within which, if the u...
When the master updated the UTC offset and leap flags in an announce
message after a leap second...
Don't limit servo handling of leap seconds to the system clock. If the
domain doesn't use the PT...
Log an info message when the LEAP_61 or LEAP_59 flag changes in the
accepted time properties.
S...
ee70be87ffb3d4a07ffb60ca119b909bb8157afa authored over 3 years ago by Miroslav Lichvar <[email protected]>
When operating as a grandmaster, clear the programmed leap second and
update the UTC offset when...
Bring the built in leap second table up to date through IERS Bulletin C62.
No new leap seconds h...
The lstab_read() function opens a file, but doesn't close it after use.
Signed-off-by: Miroslav...
2bd23463596e4c1e4e806a287bdcd3895b8356bc authored over 3 years ago by Miroslav Lichvar <[email protected]>
In the groff syntax lines starting with a dot or quote are requests. A
line in the servo_offset_...
getopt_long() in glibc allows shortened long option names, e.g.
ptp4l --domain works as --domain...
Don't perform the sanity check on receive timestamps from ports in
non-slave states to avoid fal...
When the best port is changed, but the ID of the best clock doesn't
change (e.g. a passive port ...
Renewing of the transport on announce/sync timeout is needed in the
client-only mode to avoid ge...