On Wed, Jul 27, 2022 at 01:25:22PM +0530, SyncMonk Technologies wrote:

> diff --git a/interface.c b/interface.c
> index 9bcb343..ec8964c 100644
> --- a/interface.c
> +++ b/interface.c
> @@ -93,3 +93,12 @@ int interface_get_vclock(struct interface *iface)
>  {
>       return iface->vclock;
>  }
> +
> +uint64_t interface_bitperiod(struct interface *iface)
> +{
> +       if (!iface->if_info.valid)
> +               return 0;
> +
> +       /* Megabits per secon converted to attoseconds per bit. */
> +       return 1000000000000/ iface->if_info.speed;

Add ULL to that constant please.

> @@ -705,6 +705,12 @@ the interval, the sample will be printed instead of the 
> statistics. The
>  messages are printed at the LOG_INFO level.
>  The default is 0 (1 second).
>  .TP
> +.B interface_rate_tlv
> +When master and slave instances are operating at different interface rate,

"When the client and server are operating ..."

> +delay asymmetry caused due to different interface rate needs to be 
> compensated.
> +The master and slave exhanges their interface rate based on interface rate 
> TLV
> +as per G.8275.2 Annex D.
> +The default is 0 (does not support interface rate tlv).


Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to