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

2022-07-27 Thread Devasish Dey
Hi Erez, I tried to update the mask and used ethtool_link_settings to get the speed. It does not work. I have accepted your suggestion for adding comments and will be addressing it in the new patch. Thanks, Devasish Dey SyncMonk Technologies. On Wed, 27 Jul 2022 at 03:37, Geva, Erez wrote: >

[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-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 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 +