Hello,
I have a configuration with a PC running Ubuntu and a board running Linux.
ethtool reports that the board doesn't support SOF_TIMESTAMPING_TX_SOFTWARE,
and I disabled ethtool check as mentioned in this post
http://linuxptp-users.narkive.com/Q6DUVkta/using-ptp4l-on-vlan-interfaces#post7
. Now if the board behaves as a master, I see correct log on the PC. But
when I try use slave-only mode on the board, it says "port 1: bad message"
all the time. I found out that error detects in the "suffix_post_recv"
function ("msg.c" file). len variable is always equal to 6, but tlv->length
variable is taking for example the following values: 210, 20250, 50666,
18066, and so on. Such values lead to failing either on (tlv->length % 2)
or on (tlv->length > len) check, and I'm gerring -EBADMSG error. I would be
thankful if anyone could explain what do such values mean and what can be
the cause. Please correct if I'm using wrong mailing list.
--
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