Re: [Linuxptp-devel] [PATCH v2 2/2] port: Added TAILQ for sent delay_req

2018-03-21 Thread Anders Selhammer
Wednesday, March 21, 2018 6:48 PM >alphabetical order please Ok, I will change. I usually put it in the order it is implemented in code. > How about introducing a helper to prune the list. Added delay_req_prune and delay_req_current >You only prune the list when a new request arrives. Is

Re: [Linuxptp-devel] [PATCH v2 2/2] port: Added TAILQ for sent delay_req

2018-03-21 Thread Anders Selhammer
Wednesday, March 21, 2018 6:48 PM Thanks for comments, I will update and send in new patches /A -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org!

Re: [Linuxptp-devel] [PATCH v2 2/2] port: Added TAILQ for sent delay_req

2018-03-21 Thread Richard Cochran
On Tue, Mar 20, 2018 at 11:04:02PM +0100, Anders Selhammer wrote: > @@ -146,6 +146,7 @@ struct port { > static int port_capable(struct port *p); > static int port_is_ieee8021as(struct port *p); > static void port_nrate_initialize(struct port *p); > +static void flush_delay_req(struct port *p);

[Linuxptp-devel] [PATCH v2 2/2] port: Added TAILQ for sent delay_req

2018-03-20 Thread Anders Selhammer
In a ptp unaware network (like the telecom profile for frequency sync G.8265.1), both the RTD and the PDV can be substantially higher than in a ptp aware network. To achieve more accurate measurements, the rate may need to be configured higher to get more data and increase the chance of lucky