> -----Original Message-----
> From: Richard Cochran <richardcoch...@gmail.com>
> Sent: Wednesday, March 10, 2021 6:58 AM
> To: Geva, Erez <erez.geva....@siemens.com>
> Cc: linuxptp-devel@lists.sourceforge.net
> Subject: Re: [Linuxptp-devel] PORT_STATS_NP management TLV message
>
> On Tue, Mar 09, 2021 at 10:28:48PM +0000, Geva, Erez wrote:
> > However with the current code the endian depends on machine.
> > So a linuxptp daemon that runs on a big endian (there are yet some) will
> > send
> the message in big endian.
>
> Yeah, so at the very minimum, we should:
>
> 1. document the oversight in the source code, and
>
> 2. add le64_to_cpu/cpu_to_le64 in the post_recv/pre_send paths.
>
> Thanks,
> Richard
>
Can we treat it as a bug fix? Or should we treat it as an oversight that
requires a new op?
Thanks,
Jake
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel