[Linuxptp-devel] [PATCH v4 1/4] [Interface Rate TLV] function to support get interface speed via ethtool

2022-12-28 Thread SyncMonk Technologies
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. v1: initial commit. v2: updating comments and

[Linuxptp-devel] [PATCH v4 4/4] [Interface Rate TLV] adding delay asymmetry calculation

2022-12-28 Thread SyncMonk Technologies
Delay asymmetry calculation based on the PTP port interface speed of master obtained from TLV and the slave interface rate obtained by ethtool. The calculation is done in attoseconds to accomodate interface bit period less than 1ns. (ITU-T G.8275.2(06/2021) annex D). v4: removing bit period calcu

[Linuxptp-devel] [PATCH v4 3/4] [Interface Rate TLV] organization TLV support for interface rate

2022-12-28 Thread SyncMonk Technologies
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to enable master to communicate PTP port interface rate to slave. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma v4: Updating comments for UInteger64 introduced in

[Linuxptp-devel] [PATCH v4 2/4] [Interface Rate TLV] adding speed field information for interface

2022-12-28 Thread SyncMonk Technologies
Get the interface speed related information using ethtool and convert interface speed to bit rate in attoseconds per bit. v4: adding interface bit period in iface_if_info. This bit period is updated during init time and whenever there are port events like link up and down and speed updates

[Linuxptp-devel] [PATCH v3 2/4] [Interface Rate TLV] adding speed field information for interface

2022-12-07 Thread SyncMonk Technologies
Get the interface speed related information using ethtool Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 2 ++ interface.c | 12 interface.h | 14 ++ port.c | 5 + 4 files c

[Linuxptp-devel] [PATCH v3 3/4] [Interface Rate TLV] organization TLV support for interface rate

2022-12-07 Thread SyncMonk Technologies
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to enable master to communicate PTP port interface rate to slave. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- config.c | 1 + pdt.h | 1 + p

[Linuxptp-devel] [PATCH v3 4/4] [Interface Rate TLV] adding delay asymmetry calculation

2022-12-07 Thread SyncMonk Technologies
Delay asymmetry calculation based on the PTP port interface speed of master obtained from TLV and the slave interface rate obtained by ethtool. v3: updating network/host byte order handling. v1: initial commit Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey

[Linuxptp-devel] [PATCH v3 1/4] [Interface Rate TLV] function to support get interface speed via ethtool

2022-12-07 Thread SyncMonk Technologies
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. v1: initial commit. v2: updating comments and

[Linuxptp-devel] [PATCH 4/4] [Interface Rate TLV] adding delay asymmetry calculation

2022-10-10 Thread SyncMonk Technologies
From: devasishsyncmonk Delay asymmetry calculation based on the PTP port interface speed of master obtained from TLV and the slave interface rate obtained by ethtool. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- interfa

[Linuxptp-devel] [PATCH 2/4] [Interface Rate TLV] adding speed field information for interface

2022-10-10 Thread SyncMonk Technologies
From: devasishsyncmonk Get the interface speed related information using ethtool Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 2 ++ interface.c | 11 +++ interface.h | 14 ++ port.c

[Linuxptp-devel] [PATCH 1/4] [Interface Rate TLV] function to support get interface speed via ethtool

2022-10-10 Thread SyncMonk Technologies
From: devasishsyncmonk When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. v1: initial commit.

[Linuxptp-devel] [PATCH 3/4] [Interface Rate TLV] organization TLV support for interface rate

2022-10-10 Thread SyncMonk Technologies
From: devasishsyncmonk adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to enable master to communicate PTP port interface rate to slave. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma -v1: initial commit -v2: m

[Linuxptp-devel] [PATCH v3 3/3] Adding support for passing announce message from external source

2022-09-01 Thread SyncMonk Technologies
The announce message from the External source is passed by virtual port for BMCA participation so that it becomes a selection source along with other ports for linuxPTP. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Vipin Sharma Signed-off-by: Devasish Dey v2->v3: -

[Linuxptp-devel] [PATCH v3 2/3] adding virtual port support for ts2phc

