On Wed, Sep 05, 2018 at 08:42:50PM +0000, Spruyt, Randy wrote:
> Yeah, latency is definitely important here. We know it'll be on
> /dev/ptp0. Thanks for the insight on the two approaches. Sorry if
> this is a bit elementary, but I'm trying to better understand how
> you gain access to the PHC handle to make the gettime64 call from
> within a kernel module.

We don't have an in kernel interface for the PHC, and that is on
purpose.  The fact that you are trying to do this is a code smell.
Probably you are trying to do something the hard way, the wrong way,
or both.

But of course you can hack something to get in-kernel access if you
want to...

Thanks,
Richard


------------------------------------------------------------------------------
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

Reply via email to