Re: [PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Sergei Shtylyov
Hello. On 09/14/2013 12:03 PM, Dong Zhu wrote: This patch add a method into testptp.c to measure the time offset between phc and system clock through the ioctl PTP_SYS_OFFSET. Signed-off-by: Dong Zhu --- Documentation/ptp/testptp.c | 40 ++-- 1 file

Re: [PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Richard Cochran
On Sat, Sep 14, 2013 at 04:03:06PM +0800, Dong Zhu wrote: > This patch add a method into testptp.c to measure the time offset > between phc and system clock through the ioctl PTP_SYS_OFFSET. > This is a nice addition to the testptp program. I do have a few comments, below. First off, the

[PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Dong Zhu
This patch add a method into testptp.c to measure the time offset between phc and system clock through the ioctl PTP_SYS_OFFSET. Signed-off-by: Dong Zhu --- Documentation/ptp/testptp.c | 40 ++-- 1 file changed, 38 insertions(+), 2 deletions(-) diff --git

[PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Dong Zhu
This patch add a method into testptp.c to measure the time offset between phc and system clock through the ioctl PTP_SYS_OFFSET. Signed-off-by: Dong Zhu bluezhud...@gmail.com --- Documentation/ptp/testptp.c | 40 ++-- 1 file changed, 38 insertions(+), 2

Re: [PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Richard Cochran
On Sat, Sep 14, 2013 at 04:03:06PM +0800, Dong Zhu wrote: This patch add a method into testptp.c to measure the time offset between phc and system clock through the ioctl PTP_SYS_OFFSET. This is a nice addition to the testptp program. I do have a few comments, below. First off, the subject

Re: [PATCH] ptp: measure the time offset between PHC and system clock

2013-09-14 Thread Sergei Shtylyov
Hello. On 09/14/2013 12:03 PM, Dong Zhu wrote: This patch add a method into testptp.c to measure the time offset between phc and system clock through the ioctl PTP_SYS_OFFSET. Signed-off-by: Dong Zhu bluezhud...@gmail.com --- Documentation/ptp/testptp.c | 40