Re: [Linuxptp-devel] [PATCH 1/3] tsproc: Track the validity of the filtered delay explicitly.

2017-04-11 Thread Burkhard Ilsen
Yes, this works well. Also using a flag instead of a special value is more linuxptp style. Thanks, Burkhard 2017-04-08 21:20 GMT+02:00 Richard Cochran : > We will want to test whether a valid filtered delay value has been > calculated or not. However, we cannot simply

Re: [Linuxptp-devel] [PATCH 1/3] tsproc: Track the validity of the filtered delay explicitly.

2017-04-10 Thread Keller, Jacob E
> -Original Message- > From: Richard Cochran [mailto:richardcoch...@gmail.com] > Sent: Saturday, April 08, 2017 12:21 PM > To: linuxptp-devel@lists.sourceforge.net > Subject: [Linuxptp-devel] [PATCH 1/3] tsproc: Track the validity of the > filtered > delay explicit

[Linuxptp-devel] [PATCH 1/3] tsproc: Track the validity of the filtered delay explicitly.

2017-04-08 Thread Richard Cochran
We will want to test whether a valid filtered delay value has been calculated or not. However, we cannot simply test for zero since that is a legitimate possible delay value. This patch adds a flag that reflects the state of the filtered delay field. Signed-off-by: Richard Cochran