Hi Miroslav, I checked your patch and tried it, but in my setup, it's failing well before the part of the code you have changed. The function "*rtnl_iface_has_vclock*" determines whether the given clock is VPHC which is failing and hence it exits during the Initialization phase itself.
[root@supermicrodu1 ~]# ./ptp4l -f /etc/sysconfig/config_ptp.conf -m 2 -H -l 6 -s -i sriov2 option slaveOnly is deprecated, please use clientOnly instead ptp4l[175.953]: selected /dev/ptp8 as PTP clock ptp4l[175.953]: port 1 (sriov2):* PHC device mismatch* ptp4l[175.953]: port 1 (sriov2): /dev/ptp8 requested, ptp2 attached ptp4l[175.953]: failed to open port sriov2 failed to create a clock Thanks, Amar B S On Wed, Nov 23, 2022 at 1:25 PM Miroslav Lichvar <mlich...@redhat.com> wrote: > On Wed, Nov 23, 2022 at 01:04:42PM +0530, Amar B S wrote: > > Hi Miroslav, > > > > May I know on which kernel version, this was working fine? > > It turned out to be a linuxptp issue. See my patch on -devel. > > -- > Miroslav Lichvar > >
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users