Re: [Linuxptp-devel] [PATCH] config: allow fractional freq_est_interval

2022-12-04 Thread Richard Cochran
On Thu, Oct 27, 2022 at 03:29:40AM -0700, Jacob Keller wrote: > The freq_est_interval value is documented as the time interval over which > to estimate the ratio between the local and peer clock frequencies when > operating in free_running mode. > > It is documented as a power of two in seconds, s

Re: [Linuxptp-devel] [PATCH v2] phc_ctl: add get_pins_cfg command to display pin functions

2022-12-04 Thread Richard Cochran
On Wed, Nov 02, 2022 at 01:26:45PM -0700, Jacob Keller wrote: > Add a new function to phc_ctl to display the devices pin configuration > data. First, obtain the device capabilities to determine the number of > pins. Then, for each pin, print the name, function, and channel > information. > > Signe

Re: [Linuxptp-devel] [PATCH v3] ptp4l: Add profile_id configuration support for G.8275.1 and G.8275.2.

2022-12-04 Thread Richard Cochran
On Wed, Nov 02, 2022 at 01:06:45PM -0400, izunna.otiji...@renesas.com wrote: > From: Izunna Otiji > > Signed-off-by: Izunna Otiji Applied. Thanks, Richard ___ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforg

Re: [Linuxptp-devel] [PATCH] unciast_client: trigger BMCA upon CANCEL receive

2022-12-04 Thread Richard Cochran
On Fri, Nov 04, 2022 at 10:28:37AM -0700, Vadim Fedorenko via Linuxptp-devel wrote: > Cancel messages don't trigger BMCA leaving best GM select for the port. > In case when new Announces mesages are the same as they were before > Cancel, BMCA algorithm will select the same GM and the stae machine

Re: [Linuxptp-devel] [PATCH] unicast: local priority for PTPv2 unicast GM

2022-12-04 Thread Richard Cochran
On Fri, Nov 11, 2022 at 07:53:46AM -0800, Vadim Fedorenko via Linuxptp-devel wrote: > The latest proposal for DC PTP Profile[1] provides logic to make load > balancing of unicast clients when running multiple GMs in active-active > mode. This patch adds this logic to ptp4l using already existing >

Re: [Linuxptp-devel] [PATCH] config: Fix -Wformat-truncation warnings.

2022-12-04 Thread Richard Cochran
On Mon, Nov 14, 2022 at 01:06:11PM +0100, Miroslav Lichvar wrote: > Check the snprintf() return value in order to avoid the following > warnings from gcc: > > config.c: In function ‘config_create’: > config.c:921:52: warning: ‘%s’ directive output may be truncated writing up > to 9679 bytes into

Re: [Linuxptp-devel] [PATCH] bmca: Correctly handle PortNumber in PortId comparison

2022-12-04 Thread Richard Cochran
On Fri, Nov 18, 2022 at 08:43:19AM +0100, Luigi Mantellini wrote: > From: Luigi Mantellini > > The PortId is defined as a couple of ClockId (an 8-bytes opaque) and the > PortNumber (UInterger16). > > The current implementation compares the entire PortId, consisting of ClockId > and PortNumber,

Re: [Linuxptp-devel] [PATCH v2] servo: stop rounding initial frequency to nearest ppb

2022-12-04 Thread Richard Cochran
On Mon, Nov 28, 2022 at 02:43:00PM -0800, Jacob Keller wrote: > The interface to the Linux kernel for adjusting clock frequencies is > specified in scaled parts per million, where the frequency field is parts > per million with a 16 bit binary fractional field. (Equivalently it is > parts per ~65 b

Re: [Linuxptp-devel] [PATCH 1/1] clock: Fix stale clock parent pid usage after best master change

2022-12-04 Thread Geva, Erez
On Fri, 2022-12-02 at 15:33 -0500, vincent.cheng...@renesas.com wrote: > From: Vincent Cheng > > In handle_state_decision_event(), the update of the clock's parent > pid after > best master change is non-deterministic. It depends on the port > processing > order and bmc_state_decision() results.