2022-09-01 Thread SyncMonk Technologies
0644 index 000..539c48f --- /dev/null +++ b/ts2phc_vport.c @@ -0,0 +1,281 @@ +/** + * @file ts2phc_vport.c + * @note Copyright (C) 2022 SyncMonk Technologies + * @note SPDX-License-Identifier: GPL-2.0+ + * + */ +#include +#include + +#include "address.h" +#include "ts2phc_vport.

[Linuxptp-devel] [PATCH v3 1/3] Adding virtual PTP port support

2022-09-01 Thread SyncMonk Technologies
Virtual PTP port is for unidirectional tranfer of phase/time interface on a PTP clock. When associated with an external input signal, a virtual PTP port allows this external interface to participate in the PTP protocol. As an input, this external port can participate in the source selection with an

[Linuxptp-devel] [PATCH v2 1/4] Adding virtual PTP port support

2022-09-01 Thread SyncMonk Technologies
ote Copyright (C) 2022 SyncMonk Technologies + * @note SPDX-License-Identifier: GPL-2.0+ + * + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#include "address.h" +#include "contain.h" +#include "print.h" +#include "t

[Linuxptp-devel] [PATCH v2 2/4] Integrating virtual PTP ports with ptp4l

2022-09-01 Thread SyncMonk Technologies
When associated with an external input signal, a virtual PTP port allows this external interface to participate in the PTP protocol. As an input, this external port can participate in the source selection with an associated virtual Erbest using the associated virtual PTP port. Signed-off-by: Greg

[Linuxptp-devel] [PATCH v2 4/4] Adding support for passing announce message from external source

2022-09-01 Thread SyncMonk Technologies
The announce message from the External source is passed by virtual port for BMCA participation so that it becomes a selection source along with other ports for linuxPTP. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Vipin Sharma Signed-off-by: Devasish Dey v1->v2: -

[Linuxptp-devel] [PATCH v2 3/4] adding virtual port support to ts2phc

2022-09-01 Thread SyncMonk Technologies
@@ -0,0 +1,282 @@ +/** + * @file ts2phc_vport.c + * @note Copyright (C) 2022 SyncMonk Technologies + * @note SPDX-License-Identifier: GPL-2.0+ + * + */ +#include +#include + +#include "address.h" +#include "ts2phc_vport.h" +#include "print.h" +#include "port.h

[Linuxptp-devel] [PATCH 3/4] APTS support

2022-08-24 Thread SyncMonk Technologies
@@ +/** + * @file ts2phc_vport.c + * @note Copyright (C) 2022 SyncMonk Technologies + * @note SPDX-License-Identifier: GPL-2.0+ + * + */ +#include +#include + +#include "address.h" +#include "ts2phc_vport.h" +#include "print.h" +#include "port.h" +#include "

[Linuxptp-devel] [PATCH 2/4] APTS support

2022-08-24 Thread SyncMonk Technologies
Adding virtual port support to ptp4l Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Vipin Sharma Signed-off-by: Devasish Dey --- clock.c | 59 - config.c| 2 ++ interface.c | 7 +++ interface.h | 6 +++

[Linuxptp-devel] [PATCH 4/4] APTS support

2022-08-24 Thread SyncMonk Technologies
adding APTS to participate in BMCA Passing the announce message for external source to ptp4l using virtual port to avoid selection of master from PTP source. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Vipin Sharma Signed-off-by: Devasish Dey --- ts2phc_phc_pps_so

[Linuxptp-devel] [PATCH 1/4] APTS support

2022-08-24 Thread SyncMonk Technologies
designated_fsm.o \ diff --git a/vport.c b/vport.c new file mode 100644 index 000..89d4105 --- /dev/null +++ b/vport.c @@ -0,0 +1,140 @@ +/** + * @file vport.c + * @note Copyright (C) 2022 SyncMonk Technologies + * @note SPDX-License-Identifier: GPL-2.0+ + * + */ +#include +#include +#include +#include

[Linuxptp-devel] [PATCH 3/3] Packet Timing Signal Fail (PTSF)(G.8275.2 Section 6.7.11)

2022-08-24 Thread SyncMonk Technologies
adding TLV support for PORT_PTSF_UNUSABLE Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- pmc.c| 6 ++ pmc_common.c | 23 +++ port.c | 23 +++ tlv.c| 12

