On Thu, Mar 24, 2022 at 02:19:51PM +0100, Miroslav Lichvar wrote: > When probing support for a PTP_SYS_OFFSET ioctl, assume errors other > than EOPNOTSUPP and EINVAL are temporary errors (some drivers are known > to return with EBUSY or EIO).
If that is the case, then the code should retry only on EBUSY or EIO. > Try the ioctl up to 100 times before > giving up on it to make the detection more reliable. Why 100? Better to use time based retry method. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list Linuxptp-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-devel