From: Delio Brignoli <[email protected]> Hello Richard,
Please take a look at the following patches. In the first I am adjusting the peer delay taking into account the estimated offset between the local and peer's clock. I am also resetting the ratio to 1.0 on port_nrate_initialize(), please confirm this is acceptable. Not sure why the ratio was set only on port_open(); port_nrate_initialize() is called by port_initialize() and also in port_capable() when transitioning to the non AS-capable state. The second patch introduces the min_neighbor_prop_delay configuration variable (named like this because there is no camel case equivalent in 802.1AS). No explicit default is added to the configuration files because I believe it will not be something useful to many and its default value effectively disables it. Delio Brignoli (2): port: adjust peer delay calculation using neighborRateRatio config: Add min_neighbor_prop_delay configuration variable config.c | 6 ++++++ ds.h | 1 + port.c | 14 +++++++++++++- ptp4l.8 | 4 ++++ ptp4l.c | 2 ++ 5 files changed, 26 insertions(+), 1 deletions(-) ------------------------------------------------------------------------------ Managing the Performance of Cloud-Based Applications Take advantage of what the Cloud has to offer - Avoid Common Pitfalls. Read the Whitepaper. http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
