Hi Miroslav, I Hope you are doing well and thanks a lot for the response. I was looking at Xillinx sfptpd utility and the following is the working mechanism of PTP over the Linux bonded interfaces:
https://docs.xilinx.com/r/en-US/ug1602-ptp-user/PTP-over-Bonded-Interfaces *PTP over Bonded Interfaces* *sfptpd supports PTP packets over bonded interfaces in an active/standby mode. In addition, sfptpd also supports bonding over LACP (802.3ad) bonding.* *Bonding of interfaces on supported adapters employs the Linux bonding driver. Multiple ports can be included into a single bond where one port is selected as the active interface and all others are standby.* - *sfptpd will detect which port is active and which ports are passive in the bond.* - *sfptpd will discipline the high precision clock on the active port’s network adapter.* - *sfptpd will discipline the clocks of passive ports from the active adapter’s clock.* - *Via the bonding driver you can select the active port (and therefore clock).* - *A bond can include non-PTP capable ports on a supported adapter.* *sfptpd will switch to software time-stamping when a non-hardware time-stamping port becomes active.* - *A bond can include third party ports .* *sfptpd will switch to software time-stamping when a third party port becomes active.* - *A bond can include any number of ports.* *Is there any plan to include a similar kind of working mechanism for PTP over Linux Bonding for seamless switchover in case of failure of active-slave port to passive-slave port when both slaves are on different NICs with different PHCs?* Thanks and regards Shashank Varshney On Tue, Apr 11, 2023 at 12:50 PM Miroslav Lichvar <mlich...@redhat.com> wrote: > On Mon, Apr 10, 2023 at 10:49:45PM +0530, shashank varshney wrote: > > I have following queries related to functioning of PTP with > active-passive > > bonding: > > > > - Will passive/standby slave PHC synchronize itself with active slave > > PHC when active-passive NIC ports are on different PHCs? > > No, phc2sys doesn't know about the other interfaces in the bond. > > > - Does the passive NIC port's PHC is ready to take-over when the > current > > active slave NIC goes down or does this require the passive NIC's PHC > to > > synchronize first? > > The latter. It's not a seamless switch. > > -- > Miroslav Lichvar > >
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users