On Mon, May 15, 2023 at 06:26:04PM -0400, Kishen Maloor wrote:

> @@ -490,6 +491,15 @@ static int mgt_post_recv(struct management_tlv *m, 
> uint16_t data_len,
>               if (data_len != 0)
>                       goto bad_length;
>               break;
> +     case MID_CMLDS_INFO_NP:
> +             if (data_len < sizeof(struct cmlds_info_np))
> +                     goto bad_length;
> +             cmlds = (struct cmlds_info_np *)m->data;
> +             net2host64_unaligned(&cmlds->meanLinkDelay);
> +             NTOHL(cmlds->scaledNeighborRateRatio);
> +             net2host64_unaligned(&cmlds->egress_ts);
> +             net2host64_unaligned(&cmlds->rx_ts);
> +             break;

Place after MID_POWER_PROFILE_SETTINGS_NP please.

>       }
>       if (extra_len) {
>               if (extra_len % 2)

Thanks,
Richard


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

Reply via email to