I also checked the values for the working case, where the host behaves as a
slave, and I found out that:
1) *ptr value is always set to 0x00000000;
2) len (cnt - pdulen) is either 0 or 2, i.e. it is always less then
sizeof(struct TLV).
On Wed, Feb 7, 2018 at 12:39 PM, Yan Yankovskyi <
yan.yankovs...@globallogic.com> wrote:
> On Tue, Feb 6, 2018 at 7:49 PM, Richard Cochran <richardcoch...@gmail.com>
> wrote:
> > By "board running Linux" you mean a custom embedded design, don't you?
>
> Exactly. Connection is established using the BroadR-Reach <-> Ethernet
> converter, if it matters.
>
> >> ethtool reports that the board doesn't support
> SOF_TIMESTAMPING_TX_SOFTWARE,
>
> > Then you are out of luck.
>
> Is it crucial? Am I able to add support of this timestamp mode by myself?
>
> > Looks like the endianness of the value is wrong.
>
> You mean endianess of *ptr variable value? Because if I have for example
> 0x68e3 or 0xe368 values for tlv->length field, it doesn't change much.
> I have a raw value of *ptr equal to 0x000068e3, doesn't it seem like a
> correct value? It implies that tlv->type equals 0.
>
> Thanks.
>
> --
> Best regards,
>
> Yan Yankovskyi | Junior Software Engineer, Ukraine
> GlobalLogic
> M +380.95.049.64.73 <+380950496473> Skype huandesale
>
> www.globallogic.com
>
> http://www.globallogic.com/email_disclaimer.txt
>
--
Best regards,
Yan Yankovskyi | Junior Software Engineer, Ukraine
GlobalLogic
M +380.95.049.64.73 <+380950496473> Skype huandesale
www.globallogic.com
http://www.globallogic.com/email_disclaimer.txt
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users