no, i am not using hybrid_e2e option.
just two port, port 0 as master and port 1 as slave (ordinary clock mode),
and they are connected with cable.
run ptp4l on port 0 and run another ptp4l on port 1,  but port 0 didn't
send delay response message.

Thanks
Alex

Miroslav Lichvar <mlich...@redhat.com> 于2022年11月23日周三 22:12写道:

> On Wed, Nov 23, 2022 at 08:41:36PM +0800, Hamilton Alex wrote:
> > Hi, Miroslav:
> > Thank you for your reply!
> > but i didn't understand, on a single system, port 0 as master and port 1
> as
> > slave, and there is cable connect port 0 and port 1 for pkt
> communication.
> > why ptp protocol doesn't work this way?
>
> Are you using the hybrid_e2e option?
>
> This is not an issue with the protocol. As I understand it, the kernel
> will normally not send or accept a unicast packet to itself over a
> real network interface. It has the loopback interface for that.
>
> One way to get around that is to use multiple network namespaces.
>
> --
> Miroslav Lichvar
>
>
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to