[Linuxptp-devel] [PATCH 1/3] Packet Timing Signal Fail (PTSF)(G.8275.2 Section 6.7.11)

2022-08-24 Thread SyncMonk Technologies
- adding sync receipt timeout, delay response timeout and signal fail support to portDS as per G.8275.2. - This also sets the signal fail condition for timeout. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- ds.h

[Linuxptp-devel] [PATCH 2/3] Packet Timing Signal Fail (PTSF)(G.8275.2 Section 6.7.11)

2022-08-24 Thread SyncMonk Technologies
adding TLV support for MID_PORT_PTSF_DATA_NP Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- pmc.c| 16 pmc_common.c | 1 + port.c | 8 tlv.c| 11 +++ tlv.h|

[Linuxptp-devel] [PATCH 2/2] Alternate master support

2022-08-24 Thread SyncMonk Technologies
adding alternate master support for linuxptp A PTP Master Clock, which is not the Best Master, may act as a master with the Alternate Master flag set on the messages it sends. Need to support Alternate Master, including using Slave Event Monitoring channel for the alternate connections (to pass al

[Linuxptp-devel] [PATCH 1/2] Alternate master support

2022-08-24 Thread SyncMonk Technologies
Slave Event Monitoring channel for the alternate connections Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- monitor.c | 63 +++ monitor.h | 3 +++ pmc.c | 31

[Linuxptp-devel] [PATCH 2/2] adding alternate master support for linuxptp

2022-08-24 Thread SyncMonk Technologies
A PTP Master Clock, which is not the Best Master, may act as a master with the Alternate Master flag set on the messages it sends. Need to support Alternate Master, including using Slave Event Monitoring channel for the alternate connections (to pass along timestamps to external servo). See ITU-T G

[Linuxptp-devel] [PATCH 1/2] Slave Event Monitoring channel for the alternate connections

2022-08-24 Thread SyncMonk Technologies
A PTP Master Clock, which is not the Best Master, may act as a master with the Alternate Master flag set on the messages it sends. Need to support Alternate Master, including using Slave Event Monitoring channel for the alternate connections (to pass along timestamps to external servo). See ITU-T G

[Linuxptp-devel] [PATCH 1/4] [Interface Rate TLV] function to support get interface speed via ethtool

2022-07-27 Thread SyncMonk Technologies
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. Signed-off-by: Greg Armstrong Signed-off-by:

[Linuxptp-devel] [PATCH 4/4] [Interface Rate TLV] adding delay asymmetry calculation

2022-07-27 Thread SyncMonk Technologies
Delay asymmetry calculation based on the PTP port interface speed of master obtained from TLV and the slave interface rate obtained by ethtool. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- interface.c | 9 +

[Linuxptp-devel] [PATCH 3/4] [Interface Rate TLV] organization TLV support for interface rate

2022-07-27 Thread SyncMonk Technologies
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to enable master to communicate PTP port interface rate to slave. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 7 +++ clock.h | 7 +++ c

[Linuxptp-devel] [PATCH 2/4] [Interface Rate TLV] adding speed field information for interface

2022-07-27 Thread SyncMonk Technologies
Get the interface speed related information using ethtool Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 2 ++ interface.c | 11 +++ interface.h | 14 ++ port.c | 5 + 4 files ch

[Linuxptp-devel] [PATCH 3/4] [Interface Rate TLV] organization TLV support for interface rate

2022-07-26 Thread SyncMonk Technologies
adding interface rate TLV as defined by ITU-T G.8275.2 Annex D to enable master to communicate PTP port interface rate to slave. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 7 +++ clock.h | 7 +++ c

[Linuxptp-devel] [PATCH 4/4] [Interface Rate TLV] adding delay asymmetry calculation

2022-07-26 Thread SyncMonk Technologies
Delay asymmetry calculation based on the PTP port interface speed of master obtained from TLV and the slave interface rate obtained by ethtool. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- interface.c | 9 +

[Linuxptp-devel] [PATCH 1/4] [Interface Rate TLV] function to support get interface speed via ethtool

2022-07-26 Thread SyncMonk Technologies
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. Signed-off-by: Greg Armstrong Signed-off-by:

[Linuxptp-devel] [PATCH 2/4] [Interface Rate TLV] adding speed field information for interface

2022-07-26 Thread SyncMonk Technologies
Get the interface speed related information using ethtool Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 2 ++ interface.c | 11 +++ interface.h | 14 ++ port.c | 5 + 4 files ch

[Linuxptp-devel] [PATCH] G.8275.2 support for delay_mechanism NO_MECHANISM

2022-07-25 Thread SyncMonk Technologies
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this case port does not implement the delay mechanism. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 4 +++- config.c | 1 + dm.h

[Linuxptp-devel] [PATCH 3/3] [Interface Rate TLV] adding TLV support

2022-06-22 Thread SyncMonk Technologies
- adding organizational TLV support for interface rate - delay asymmetry calculation for master and slave Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 12 clock.h | 14 ++

[Linuxptp-devel] [PATCH 2/3] [Interface Rate TLV] adding speed field information for interface

2022-06-22 Thread SyncMonk Technologies
Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 2 ++ interface.c | 11 +++ interface.h | 14 ++ port.c | 5 + 4 files changed, 32 insertions(+) diff --git a/clock.c b/clock.c ind

[Linuxptp-devel] [PATCH 1/3] [Interface Rate TLV] function to support get interface speed via ethtool

2022-06-22 Thread SyncMonk Technologies
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. Signed-off-by: Greg Armstrong Signed-off-by:

[Linuxptp-devel] [PATCH 1/3] [Interface Rate TLV] function to support get interface speed via ethtool

2022-06-22 Thread SyncMonk Technologies
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. In this patch we are adding changes to get the interface speed using ethtool. Signed-off-by: Greg Armstrong Signed-off-by:

[Linuxptp-devel] [PATCH] Inclusion of a virtual PTP port on a PTP clock

2022-06-17 Thread SyncMonk Technologies
+ * @note Copyright (C) 2022 SyncMonk Technologies + * @note SPDX-License-Identifier: GPL-2.0+ + * + */ +#include +#include +#include +#include +#include +#include +#include +#include + +#include "address.h" +#include "contain.h" +#include "print.h" +#include &

[Linuxptp-devel] [PATCH] (G.8275.2 Annex D) TLV support for interface rate

2022-06-10 Thread SyncMonk Technologies
When master and slave instance interacting with each other operating at different interface speed, delay assymetry needs to be compensated as described in G.8271 appendix V. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- cl

[Linuxptp-devel] [PATCH] G.8275.2 support for delay_mechanism NO_MECHANISM

2022-06-06 Thread SyncMonk Technologies
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this case port does not implement the delay mechanism. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 4 +++- config.c | 1 + dm.h

[Linuxptp-devel] [PATCH] G.8275.2 support for delay_mechanism NO_MECHANISM

2022-06-02 Thread SyncMonk Technologies
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this case port does not implement the delay mechanism. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- clock.c | 4 +++- config.c | 15

[Linuxptp-devel] [PATCH] v1.1 G.8275.2 support for delay_mechanism NO_MECHANISM

2022-06-01 Thread SyncMonk Technologies
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this case port does not implement the delay mechanism. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- config.c | 16 +--- dm.h |

[Linuxptp-devel] [PATCH] G.8275.2 support for delay_mechanism NO_MECHANISM

2022-05-31 Thread SyncMonk Technologies
As per IEEE1588-2019, Table 21 adding NO_MECHANISM support. In this case port does not implement the delay mechanism. Signed-off-by: Greg Armstrong Signed-off-by: Leon Goldin Signed-off-by: Devasish Dey Signed-off-by: Vipin Sharma --- config.c | 16 +--- dm.h |

[Linuxptp-devel] [PATCH] Adding following features to support Telecom profile G.8275.2

2022-05-16 Thread SyncMonk Technologies
SyncMonk Technologies + * Also, for each author's protection and ours, we want to make certain that + * everyone understands that there is no warranty for this free software. + * If the software is modified by someone else and passed on, we want its + * recipients to know that what they have i