Re: [Linuxptp-devel] [PATCH] Don't re-arm fault clearing timer

2022-11-22 Thread Miroslav Lichvar
On Tue, Nov 22, 2022 at 08:59:48PM -0800, davidjm via Linuxptp-devel wrote: > Set the timer only when an event causes the port to transition to the > FAULTY state. Previously this was done based only on the port's current > state, and events on that port (such as RTNL messages) cause it to >

[Linuxptp-devel] [PATCH] Don't re-arm fault clearing timer

2022-11-22 Thread davidjm via Linuxptp-devel
Set the timer only when an event causes the port to transition to the FAULTY state. Previously this was done based only on the port's current state, and events on that port (such as RTNL messages) cause it to repeatedly re-arm itself, potentially never clearing. Signed-off-by: davidjm ---

[Linuxptp-devel] [PATCH] makefile: use conditional assignment for KBUILD_OUTPUT

2022-11-22 Thread changqing.li
From: Changqing Li Refer [1],from make 4.4, all variables that are marked as export will also be passed to the shell started by the shell function. use "=" will make KBUILD_OUTPUT always empty for shell function, use "?=" to make "export KBUILD_OUTPUT" in enrironment can work. [snip of 4.4

[Linuxptp-devel] [PATCH] port: Avoid faults with vclocks and PHC from command line.

2022-11-22 Thread Miroslav Lichvar
After commit afeabf3c90ed ("ptp4l: add VLAN over bond support") the TS_LABEL_CHANGED flag was set on link status changes when the used PHC index was different from the PHC index of the interface. This caused the port to be constantly switching to the faulty state when using vclocks, or a