[Linuxptp-users] HWTSTAMP_TX_ONESTEP_SYNC vs HWTSTAMP_TX_ON
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Ledda W. E. <Wil...@it...> - 2013-07-29 08:52:25
|
Hi all, This discussion is derived from a previous one, but because it was going a little out of scope, I think is better to create a new one. I'm using the Intel i350 with and the package release distributed with RHEL 6.4. This is the release that I have. linuxptp.x86_64 0-0.6.20121114gite6bbbb.el6 @rhel-x86_64-server-6 RHEL 6.4 is distributed with the base kernel 2.6.32-358.2.1. With this kernel I'm not able to compile the latest version 1.2 since the HWTSTAMP_TX_ONESTEP_SYNC is not defined in net_tstamp.h (kernel-headers are installed). To use the latest version I have to install the MRG-R extension to get the 3.6.11-rt28.20 real time kernel. My question is: which is the real difference between HWTSTAMP_TX_ON and HWTSTAMP_TX_ONESTEP_SYNC? I mean, what problems could I have if I use a modified version without the HWTSTAMP_TX_ONESTEP_SYNC support? I need to deploy a system that works preferably with or without the real-time kernel, and I would use the latest version of your package. Thanks for the help Reagrds William -----Original Message----- From: Richard Cochran [mailto:ric...@gm...] Sent: 27 July 2013 20:49 To: Ledda William EXT Cc: lin...@li... Subject: Re: [Linuxptp-users] phc2sys trouble On Fri, Jul 26, 2013 at 02:27:53PM +0000, Ledda William EXT wrote: > I'm using the Intel i350 (not the i210) and the package release distributed with RHEL 6.4. > > linuxptp.x86_64 0-0.6.20121114gite6bbbb.el6 @rhel-x86_64-server-6 > > I know that it is not last one. I have tried to compile the version > 1.2 but I can't since the HWTSTAMP_TX_ONESTEP_SYNC is not defined in > net_tstamp.h If you install the "kernel header" package that goes with your kernel, then you should be able to compile ptp4l from source. Thanks, Richard |