> 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 |
SOF_TIMESTAMPING_SOFTWARE;
And it seems that absence of SOF_TIMESTAMPING_TX_SOFTWARE flag
in this place is leading to fail in ethtool check. Is adding the flag in
this function
is all I need to do to implement this functionality? It seems like it
isn't, but I'm not
sure. Don't you know any manual I could refer?
Also, as a network driver I am using a custom EoP driver. Do you have any
ideas
about on which stage something can go wrong? I guess that the problem may be
caused by this driver.
On Wed, Feb 7, 2018 at 5:52 PM, Richard Cochran <richardcoch...@gmail.com>
wrote:
> On Wed, Feb 07, 2018 at 12:39:12PM +0200, Yan Yankovskyi 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.
>
> IOW, you are using your own unpublished custom driver. Sorry, can't
> help you with that.
>
> If there is an issue with TLV handling, please reproduce it using
> standard drivers and unaltered linuxptp sources. Then, post the
> details of the configuration.
>
> > >> 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?
>
> I hope so.
>
> Thanks,
> Richard
>
--
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