Re: [Linuxptp-users] Bad message error

2018-02-08 Thread Yan Yankovskyi via Linuxptp-users
> The topic was running PTP over a VLAN > interface. This is now fully supported by the Linux kernel. Even in kernel version 4.15.2 in file net/8021q/vlan_dev.c function vlan_ethtool_get_ts_info contains the following code: info->so_timestamping = SOF_TIMESTAMPING_RX_SOFTWARE |

Re: [Linuxptp-users] Bad message error

2018-02-07 Thread Richard Cochran
On Wed, Feb 07, 2018 at 12:39:12PM +0200, Yan Yankovskyi wrote: > On Tue, Feb 6, 2018 at 7:49 PM, Richard Cochran > wrote: > > By "board running Linux" you mean a custom embedded design, don't you? > > Exactly. Connection is established using the BroadR-Reach <->

Re: [Linuxptp-users] Bad message error

2018-02-07 Thread Yan Yankovskyi via Linuxptp-users
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 0x; 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 <

Re: [Linuxptp-users] Bad message error

2018-02-07 Thread Yan Yankovskyi via Linuxptp-users
On Tue, Feb 6, 2018 at 7:49 PM, Richard Cochran 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

Re: [Linuxptp-users] Bad message error

2018-02-06 Thread Richard Cochran
On Tue, Feb 06, 2018 at 06:20:59PM +0200, Yan Yankovskyi via Linuxptp-users wrote: > I have a configuration with a PC running Ubuntu and a board running Linux. By "board running Linux" you mean a custom embedded design, don't you? Or what do you mean? > ethtool reports that the board doesn't

[Linuxptp-users] Bad message error

2018-02-06 Thread Yan Yankovskyi via Linuxptp-users
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 .