On Fri, Apr 08, 2022 at 09:57:44AM +0800, Hangbin Liu wrote:
> With this it will try update ts_label by force and do interface_get_tsinfo()
> only once.

+ 1
 
> BTW, I just found this is the same situation with what we discussed about
> the "#ifdef HWTSTAMP_FLAG_BONDED_PHC_INDEX" issue in PATCHv2. I only thought
> about optimize the code running path(as the need of updating ts_label is
> unlikely) but forgot the code readability.

clock_create is slow path, runs only at start, and doesn't need optimization.

Thanks,
Richard


_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to